mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-16 09:56:58 +01:00
Update localization.py
This commit is contained in:
@@ -165,24 +165,6 @@ translations = {
|
|||||||
'disarm': "Disarm",
|
'disarm': "Disarm",
|
||||||
'run': "Run",
|
'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': {
|
'es': {
|
||||||
'PRESS': "Pulsa",
|
'PRESS': "Pulsa",
|
||||||
'ACTIVATE': "Activar",
|
'ACTIVATE': "Activar",
|
||||||
@@ -527,7 +509,7 @@ translations = {
|
|||||||
'disarm': "Rozbrój",
|
'disarm': "Rozbrój",
|
||||||
'run': "Uruchom",
|
'run': "Uruchom",
|
||||||
},
|
},
|
||||||
'pt-BR': {
|
'pt': {
|
||||||
'PRESS': "Pressione",
|
'PRESS': "Pressione",
|
||||||
'ACTIVATE': "Ativar",
|
'ACTIVATE': "Ativar",
|
||||||
'aux_heat': "Aquecedor aux",
|
'aux_heat': "Aquecedor aux",
|
||||||
@@ -735,4 +717,4 @@ def get_translation(locale, input):
|
|||||||
if locale in translations:
|
if locale in translations:
|
||||||
return translations.get(locale).get(input, en_fallback_res)
|
return translations.get(locale).get(input, en_fallback_res)
|
||||||
else:
|
else:
|
||||||
return en_fallback_res
|
return en_fallback_res
|
||||||
|
|||||||
Reference in New Issue
Block a user