Update localization.py

This commit is contained in:
Johannes
2022-04-07 21:00:56 +02:00
committed by GitHub
parent 74709d6609
commit 1abeb20943

View File

@@ -165,24 +165,6 @@ translations = {
'disarm': "Disarm",
'run': "Run",
},
'es-419': {
'PRESS': "Presionar",
'ACTIVATE': "Activar",
'aux_heat': "Calor auxiliar",
'cooling': "Enfriando",
'drying': "Secando",
'fan': "Ventilador",
'idle': "Inactivo",
'off': "Apagado",
'arm_away': "Activar fuera de casa",
'arm_custom_bypass': "Bypass personalizado",
'arm_home': "Activar en casa",
'arm_night': "Armado nocturno",
'clear_code': "Limpiar",
'code': "Código",
'disarm': "Desactivar",
'run': "Ejecutar",
},
'es': {
'PRESS': "Pulsa",
'ACTIVATE': "Activar",
@@ -527,7 +509,7 @@ translations = {
'disarm': "Rozbrój",
'run': "Uruchom",
},
'pt-BR': {
'pt': {
'PRESS': "Pressione",
'ACTIVATE': "Ativar",
'aux_heat': "Aquecedor aux",
@@ -735,4 +717,4 @@ def get_translation(locale, input):
if locale in translations:
return translations.get(locale).get(input, en_fallback_res)
else:
return en_fallback_res
return en_fallback_res