Update localization.py

This commit is contained in:
Johannes
2022-03-25 20:43:07 +01:00
committed by GitHub
parent ec65eebb74
commit 9ae898c30f

View File

@@ -3,42 +3,54 @@ translations = {
'ACTIVATE': "Aktiveer", 'ACTIVATE': "Aktiveer",
'aux_heat': "Aanvullende hitte", 'aux_heat': "Aanvullende hitte",
'cooling': "Koel Af", 'cooling': "Koel Af",
'fan_mode': "Waaier modus", 'drying': "Droog Uit",
'heating': "Verhit", 'fan': "Waaier",
'idle': "Onaktief",
'off': "Af",
}, },
'ca_ES': { 'ca_ES': {
'PRESS': "Prem", 'PRESS': "Prem",
'ACTIVATE': "Activar", 'ACTIVATE': "Activar",
'aux_heat': "Calefactor auxiliar", 'aux_heat': "Calefactor auxiliar",
'cooling': "Refredant", 'cooling': "Refredant",
'fan_mode': "Velocitat ventilador", 'drying': "Assecant",
'heating': "Escalfant", 'fan': "Ventilació",
'high': "alt", 'idle': "Inactiu",
'low': "baix", 'off': "OFF",
}, },
'cs_CZ': { 'cs_CZ': {
'PRESS': "Stisknutí",
'ACTIVATE': "Aktivovat", 'ACTIVATE': "Aktivovat",
'aux_heat': "Pomocné teplo",
'cooling': "Chlazení",
'drying': "Sušení",
'fan': "Ventilátor",
'idle': "Nečinný",
'off': "Vypnuto",
}, },
'cy_GB': { 'cy_GB': {
'ACTIVATE': "Actifadu", 'ACTIVATE': "Actifadu",
'high': "Uchel", 'off': "I ffwrdd",
'low': "Isel",
}, },
'da_DK': { 'da_DK': {
'PRESS': "Tryk", 'PRESS': "Tryk",
'ACTIVATE': "Aktiver", 'ACTIVATE': "Aktiver",
'heating': "Opvarmning", 'aux_heat': "Støtte-varme",
'low': "lav", 'cooling': "Køling",
'drying': "Tørring",
'fan': "Blæser",
'idle': "Inaktiv",
'off': "Fra",
}, },
'de_DE': { 'de_DE': {
'PRESS': "Drücken", 'PRESS': "Drücken",
'ACTIVATE': "Aktivieren", 'ACTIVATE': "Aktivieren",
'aux_heat': "Hilfswärme", 'aux_heat': "Hilfswärme",
'cooling': "Kühlung", 'cooling': "Kühlung",
'fan_mode': "Ventilator-Modus", 'drying': "Trocknen",
'heating': "Heizung", 'fan': "Ventilator",
'high': "hoch", 'idle': "Leerlauf",
'low': "niedrig", 'off': "Aus",
}, },
'en_GB': { 'en_GB': {
}, },
@@ -47,131 +59,142 @@ translations = {
'ACTIVATE': "Activate", 'ACTIVATE': "Activate",
'aux_heat': "Aux heat", 'aux_heat': "Aux heat",
'cooling': "Cooling", 'cooling': "Cooling",
'fan_mode': "Fan mode", 'drying': "Drying",
'heating': "Heating", 'fan': "Fan",
'high': "high", 'idle': "Idle",
'low': "low", 'off': "Off",
}, },
'es_ES': { 'es_ES': {
'PRESS': "Pulsa", 'PRESS': "Pulsa",
'ACTIVATE': "Activar", 'ACTIVATE': "Activar",
'aux_heat': "Calor auxiliar", 'aux_heat': "Calor auxiliar",
'cooling': "Enfriando", 'cooling': "Enfriando",
'fan_mode': "Modo del ventilador", 'drying': "Secando",
'heating': "Calentando", 'fan': "Ventilador",
'idle': "Inactivo",
'off': "Apagado",
}, },
'et_EE': { 'et_EE': {
'PRESS': "Vajuta nuppu", 'PRESS': "Vajuta nuppu",
'ACTIVATE': "Aktiveeri", 'ACTIVATE': "Aktiveeri",
'aux_heat': "Abiküte", 'aux_heat': "Abiküte",
'cooling': "Jahutamine", 'cooling': "Jahutamine",
'fan_mode': "Ventilaatori režiim", 'drying': "Kuivatamine",
'heating': "Küte", 'fan': "Ventilaator",
'high': "kiire", 'idle': "Ootel",
'low': "aeglane", 'off': "Väljas",
}, },
'eu_ES': { 'eu_ES': {
'ACTIVATE': "Aktibatu", 'ACTIVATE': "Aktibatu",
'fan_mode': "Haizagailuaren modua", 'off': "Itzalita",
}, },
'fi_FI': { 'fi_FI': {
'PRESS': "Paina", 'PRESS': "Paina",
'ACTIVATE': "Aktivoi", 'ACTIVATE': "Aktivoi",
'aux_heat': "Lisälämpö", 'aux_heat': "Lisälämpö",
'cooling': "Jäähdytys", 'cooling': "Jäähdytys",
'fan_mode': "Tuuletustila", 'drying': "Kuivaus",
'heating': "Lämmitys", 'fan': "Tuuletin",
'high': "korkea", 'idle': "Lepotilassa",
'low': "matala", 'off': "Pois",
}, },
'fr_FR': { 'fr_FR': {
'PRESS': "Appui", 'PRESS': "Appui",
'ACTIVATE': "Activer", 'ACTIVATE': "Activer",
'aux_heat': "Chauffage d'appoint", 'aux_heat': "Chauffage d'appoint",
'cooling': "Refroidissement", 'cooling': "Refroidissement",
'fan_mode': "Mode de ventilation", 'drying': "Séchage",
'heating': "En chauffe", 'fan': "Ventilateur",
'high': "haute", 'idle': "Inactif",
'low': "basse", 'off': "Off",
}, },
'fy_DE': { 'fy_DE': {
'high': "Heech", 'off': "Út",
'low': "Leech",
}, },
'gl_ES': { 'gl_ES': {
'high': "Máximo", 'off': "Apagado",
'low': "Mínimo",
}, },
'hr_HR': { 'hr_HR': {
'ACTIVATE': "Aktivirati", 'ACTIVATE': "Aktivirati",
'heating': "Grijanje", 'aux_heat': "Pomoćno grijanje",
'cooling': "Hlađenje",
'drying': "Sušenje",
'fan': "Ventilator",
'idle': "Neaktivan",
'off': "Isključen",
}, },
'id_ID': { 'id_ID': {
'PRESS': "Tekan", 'PRESS': "Tekan",
'ACTIVATE': "Aktifkan", 'ACTIVATE': "Aktifkan",
'aux_heat': "Pemanasan tambahan", 'aux_heat': "Pemanasan tambahan",
'cooling': "Mendinginkan", 'cooling': "Mendinginkan",
'fan_mode': "Mode kipas", 'drying': "Mengeringkan",
'heating': "Memanaskan", 'fan': "Kipas",
'high': "tinggi", 'idle': "Diam",
'low': "rendah", 'off': "Mati",
}, },
'is_IS': { 'is_IS': {
'PRESS': "Ýttu á",
'ACTIVATE': "Virkja", 'ACTIVATE': "Virkja",
'cooling': "Kæling", 'cooling': "Kæling",
'fan_mode': "Viftuhamur", 'drying': "Þurrkun",
'heating': "Kynding", 'fan': "Vifta",
'idle': "Aðgerðalaus",
'off': "Slökkt",
}, },
'it_IT': { 'it_IT': {
'PRESS': "Premi", 'PRESS': "Premi",
'ACTIVATE': "Attiva", 'ACTIVATE': "Attiva",
'aux_heat': "Riscaldamento ausiliario", 'aux_heat': "Riscaldamento ausiliario",
'cooling': "Raffreddamento", 'cooling': "Raffreddamento",
'fan_mode': "Ventilazione", 'drying': "Deumidificazione",
'heating': "Riscaldamento", 'fan': "Ventilatore",
'high': "alto", 'idle': "Inattivo",
'low': "basso", 'off': "Spento",
}, },
'nl_NL': { 'nl_NL': {
'PRESS': "Klik", 'PRESS': "Klik",
'ACTIVATE': "Activeren", 'ACTIVATE': "Activeren",
'aux_heat': "Extra warmte", 'aux_heat': "Extra warmte",
'cooling': "Koelen", 'cooling': "Koelen",
'fan_mode': "Ventilatormodus", 'drying': "Ontvochtigen",
'heating': "Verwarmen", 'fan': "Ventilator",
'high': "hoog", 'idle': "Inactief",
'low': "laag", 'off': "Uit",
}, },
'nn_NO': { 'nn_NO': {
'ACTIVATE': "Aktiver", 'ACTIVATE': "Aktiver",
'aux_heat': "Aux-varme", 'aux_heat': "Aux-varme",
'fan_mode': "Viftemodus", 'cooling': "Nedkjøling",
'heating': "Oppvarming", 'drying': "Tørkar",
'fan': "Vifte",
'idle': "Tomgang",
'off': "Av",
}, },
'pt_PT': { 'pt_PT': {
'PRESS': "Pressione", 'PRESS': "Pressione",
'ACTIVATE': "Ativar", 'ACTIVATE': "Ativar",
'aux_heat': "Calor auxiliar", 'aux_heat': "Calor auxiliar",
'cooling': "Resfriar", 'cooling': "Resfriar",
'fan_mode': "Modo ventilar", 'drying': "Secagem",
'heating': "Aquecimento", 'fan': "Ventoinha",
'high': "Alta", 'idle': "Em espera",
'low': "Baixa", 'off': "Desligado",
}, },
'sr_RS': { 'sr_RS': {
'PRESS': "Pritisnite taster", 'PRESS': "Pritisnite taster",
'ACTIVATE': "Aktiviraj", 'ACTIVATE': "Aktiviraj",
'high': "Visok", 'off': "Isključen",
'low': "Nizak",
}, },
'sv_SE': { 'sv_SE': {
'PRESS': "Tryck", 'PRESS': "Tryck",
'ACTIVATE': "Aktivera", 'ACTIVATE': "Aktivera",
'aux_heat': "Underhållsvärme", 'aux_heat': "Underhållsvärme",
'cooling': "Kyler", 'cooling': "Kyler",
'fan_mode': "Fläktläge", 'drying': "Avfuktar",
'heating': "Värmer", 'fan': "Fläkt",
'high': "hög", 'idle': "Inaktiv",
'off': "Av",
}, },
} }
@@ -180,4 +203,3 @@ def get_translation(locale, input):
return translations.get(locale).get(input, input) return translations.get(locale).get(input, input)
else: else:
return translations.get("en_US").get(input, input) return translations.get("en_US").get(input, input)