forked from zaclys/searxng
[enh] displaying language_code in preferences
This commit is contained in:
parent
7c031a3ea6
commit
c075420eb7
|
@ -17,7 +17,7 @@
|
||||||
<select name='language'>
|
<select name='language'>
|
||||||
<option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Automatic') }}</option>
|
<option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Automatic') }}</option>
|
||||||
{% for lang_id,lang_name,country_name in language_codes %}
|
{% for lang_id,lang_name,country_name in language_codes %}
|
||||||
<option value={{ lang_id }} {% if lang_id == current_language %}selected="selected"{% endif %}>{{ lang_name}} ({{ country_name }})</option>
|
<option value={{ lang_id }} {% if lang_id == current_language %}selected="selected"{% endif %}>{{ lang_name}} ({{ country_name }}) - {{ lang_id }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue