1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2025-04-29 08:20:58 +00:00

lower_thirds: always use event locale when localizing text

This commit is contained in:
Franzi 2022-11-22 19:19:11 +01:00
parent f618654ee0
commit d42a2744d0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 13 additions and 5 deletions

View file

@ -18,11 +18,11 @@
hide itself.
</p>
{% if request.event.rooms %}
{% if localized_rooms %}
<h3>{% trans "room list" %}</h3>
<ul>
{% for room in request.event.rooms.all %}
<li><a href="{% url 'plugins:pretalx_broadcast_tools:lowerthirds' request.event.slug %}#{{ room.name }}">{{ room.name }}</a></li>
{% for room in localized_rooms %}
<li><a href="{% url 'plugins:pretalx_broadcast_tools:lowerthirds' request.event.slug %}#{{ room }}">{{ room }}</a></li>
{% endfor %}
</ul>
{% endif %}