summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-27 01:43:09 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-28 16:47:32 -0400
commitcea7881749e85b4ba5c8444e738d42a27d91244f (patch)
tree390b986bb82119395568db2659dd5ca6e86c22be
parent98187303d77c41fa94430fa1302f071041c58bfc (diff)
categories theme: i18n some strings
-rw-r--r--templates/themes/categories/news.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/themes/categories/news.html b/templates/themes/categories/news.html
index 93eb5b72..b3bea2b1 100644
--- a/templates/themes/categories/news.html
+++ b/templates/themes/categories/news.html
@@ -15,16 +15,16 @@
<div class="ban">
{% 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 %}
{% for entry in news %}
<h2 id="{{ entry.id }}">
{% if entry.subject %}
{{ entry.subject }}
{% else %}
- <em>no subject</em>
+ <em>{% trans %}no subject{% endtrans %}</em>
{% 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>
<p>{{ entry.body }}</p>
{% endfor %}