From caa08a6379116703b510c457dc5427e1c9b1735a Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Sat, 2 Oct 2021 17:38:06 +0200 Subject: [PATCH] Disable locales with less than 50% of strings translated --- src/invidious/helpers/i18n.cr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/invidious/helpers/i18n.cr b/src/invidious/helpers/i18n.cr index a65ae00b..a90f3f19 100644 --- a/src/invidious/helpers/i18n.cr +++ b/src/invidious/helpers/i18n.cr @@ -1,6 +1,6 @@ LOCALES = { "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 "da" => load_locale("da"), # Danish "de" => load_locale("de"), # German @@ -8,7 +8,7 @@ LOCALES = { "en-US" => load_locale("en-US"), # English (US) "eo" => load_locale("eo"), # Esperanto "es" => load_locale("es"), # Spanish - "eu" => load_locale("eu"), # Basque + # "eu" => load_locale("eu"), # Basque [Incomplete] "fa" => load_locale("fa"), # Persian "fi" => load_locale("fi"), # Finnish "fr" => load_locale("fr"), # French @@ -29,10 +29,10 @@ LOCALES = { "pt-PT" => load_locale("pt-PT"), # Portuguese (Portugal) "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) + # "si" => load_locale("si"), # Sinhala [Incomplete] + # "sk" => load_locale("sk"), # Slovak [Incomplete] + # "sr" => load_locale("sr"), # Serbian [Incomplete] + # "sr_Cyrl" => load_locale("sr_Cyrl"), # Serbian (cyrillic) [Incomplete] "sv-SE" => load_locale("sv-SE"), # Swedish "tr" => load_locale("tr"), # Turkish "uk" => load_locale("uk"), # Ukrainian