Change languages to be listed under standard instead of native name in admin UI (#17485)

This commit is contained in:
Eugen Rochko
2022-02-09 04:15:38 +01:00
committed by GitHub
parent fd3a45e348
commit 3aebe711fd
9 changed files with 29 additions and 13 deletions

View File

@ -13,7 +13,7 @@
- if preview_card.language.present?
= human_locale(preview_card.language)
= standard_locale_name(preview_card.language)
= t('admin.trends.links.shared_by_over_week', count: preview_card.history.reduce(0) { |sum, day| sum + day.accounts })