diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-01 20:14:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 10:14:19 +0900 |
commit | 6a5e447753095606e42cc3899887ba7fae77a0e8 (patch) | |
tree | 73df2aa6eefff5ea3be72ea8e4ca5bde43f3dc60 /app/helpers | |
parent | c6ef56fd5e8f2648a256ae1479ddc28d0164c602 (diff) |
Address check-i18n warnings (#23313)
* Address check-i18n warnings * Add language names to language helpers
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/languages_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/languages_helper.rb b/app/helpers/languages_helper.rb index bb87dd596..bb35ce08c 100644 --- a/app/helpers/languages_helper.rb +++ b/app/helpers/languages_helper.rb @@ -199,6 +199,8 @@ module LanguagesHelper sco: ['Scots', 'Scots'].freeze, sma: ['Southern Sami', 'Åarjelsaemien Gïele'].freeze, smj: ['Lule Sami', 'Julevsámegiella'].freeze, + szl: ['Silesian', 'ślůnsko godka'].freeze, + tai: ['Tai', 'ภาษาไท or ภาษาไต'].freeze, tok: ['Toki Pona', 'toki pona'].freeze, zba: ['Balaibalan', 'باليبلن'].freeze, zgh: ['Standard Moroccan Tamazight', 'ⵜⴰⵎⴰⵣⵉⵖⵜ'].freeze, @@ -210,8 +212,10 @@ module LanguagesHelper # names, but for some translations, we need the names of the # regional variants specifically REGIONAL_LOCALE_NAMES = { + 'en-GB': 'English (British)', 'es-AR': 'Español (Argentina)', 'es-MX': 'Español (México)', + 'fr-QC': 'Français (Canadien)', 'pt-BR': 'Português (Brasil)', 'pt-PT': 'Português (Portugal)', 'sr-Latn': 'Srpski (latinica)', |