Add new and missing locales to i18n.cr

New locales: lt, vi
Missing: bn_BD, cs, da, eu, hu-HU, si, sk, sr, sr_Cyrl
This commit is contained in:
Samantaz Fox 2021-07-12 19:41:35 +02:00 committed by GitHub
parent 0dd710c195
commit c0e8feb66e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,31 +1,42 @@
LOCALES = { LOCALES = {
"ar" => load_locale("ar"), "ar" => load_locale("ar"), # Arabic
"de" => load_locale("de"), "bn_BD" => load_locale("bn_BD"), # Bengali (Bangladesh)
"el" => load_locale("el"), "cs" => load_locale("cs"), # Czech
"en-US" => load_locale("en-US"), "da" => load_locale("da"), # Danish
"eo" => load_locale("eo"), "de" => load_locale("de"), # German
"es" => load_locale("es"), "el" => load_locale("el"), # Greek
"fa" => load_locale("fa"), "en-US" => load_locale("en-US"), # English (US)
"fi" => load_locale("fi"), "eo" => load_locale("eo"), # Esperanto
"fr" => load_locale("fr"), "es" => load_locale("es"), # Spanish
"he" => load_locale("he"), "eu" => load_locale("eu"), # Basque
"hr" => load_locale("hr"), "fa" => load_locale("fa"), # Persian
"id" => load_locale("id"), "fi" => load_locale("fi"), # Finnish
"is" => load_locale("is"), "fr" => load_locale("fr"), # French
"it" => load_locale("it"), "he" => load_locale("he"), # Hebrew
"ja" => load_locale("ja"), "hr" => load_locale("hr"), # Croatian
"nb-NO" => load_locale("nb-NO"), "hu-HU" => load_locale("hu-HU"), # Hungarian
"nl" => load_locale("nl"), "id" => load_locale("id"), # Indonesian
"pl" => load_locale("pl"), "is" => load_locale("is"), # Icelandic
"pt-BR" => load_locale("pt-BR"), "it" => load_locale("it"), # Italian
"pt-PT" => load_locale("pt-PT"), "ja" => load_locale("ja"), # Japanese
"ro" => load_locale("ro"), "lt" => load_locale("lt"), # Lithuanian
"ru" => load_locale("ru"), "nb-NO" => load_locale("nb-NO"), # Norwegian Bokmål
"sv-SE" => load_locale("sv-SE"), "nl" => load_locale("nl"), # Dutch
"tr" => load_locale("tr"), "pl" => load_locale("pl"), # Polish
"uk" => load_locale("uk"), "pt-BR" => load_locale("pt-BR"), # Portuguese (Brazil)
"zh-CN" => load_locale("zh-CN"), "pt-PT" => load_locale("pt-PT"), # Portuguese (Portugal)
"zh-TW" => load_locale("zh-TW"), "ro" => load_locale("ro"), # Romanian
"ru" => load_locale("ru"), # Russian
"si" => load_locale("si"), # Sinhala
"sk" => load_locale("sk"), # Slovak
"sr" => load_locale("sr"), # Serbian
"sr_Cyrl" => load_locale("sr_Cyrl"), # Serbian (cyrillic)
"sv-SE" => load_locale("sv-SE"), # Swedish
"tr" => load_locale("tr"), # Turkish
"uk" => load_locale("uk"), # Ukrainian
"vi" => load_locale("vi"), # Vietnamese
"zh-CN" => load_locale("zh-CN"), # Chinese (Simplified)
"zh-TW" => load_locale("zh-TW"), # Chinese (Traditional)
} }
def load_locale(name) def load_locale(name)