From 2d0788c3981328f1fbd9de4274d2925bf9586e03 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 22 May 2023 22:39:16 -0700 Subject: Add multi-lingual Support --- templates/categories/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/categories/list.html') 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 %}
-

{{ terms | length }} Categories

+

{{ terms | length }} {%- if lang != config.default_language %} {{ trans(key="Categories" | safe, lang=lang) }} {% else %} Categories {% endif %}

{% for term in terms %} [{{ term.name }}] {% endfor %}

{%- for term in terms %} -- cgit v1.3.1