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