diff options
| author | Jieiku | 2023-09-26 18:46:53 -0700 |
|---|---|---|
| committer | Jieiku | 2023-09-26 18:46:53 -0700 |
| commit | f5d32f6032ea172d0f1076b1fa04c96c9205285b (patch) | |
| tree | cb87b51826639c73a9f2055b011445819329263a /templates/tags | |
| parent | 0e3727b97a6297ac9cdbbf3753a301c182e356d6 (diff) | |
| download | abridge-f5d32f6032ea172d0f1076b1fa04c96c9205285b.tar.gz abridge-f5d32f6032ea172d0f1076b1fa04c96c9205285b.tar.bz2 abridge-f5d32f6032ea172d0f1076b1fa04c96c9205285b.zip | |
i18n translation system refactor
Diffstat (limited to 'templates/tags')
| -rw-r--r-- | templates/tags/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html index 4f53a58..8ed7b5c 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -20,7 +20,7 @@ {%- block content %} <div> <div class="c"> - <h1>{{ terms | length }} {%- if lang != config.default_language %} {{ trans(key="Tags" | safe, lang=lang) }} {% else %} Tags {% endif %}</h1> + <h1>{{ terms | length }} {{ macros::translate(key="Tags", default="Tags", 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 %} |
