Disable locales with less than 50% of strings translated

This commit is contained in:
Samantaz Fox 2021-10-02 17:38:06 +02:00 committed by GitHub
parent cd02078e26
commit caa08a6379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
LOCALES = { LOCALES = {
"ar" => load_locale("ar"), # Arabic "ar" => load_locale("ar"), # Arabic
"bn_BD" => load_locale("bn_BD"), # Bengali (Bangladesh) # "bn_BD" => load_locale("bn_BD"), # Bengali (Bangladesh) [Incomplete]
"cs" => load_locale("cs"), # Czech "cs" => load_locale("cs"), # Czech
"da" => load_locale("da"), # Danish "da" => load_locale("da"), # Danish
"de" => load_locale("de"), # German "de" => load_locale("de"), # German
@ -8,7 +8,7 @@ LOCALES = {
"en-US" => load_locale("en-US"), # English (US) "en-US" => load_locale("en-US"), # English (US)
"eo" => load_locale("eo"), # Esperanto "eo" => load_locale("eo"), # Esperanto
"es" => load_locale("es"), # Spanish "es" => load_locale("es"), # Spanish
"eu" => load_locale("eu"), # Basque # "eu" => load_locale("eu"), # Basque [Incomplete]
"fa" => load_locale("fa"), # Persian "fa" => load_locale("fa"), # Persian
"fi" => load_locale("fi"), # Finnish "fi" => load_locale("fi"), # Finnish
"fr" => load_locale("fr"), # French "fr" => load_locale("fr"), # French
@ -29,10 +29,10 @@ LOCALES = {
"pt-PT" => load_locale("pt-PT"), # Portuguese (Portugal) "pt-PT" => load_locale("pt-PT"), # Portuguese (Portugal)
"ro" => load_locale("ro"), # Romanian "ro" => load_locale("ro"), # Romanian
"ru" => load_locale("ru"), # Russian "ru" => load_locale("ru"), # Russian
"si" => load_locale("si"), # Sinhala # "si" => load_locale("si"), # Sinhala [Incomplete]
"sk" => load_locale("sk"), # Slovak # "sk" => load_locale("sk"), # Slovak [Incomplete]
"sr" => load_locale("sr"), # Serbian # "sr" => load_locale("sr"), # Serbian [Incomplete]
"sr_Cyrl" => load_locale("sr_Cyrl"), # Serbian (cyrillic) # "sr_Cyrl" => load_locale("sr_Cyrl"), # Serbian (cyrillic) [Incomplete]
"sv-SE" => load_locale("sv-SE"), # Swedish "sv-SE" => load_locale("sv-SE"), # Swedish
"tr" => load_locale("tr"), # Turkish "tr" => load_locale("tr"), # Turkish
"uk" => load_locale("uk"), # Ukrainian "uk" => load_locale("uk"), # Ukrainian