about summary refs log tree commit diff
path: root/app/views/admin/trends/links
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-02-09 04:15:38 +0100
committerGitHub <noreply@github.com>2022-02-09 04:15:38 +0100
commit3aebe711fd54d75c1ea35e65a5dc342e78508d15 (patch)
treedfcf0267428ea30cce194e58d201d5cabcc1e0cc /app/views/admin/trends/links
parentfd3a45e3482e86dad3c1dfc069144864c4ff0b0b (diff)
Change languages to be listed under standard instead of native name in admin UI (#17485)
Diffstat (limited to 'app/views/admin/trends/links')
-rw-r--r--app/views/admin/trends/links/_preview_card.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/trends/links/_preview_card.html.haml b/app/views/admin/trends/links/_preview_card.html.haml
index b88c1be2f..d88e06bfd 100644
--- a/app/views/admin/trends/links/_preview_card.html.haml
+++ b/app/views/admin/trends/links/_preview_card.html.haml
@@ -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 })