Redo the translation system (steal from tabi)
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ trans(key="tags", lang=lang) }}</h1>
|
||||
<small>{{ terms | length }} {{ trans(key="tags_in_total", lang=lang) }}</small>
|
||||
{% set number_of_tags = terms | length %}
|
||||
<h1>{{ macros_translate::translate(key="tags", default="Tags", language_strings=language_strings) }}</h1>
|
||||
<small>{{ terms | length }} {{ macros_translate::translate(key="tags_in_total", number=number_of_tags, default="$NUMBER tags in total", language_strings=language_strings) }}
|
||||
</small>
|
||||
<br />
|
||||
<ul class="tags">
|
||||
{% for tag in terms %}
|
||||
|
Reference in New Issue
Block a user