0
0
Fork 0

Address check-i18n warnings (#23313)

* Address check-i18n warnings

* Add language names to language helpers
This commit is contained in:
Nick Schonning 2023-02-01 20:14:19 -05:00 committed by GitHub
parent c6ef56fd5e
commit 6a5e447753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 1189 deletions

View file

@ -69,12 +69,14 @@ module Mastodon
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
config.i18n.available_locales = [
:af,
:an,
:ar,
:ast,
:be,
:bg,
:bn,
:br,
:bs,
:ca,
:ckb,
:co,
@ -84,6 +86,7 @@ module Mastodon
:de,
:el,
:en,
:'en-GB',
:eo,
:es,
:'es-AR',
@ -92,7 +95,9 @@ module Mastodon
:eu,
:fa,
:fi,
:fo,
:fr,
:'fr-QC',
:fy,
:ga,
:gd,
@ -103,6 +108,7 @@ module Mastodon
:hu,
:hy,
:id,
:ig,
:io,
:is,
:it,
@ -113,16 +119,20 @@ module Mastodon
:kn,
:ko,
:ku,
:kw,
:la,
:lt,
:lv,
:mk,
:ml,
:mr,
:ms,
:my,
:nl,
:nn,
:no,
:oc,
:pa,
:pl,
:'pt-BR',
:'pt-PT',
@ -130,6 +140,7 @@ module Mastodon
:ru,
:sa,
:sc,
:sco,
:si,
:sk,
:sl,
@ -137,10 +148,14 @@ module Mastodon
:sr,
:'sr-Latn',
:sv,
:szl,
:ta,
:tai,
:te,
:th,
:tr,
:tt,
:ug,
:uk,
:ur,
:vi,