Update localization.py

This commit is contained in:
joBr99
2022-03-25 20:37:40 +01:00
committed by GitHub
parent 08812354f8
commit c79f7b081a

View File

@@ -1,88 +1,177 @@
translations = {
'af_ZA': {
'ACTIVATE': "Aktiveer",
'aux_heat': "Aanvullende hitte",
'cooling': "Koel Af",
'fan_mode': "Waaier modus",
'heating': "Verhit",
},
'ca_ES': {
'PRESS': "Prem",
'ACTIVATE': "Activar",
'aux_heat': "Calefactor auxiliar",
'cooling': "Refredant",
'fan_mode': "Velocitat ventilador",
'heating': "Escalfant",
'high': "alt",
'low': "baix",
},
'cs_CZ': {
'PRESS': "Stisknutí",
'ACTIVATE': "Aktivovat",
},
'cy_GB': {
'ACTIVATE': "Actifadu",
'high': "Uchel",
'low': "Isel",
},
'da_DK': {
'PRESS': "Tryk",
'ACTIVATE': "Aktiver",
'heating': "Opvarmning",
'low': "lav",
},
'de_DE': {
'PRESS': "Drücken",
'ACTIVATE': "Aktivieren",
'aux_heat': "Hilfswärme",
'cooling': "Kühlung",
'fan_mode': "Ventilator-Modus",
'heating': "Heizung",
'high': "hoch",
'low': "niedrig",
},
'en_GB': {
},
'en_US': {
'PRESS': "Press",
'ACTIVATE': "Activate",
'aux_heat': "Aux heat",
'cooling': "Cooling",
'fan_mode': "Fan mode",
'heating': "Heating",
'high': "high",
'low': "low",
},
'es_ES': {
'PRESS': "Pulsa",
'ACTIVATE': "Activar",
'aux_heat': "Calor auxiliar",
'cooling': "Enfriando",
'fan_mode': "Modo del ventilador",
'heating': "Calentando",
},
'et_EE': {
'PRESS': "Vajuta nuppu",
'ACTIVATE': "Aktiveeri",
'aux_heat': "Abiküte",
'cooling': "Jahutamine",
'fan_mode': "Ventilaatori režiim",
'heating': "Küte",
'high': "kiire",
'low': "aeglane",
},
'eu_ES': {
'ACTIVATE': "Aktibatu",
'fan_mode': "Haizagailuaren modua",
},
'fi_FI': {
'PRESS': "Paina",
'ACTIVATE': "Aktivoi",
'aux_heat': "Lisälämpö",
'cooling': "Jäähdytys",
'fan_mode': "Tuuletustila",
'heating': "Lämmitys",
'high': "korkea",
'low': "matala",
},
'fr_FR': {
'PRESS': "Appui",
'ACTIVATE': "Activer",
'aux_heat': "Chauffage d'appoint",
'cooling': "Refroidissement",
'fan_mode': "Mode de ventilation",
'heating': "En chauffe",
'high': "haute",
'low': "basse",
},
'fy_DE': {
'high': "Heech",
'low': "Leech",
},
'gl_ES': {
'high': "Máximo",
'low': "Mínimo",
},
'hr_HR': {
'ACTIVATE': "Aktivirati",
'heating': "Grijanje",
},
'id_ID': {
'PRESS': "Tekan",
'ACTIVATE': "Aktifkan",
'aux_heat': "Pemanasan tambahan",
'cooling': "Mendinginkan",
'fan_mode': "Mode kipas",
'heating': "Memanaskan",
'high': "tinggi",
'low': "rendah",
},
'is_IS': {
'PRESS': "Ýttu á",
'ACTIVATE': "Virkja",
'cooling': "Kæling",
'fan_mode': "Viftuhamur",
'heating': "Kynding",
},
'it_IT': {
'PRESS': "Premi",
'ACTIVATE': "Attiva",
'aux_heat': "Riscaldamento ausiliario",
'cooling': "Raffreddamento",
'fan_mode': "Ventilazione",
'heating': "Riscaldamento",
'high': "alto",
'low': "basso",
},
'nl_NL': {
'PRESS': "Klik",
'ACTIVATE': "Activeren",
'aux_heat': "Extra warmte",
'cooling': "Koelen",
'fan_mode': "Ventilatormodus",
'heating': "Verwarmen",
'high': "hoog",
'low': "laag",
},
'nn_NO': {
'ACTIVATE': "Aktiver",
'aux_heat': "Aux-varme",
'fan_mode': "Viftemodus",
'heating': "Oppvarming",
},
'pt_PT': {
'PRESS': "Pressione",
'ACTIVATE': "Ativar",
'aux_heat': "Calor auxiliar",
'cooling': "Resfriar",
'fan_mode': "Modo ventilar",
'heating': "Aquecimento",
'high': "Alta",
'low': "Baixa",
},
'sr_RS': {
'PRESS': "Pritisnite taster",
'ACTIVATE': "Aktiviraj",
'high': "Visok",
'low': "Nizak",
},
'sv_SE': {
'PRESS': "Tryck",
'ACTIVATE': "Aktivera",
'aux_heat': "Underhållsvärme",
'cooling': "Kyler",
'fan_mode': "Fläktläge",
'heating': "Värmer",
'high': "hög",
},
}
@@ -90,5 +179,5 @@ def get_translation(locale, input):
if locale in translations:
return translations.get(locale).get(input, input)
else:
return input
return translations.get("en_US").get(input, input)