]> git.0d.be Git - panikdb.git/commitdiff
templates: mark newsitems page texts for translation
authorFrédéric Péters <fpeters@0d.be>
Sat, 22 May 2021 14:58:37 +0000 (16:58 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 22 May 2021 14:58:37 +0000 (16:58 +0200)
panikdb/templates/emissions/newscategory_list.html

index b8488c9f9f7c6003584ad65cb1142882b4fc5847..0d7c024ba34d69b96c0cdb17995486441891b0ab 100644 (file)
@@ -1,19 +1,20 @@
 {% extends "base.html" %}
+{% load i18n %}
 
 {% block more-user-links %}
 {{ block.super }}
 {% if perms.emissions.add_newsitem %}
-<a class="button" href="{% url 'newsitem-add' %}">Ajouter une nouvelle actu</a>
+<a class="button" href="{% url 'newsitem-add' %}">{% trans "Add a newsitem" %}</a>
 {% endif %}
 {% endblock %}
 
 
 {% block appbar %}
-<h2>Actus</h2>
+<h2>{% trans "Newsitems" %}</h2>
 {% if user.is_staff %}
 <span class="actions">
-<a href="{% url 'emission-list' %}">Toutes les émissions</a>
-<a href="{% url 'news-list' %}">Toutes les actus</a>
+<a href="{% url 'emission-list' %}">{% trans "All emissions" %}</a>
+<a href="{% url 'news-list' %}">{% trans "All newsitems" %}</a>
 </span>
 {% endif %}
 {% endblock %}
@@ -34,7 +35,7 @@
 {% endfor %}
 
 <div class="newsitems section">
-<h3>Actus non rangées</h3>
+<h3>{% trans "Unsorted newsitems" %}</h3>
 
 <ul class="newsitem-list">
 {% for newsitem in unsorted_newsitems %}