Adds custom locale name for Português

This commit is contained in:
rgarcia
2016-10-31 11:14:05 +01:00
parent aeec264b8b
commit c0f400a4d9
3 changed files with 12 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
<% I18n.available_locales.map do |loc| %>
<option <%= "selected" if loc == I18n.locale %>
value="<%= current_path_with_query_params(locale: loc) %>">
<%= I18n.t("locale", locale: loc) %>
<%= name_for_locale(loc) %>
</option>
<% end %>
</select>