aboutsummaryrefslogtreecommitdiff
path: root/templates/categories
diff options
context:
space:
mode:
authorJieiku2023-05-22 22:39:16 -0700
committerJieiku2023-05-22 22:39:16 -0700
commit2d0788c3981328f1fbd9de4274d2925bf9586e03 (patch)
treecee4b3c0a624ce79fcc14b2c57789a95578e4ea5 /templates/categories
parent6dcec618d0ff0a2270f787f62267a0622275c69d (diff)
downloadabridge-2d0788c3981328f1fbd9de4274d2925bf9586e03.tar.gz
abridge-2d0788c3981328f1fbd9de4274d2925bf9586e03.tar.bz2
abridge-2d0788c3981328f1fbd9de4274d2925bf9586e03.zip
Add multi-lingual Support
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 1ded228..a237591 100644
--- a/templates/categories/list.html
+++ b/templates/categories/list.html
@@ -18,7 +18,7 @@
{%- block content %}
<div>
<div class="c">
- <h1>{{ terms | length }} Categories</h1>
+ <h1>{{ terms | length }} {%- if lang != config.default_language %} {{ trans(key="Categories" | safe, lang=lang) }} {% else %} Categories {% endif %}</h1>
<p>{% for term in terms %} [<a href="#{{ term.name }}">{{ term.name }}</a>] {% endfor %}</p>
</div>
{%- for term in terms %}