Avoid to use an hash map in translations
This commit is contained in:
parent
03ebbb74fa
commit
91ab379718
10 changed files with 334 additions and 237 deletions
|
|
@ -21,7 +21,7 @@
|
|||
{% endmatch %}
|
||||
|
||||
<select id="select-website-language">
|
||||
{% for lang in Tr::available_languages() %}
|
||||
{% for lang in translation::available_languages() %}
|
||||
<option value="{{ lang.0 }}"
|
||||
{%+ if tr.current_lang_code() == lang.0 %}
|
||||
selected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue