Skip to content

Commit

Permalink
Display language chooser language name uppercase.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Dec 27, 2023
1 parent b229bc3 commit a29ec42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<select name="language" onchange="this.form.submit();">
{% for code, language in LANGUAGES %}
<option value="{{ code }}" {% if code == LANGUAGE_CODE %}selected{% endif %}>
{% if theme.language_chooser_display == 'code' %}{{ code|upper }}{% elif theme.language_chooser_display == 'name' %}{{ language }}{% endif %}
{% if theme.language_chooser_display == 'code' %}{{ code|upper }}{% elif theme.language_chooser_display == 'name' %}{{ language|upper }}{% endif %}
</option>
{% endfor %}
</select>
Expand Down

0 comments on commit a29ec42

Please sign in to comment.