Fix localization of cold-start follow recommendations (#17479)

This commit is contained in:
Eugen Rochko
2022-02-08 01:53:49 +01:00
committed by GitHub
parent 52c1b86964
commit 35850f8195
3 changed files with 19 additions and 14 deletions

View File

@ -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| [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| [human_locale(key), key]}, @language)
.filter-subset
%strong= t('admin.follow_recommendations.status')