Change languages to be listed under standard instead of native name in admin UI (#17485)
This commit is contained in:
parent
fd3a45e348
commit
3aebe711fd
9 changed files with 29 additions and 13 deletions
|
@ -13,7 +13,7 @@
|
|||
.filter-subset.filter-subset--with-select
|
||||
%strong= t('admin.follow_recommendations.language')
|
||||
.input.select.optional
|
||||
= select_tag :language, options_for_select(I18n.available_locales.map { |key| key.to_s.split(/[_-]/).first.to_sym }.uniq.map { |key| [human_locale(key), key]}, @language)
|
||||
= select_tag :language, options_for_select(I18n.available_locales.map { |key| key.to_s.split(/[_-]/).first.to_sym }.uniq.map { |key| [standard_locale_name(key), key]}, @language)
|
||||
|
||||
.filter-subset
|
||||
%strong= t('admin.follow_recommendations.status')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue