mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 10:18:24 +00:00
parent
9966c21c6b
commit
301444563b
@ -121,8 +121,8 @@
|
|||||||
<div class="pure-control-group">
|
<div class="pure-control-group">
|
||||||
<label for="locale"><%= translate(locale, "preferences_locale_label") %></label>
|
<label for="locale"><%= translate(locale, "preferences_locale_label") %></label>
|
||||||
<select name="locale" id="locale">
|
<select name="locale" id="locale">
|
||||||
<% LOCALES.each_key do |option| %>
|
<% LOCALES_LIST.each do |iso_name, full_name| %>
|
||||||
<option value="<%= option %>" <% if preferences.locale == option %> selected <% end %>><%= option %></option>
|
<option value="<%= iso_name %>" <% if preferences.locale == iso_name %> selected <% end %>><%= HTML.escape(full_name) %></option>
|
||||||
<% end %>
|
<% end %>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user