Browse Source

categories theme: i18n some strings

pull/40/head
czaks 11 years ago
parent
commit
b31487b53d
  1. 6
      templates/themes/categories/news.html

6
templates/themes/categories/news.html

@ -15,16 +15,16 @@
<div class="ban"> <div class="ban">
{% if news|count == 0 %} {% if news|count == 0 %}
<p style="text-align:center" class="unimportant">(No news to show.)</p> <p style="text-align:center" class="unimportant">{% trans %}(No news to show.){% endtrans %}</p>
{% else %} {% else %}
{% for entry in news %} {% for entry in news %}
<h2 id="{{ entry.id }}"> <h2 id="{{ entry.id }}">
{% if entry.subject %} {% if entry.subject %}
{{ entry.subject }} {{ entry.subject }}
{% else %} {% else %}
<em>no subject</em> <em>{% trans %}no subject{% endtrans %}</em>
{% endif %} {% endif %}
<span class="unimportant"> &mdash; by {{ entry.name }} at {{ entry.time|date(config.post_date) }}</span> <span class="unimportant"> &mdash; {% trans %}by{% endtrans %} {{ entry.name }} {% trans %}at{% endtrans %} {{ entry.time|date(config.post_date) }}</span>
</h2> </h2>
<p>{{ entry.body }}</p> <p>{{ entry.body }}</p>
{% endfor %} {% endfor %}

Loading…
Cancel
Save