Invidious is an alternative front-end to YouTube
Add support for pt-BR
Omar Roth0e844edacb45
diff --git a/locales/nb_NO.json b/locales/nb-NO.jsonsimilarity index 100%rename from locales/nb_NO.jsonrename to locales/nb-NO.jsondiff --git a/locales/pt-BR.json b/locales/pt-BR.jsonindex d13a69ac..5a4bcfc8 100644--- a/locales/pt-BR.json+++ b/locales/pt-BR.json@@ -161,7 +161,6 @@"Show replies": "Mostrar respostas","Incorrect password": "Senha incorreta","Quota exceeded, try again in a few hours": "Cota excedida, tente novamente em algumas horas",-"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "Não foi possível fazer login, sua autenticação por dois passos (app autenticador ou sms) deve estar ativada.","Invalid TFA code": "Código TFA inválido","Login failed. This may be because two-factor authentication is not turned on for your account.": "Falha no login. Isso pode acontecer pois a autenticação por dois passos está desativada para sua conta.",diff --git a/src/invidious.cr b/src/invidious.crindex a4f20bc4..5d011a5c 100644--- a/src/invidious.cr+++ b/src/invidious.cr@@ -84,8 +84,9 @@ LOCALES = {"is" => load_locale("is"),"it" => load_locale("it"),"ja" => load_locale("ja"),- "nb_NO" => load_locale("nb_NO"),+ "nb-NO" => load_locale("nb-NO"),"nl" => load_locale("nl"),+ "pt-BR" => load_locale("pt-BR"),"pl" => load_locale("pl"),"ro" => load_locale("ro"),"ru" => load_locale("ru"),