Feature Request: Localization for trending (move TRENDING_REGIONS to i18n.cr as CONTENT_REGIONS)

This commit is contained in:
Dmitry Sandalov
2021-10-21 22:30:49 +03:00
parent d9c58c4837
commit 1d78d67af3
3 changed files with 13 additions and 3 deletions

View File

@@ -130,7 +130,7 @@
<div class="pure-control-group">
<label for="region"><%= translate(locale, "Content country: ") %></label>
<select name="region" id="region">
<% TRENDING_REGIONS.each do |option| %>
<% CONTENT_REGIONS.each do |option| %>
<option value="<%= option %>" <% if preferences.region == option %> selected <% end %>><%= option %></option>
<% end %>
</select>