aboutsummaryrefslogtreecommitdiff
path: root/templates/categories
diff options
context:
space:
mode:
Diffstat (limited to 'templates/categories')
-rw-r--r--templates/categories/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/categories/list.html b/templates/categories/list.html
index 641fcc4..506613c 100644
--- a/templates/categories/list.html
+++ b/templates/categories/list.html
@@ -20,7 +20,7 @@
{%- block content %}
<div>
<div class="c">
- <h1>{{ terms | length }} {%- if lang != config.default_language %} {{ trans(key="Categories" | safe, lang=lang) }} {% else %} Categories {% endif %}</h1>
+ <h1>{{ terms | length }} {{ macros::translate(key="Categories", default="Categories", i18n=i18n) }} </h1>
<p>{% for term in terms %} [<a href="#{{ term.name }}">{{ term.name }}</a>]<sup>{{ term.pages | length }}</sup> {% endfor %}</p>
</div>
{%- for term in terms %}