From e6cb9d119a5a63031d5efd2d99b9ec8a90b8d172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B6rrle?= Date: Mon, 14 Feb 2022 08:30:43 +0100 Subject: [PATCH 1/2] Use ISO language codes instead of country codes --- .../languages/{EN.yaml => en.yaml} | 0 .../languages/{IT.yaml => it.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{EN.yaml => en.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{EN.yaml => en.yaml} | 0 .../languages/{ES.yaml => es.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{PT.yaml => pt.yaml} | 0 .../languages/{DE.yaml => de.yaml} | 0 .../languages/{EN.yaml => en.yaml} | 0 .../languages/{ES.yaml => es.yaml} | 0 .../languages/{FR.yaml => fr.yaml} | 0 .../languages/{IT.yaml => it.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{DE.yaml => de.yaml} | 0 .../languages/{EN.yaml => en.yaml} | 0 .../languages/{ES.yaml => es.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{EN.yaml => en.yaml} | 0 .../languages/{ES.yaml => es.yaml} | 0 .../languages/{IT.yaml => it.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{PT.yaml => pt.yaml} | 0 .../languages/{DE.yaml => de.yaml} | 0 .../languages/{EN.yaml => en.yaml} | 0 .../languages/{ES.yaml => es.yaml} | 0 .../languages/{FR.yaml => fr.yaml} | 0 .../languages/{IT.yaml => it.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{PT.yaml => pt.yaml} | 0 .../languages/{DE.yaml => de.yaml} | 0 .../languages/{EN.yaml => en.yaml} | 0 .../languages/{ES.yaml => es.yaml} | 0 .../languages/{FR.yaml => fr.yaml} | 0 .../languages/{IT.yaml => it.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{PT.yaml => pt.yaml} | 0 .../languages/{DE.yaml => de.yaml} | 0 .../languages/{EN.yaml => en.yaml} | 0 .../languages/{ES.yaml => es.yaml} | 0 .../languages/{FR.yaml => fr.yaml} | 0 .../languages/{PL.yaml => pl.yaml} | 0 .../languages/{PT.yaml => pt.yaml} | 0 .../ui_lovelace_minimalist/configure.py | 26 +++++++++---------- .../ui_lovelace_minimalist/const.py | 8 +++--- .../translations/{CS.yaml => cs.yaml} | 0 .../translations/{DA.yaml => da.yaml} | 0 .../translations/{DE.yaml => de.yaml} | 0 .../translations/{EN.yaml => en.yaml} | 0 .../translations/{ES.yaml => es.yaml} | 0 .../translations/{FR.yaml => fr.yaml} | 0 .../translations/{IT.yaml => it.yaml} | 0 .../translations/{NL.yaml => nl.yaml} | 0 .../translations/{NO.yaml => no.yaml} | 0 .../translations/{PL.yaml => pl.yaml} | 0 .../translations/{PT.yaml => pt.yaml} | 0 .../translations/{SK.yaml => sk.yaml} | 0 .../translations/{SE.yaml => sv.yaml} | 0 59 files changed, 17 insertions(+), 17 deletions(-) rename custom_cards/custom_card_damix48_power_details/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_damix48_power_details/languages/{IT.yaml => it.yaml} (100%) rename custom_cards/custom_card_damix48_power_details/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_heat_pump/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_heat_pump/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_httpedo13_thermostat/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_httpedo13_thermostat/languages/{ES.yaml => es.yaml} (100%) rename custom_cards/custom_card_httpedo13_thermostat/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_httpedo13_thermostat/languages/{PT.yaml => pt.yaml} (100%) rename custom_cards/custom_card_imswel_person/languages/{DE.yaml => de.yaml} (100%) rename custom_cards/custom_card_imswel_person/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_imswel_person/languages/{ES.yaml => es.yaml} (100%) rename custom_cards/custom_card_imswel_person/languages/{FR.yaml => fr.yaml} (100%) rename custom_cards/custom_card_imswel_person/languages/{IT.yaml => it.yaml} (100%) rename custom_cards/custom_card_imswel_person/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_paddy_dwd_pollen/languages/{DE.yaml => de.yaml} (100%) rename custom_cards/custom_card_paddy_dwd_pollen/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_paddy_dwd_pollen/languages/{ES.yaml => es.yaml} (100%) rename custom_cards/custom_card_paddy_dwd_pollen/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_paddy_welcome/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_paddy_welcome/languages/{ES.yaml => es.yaml} (100%) rename custom_cards/custom_card_paddy_welcome/languages/{IT.yaml => it.yaml} (100%) rename custom_cards/custom_card_paddy_welcome/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_paddy_welcome/languages/{PT.yaml => pt.yaml} (100%) rename custom_cards/custom_card_schumijo_car/languages/{DE.yaml => de.yaml} (100%) rename custom_cards/custom_card_schumijo_car/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_schumijo_car/languages/{ES.yaml => es.yaml} (100%) rename custom_cards/custom_card_schumijo_car/languages/{FR.yaml => fr.yaml} (100%) rename custom_cards/custom_card_schumijo_car/languages/{IT.yaml => it.yaml} (100%) rename custom_cards/custom_card_schumijo_car/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_schumijo_car/languages/{PT.yaml => pt.yaml} (100%) rename custom_cards/custom_card_schumijo_flower/languages/{DE.yaml => de.yaml} (100%) rename custom_cards/custom_card_schumijo_flower/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_schumijo_flower/languages/{ES.yaml => es.yaml} (100%) rename custom_cards/custom_card_schumijo_flower/languages/{FR.yaml => fr.yaml} (100%) rename custom_cards/custom_card_schumijo_flower/languages/{IT.yaml => it.yaml} (100%) rename custom_cards/custom_card_schumijo_flower/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_schumijo_flower/languages/{PT.yaml => pt.yaml} (100%) rename custom_cards/custom_card_tpx01_aircondition/languages/{DE.yaml => de.yaml} (100%) rename custom_cards/custom_card_tpx01_aircondition/languages/{EN.yaml => en.yaml} (100%) rename custom_cards/custom_card_tpx01_aircondition/languages/{ES.yaml => es.yaml} (100%) rename custom_cards/custom_card_tpx01_aircondition/languages/{FR.yaml => fr.yaml} (100%) rename custom_cards/custom_card_tpx01_aircondition/languages/{PL.yaml => pl.yaml} (100%) rename custom_cards/custom_card_tpx01_aircondition/languages/{PT.yaml => pt.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{CS.yaml => cs.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{DA.yaml => da.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{DE.yaml => de.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{EN.yaml => en.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{ES.yaml => es.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{FR.yaml => fr.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{IT.yaml => it.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{NL.yaml => nl.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{NO.yaml => no.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{PL.yaml => pl.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{PT.yaml => pt.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{SK.yaml => sk.yaml} (100%) rename custom_components/ui_lovelace_minimalist/lovelace/translations/{SE.yaml => sv.yaml} (100%) diff --git a/custom_cards/custom_card_damix48_power_details/languages/EN.yaml b/custom_cards/custom_card_damix48_power_details/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_damix48_power_details/languages/EN.yaml rename to custom_cards/custom_card_damix48_power_details/languages/en.yaml diff --git a/custom_cards/custom_card_damix48_power_details/languages/IT.yaml b/custom_cards/custom_card_damix48_power_details/languages/it.yaml similarity index 100% rename from custom_cards/custom_card_damix48_power_details/languages/IT.yaml rename to custom_cards/custom_card_damix48_power_details/languages/it.yaml diff --git a/custom_cards/custom_card_damix48_power_details/languages/PL.yaml b/custom_cards/custom_card_damix48_power_details/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_damix48_power_details/languages/PL.yaml rename to custom_cards/custom_card_damix48_power_details/languages/pl.yaml diff --git a/custom_cards/custom_card_heat_pump/languages/EN.yaml b/custom_cards/custom_card_heat_pump/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_heat_pump/languages/EN.yaml rename to custom_cards/custom_card_heat_pump/languages/en.yaml diff --git a/custom_cards/custom_card_heat_pump/languages/PL.yaml b/custom_cards/custom_card_heat_pump/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_heat_pump/languages/PL.yaml rename to custom_cards/custom_card_heat_pump/languages/pl.yaml diff --git a/custom_cards/custom_card_httpedo13_thermostat/languages/EN.yaml b/custom_cards/custom_card_httpedo13_thermostat/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_httpedo13_thermostat/languages/EN.yaml rename to custom_cards/custom_card_httpedo13_thermostat/languages/en.yaml diff --git a/custom_cards/custom_card_httpedo13_thermostat/languages/ES.yaml b/custom_cards/custom_card_httpedo13_thermostat/languages/es.yaml similarity index 100% rename from custom_cards/custom_card_httpedo13_thermostat/languages/ES.yaml rename to custom_cards/custom_card_httpedo13_thermostat/languages/es.yaml diff --git a/custom_cards/custom_card_httpedo13_thermostat/languages/PL.yaml b/custom_cards/custom_card_httpedo13_thermostat/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_httpedo13_thermostat/languages/PL.yaml rename to custom_cards/custom_card_httpedo13_thermostat/languages/pl.yaml diff --git a/custom_cards/custom_card_httpedo13_thermostat/languages/PT.yaml b/custom_cards/custom_card_httpedo13_thermostat/languages/pt.yaml similarity index 100% rename from custom_cards/custom_card_httpedo13_thermostat/languages/PT.yaml rename to custom_cards/custom_card_httpedo13_thermostat/languages/pt.yaml diff --git a/custom_cards/custom_card_imswel_person/languages/DE.yaml b/custom_cards/custom_card_imswel_person/languages/de.yaml similarity index 100% rename from custom_cards/custom_card_imswel_person/languages/DE.yaml rename to custom_cards/custom_card_imswel_person/languages/de.yaml diff --git a/custom_cards/custom_card_imswel_person/languages/EN.yaml b/custom_cards/custom_card_imswel_person/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_imswel_person/languages/EN.yaml rename to custom_cards/custom_card_imswel_person/languages/en.yaml diff --git a/custom_cards/custom_card_imswel_person/languages/ES.yaml b/custom_cards/custom_card_imswel_person/languages/es.yaml similarity index 100% rename from custom_cards/custom_card_imswel_person/languages/ES.yaml rename to custom_cards/custom_card_imswel_person/languages/es.yaml diff --git a/custom_cards/custom_card_imswel_person/languages/FR.yaml b/custom_cards/custom_card_imswel_person/languages/fr.yaml similarity index 100% rename from custom_cards/custom_card_imswel_person/languages/FR.yaml rename to custom_cards/custom_card_imswel_person/languages/fr.yaml diff --git a/custom_cards/custom_card_imswel_person/languages/IT.yaml b/custom_cards/custom_card_imswel_person/languages/it.yaml similarity index 100% rename from custom_cards/custom_card_imswel_person/languages/IT.yaml rename to custom_cards/custom_card_imswel_person/languages/it.yaml diff --git a/custom_cards/custom_card_imswel_person/languages/PL.yaml b/custom_cards/custom_card_imswel_person/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_imswel_person/languages/PL.yaml rename to custom_cards/custom_card_imswel_person/languages/pl.yaml diff --git a/custom_cards/custom_card_paddy_dwd_pollen/languages/DE.yaml b/custom_cards/custom_card_paddy_dwd_pollen/languages/de.yaml similarity index 100% rename from custom_cards/custom_card_paddy_dwd_pollen/languages/DE.yaml rename to custom_cards/custom_card_paddy_dwd_pollen/languages/de.yaml diff --git a/custom_cards/custom_card_paddy_dwd_pollen/languages/EN.yaml b/custom_cards/custom_card_paddy_dwd_pollen/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_paddy_dwd_pollen/languages/EN.yaml rename to custom_cards/custom_card_paddy_dwd_pollen/languages/en.yaml diff --git a/custom_cards/custom_card_paddy_dwd_pollen/languages/ES.yaml b/custom_cards/custom_card_paddy_dwd_pollen/languages/es.yaml similarity index 100% rename from custom_cards/custom_card_paddy_dwd_pollen/languages/ES.yaml rename to custom_cards/custom_card_paddy_dwd_pollen/languages/es.yaml diff --git a/custom_cards/custom_card_paddy_dwd_pollen/languages/PL.yaml b/custom_cards/custom_card_paddy_dwd_pollen/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_paddy_dwd_pollen/languages/PL.yaml rename to custom_cards/custom_card_paddy_dwd_pollen/languages/pl.yaml diff --git a/custom_cards/custom_card_paddy_welcome/languages/EN.yaml b/custom_cards/custom_card_paddy_welcome/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_paddy_welcome/languages/EN.yaml rename to custom_cards/custom_card_paddy_welcome/languages/en.yaml diff --git a/custom_cards/custom_card_paddy_welcome/languages/ES.yaml b/custom_cards/custom_card_paddy_welcome/languages/es.yaml similarity index 100% rename from custom_cards/custom_card_paddy_welcome/languages/ES.yaml rename to custom_cards/custom_card_paddy_welcome/languages/es.yaml diff --git a/custom_cards/custom_card_paddy_welcome/languages/IT.yaml b/custom_cards/custom_card_paddy_welcome/languages/it.yaml similarity index 100% rename from custom_cards/custom_card_paddy_welcome/languages/IT.yaml rename to custom_cards/custom_card_paddy_welcome/languages/it.yaml diff --git a/custom_cards/custom_card_paddy_welcome/languages/PL.yaml b/custom_cards/custom_card_paddy_welcome/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_paddy_welcome/languages/PL.yaml rename to custom_cards/custom_card_paddy_welcome/languages/pl.yaml diff --git a/custom_cards/custom_card_paddy_welcome/languages/PT.yaml b/custom_cards/custom_card_paddy_welcome/languages/pt.yaml similarity index 100% rename from custom_cards/custom_card_paddy_welcome/languages/PT.yaml rename to custom_cards/custom_card_paddy_welcome/languages/pt.yaml diff --git a/custom_cards/custom_card_schumijo_car/languages/DE.yaml b/custom_cards/custom_card_schumijo_car/languages/de.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_car/languages/DE.yaml rename to custom_cards/custom_card_schumijo_car/languages/de.yaml diff --git a/custom_cards/custom_card_schumijo_car/languages/EN.yaml b/custom_cards/custom_card_schumijo_car/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_car/languages/EN.yaml rename to custom_cards/custom_card_schumijo_car/languages/en.yaml diff --git a/custom_cards/custom_card_schumijo_car/languages/ES.yaml b/custom_cards/custom_card_schumijo_car/languages/es.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_car/languages/ES.yaml rename to custom_cards/custom_card_schumijo_car/languages/es.yaml diff --git a/custom_cards/custom_card_schumijo_car/languages/FR.yaml b/custom_cards/custom_card_schumijo_car/languages/fr.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_car/languages/FR.yaml rename to custom_cards/custom_card_schumijo_car/languages/fr.yaml diff --git a/custom_cards/custom_card_schumijo_car/languages/IT.yaml b/custom_cards/custom_card_schumijo_car/languages/it.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_car/languages/IT.yaml rename to custom_cards/custom_card_schumijo_car/languages/it.yaml diff --git a/custom_cards/custom_card_schumijo_car/languages/PL.yaml b/custom_cards/custom_card_schumijo_car/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_car/languages/PL.yaml rename to custom_cards/custom_card_schumijo_car/languages/pl.yaml diff --git a/custom_cards/custom_card_schumijo_car/languages/PT.yaml b/custom_cards/custom_card_schumijo_car/languages/pt.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_car/languages/PT.yaml rename to custom_cards/custom_card_schumijo_car/languages/pt.yaml diff --git a/custom_cards/custom_card_schumijo_flower/languages/DE.yaml b/custom_cards/custom_card_schumijo_flower/languages/de.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_flower/languages/DE.yaml rename to custom_cards/custom_card_schumijo_flower/languages/de.yaml diff --git a/custom_cards/custom_card_schumijo_flower/languages/EN.yaml b/custom_cards/custom_card_schumijo_flower/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_flower/languages/EN.yaml rename to custom_cards/custom_card_schumijo_flower/languages/en.yaml diff --git a/custom_cards/custom_card_schumijo_flower/languages/ES.yaml b/custom_cards/custom_card_schumijo_flower/languages/es.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_flower/languages/ES.yaml rename to custom_cards/custom_card_schumijo_flower/languages/es.yaml diff --git a/custom_cards/custom_card_schumijo_flower/languages/FR.yaml b/custom_cards/custom_card_schumijo_flower/languages/fr.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_flower/languages/FR.yaml rename to custom_cards/custom_card_schumijo_flower/languages/fr.yaml diff --git a/custom_cards/custom_card_schumijo_flower/languages/IT.yaml b/custom_cards/custom_card_schumijo_flower/languages/it.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_flower/languages/IT.yaml rename to custom_cards/custom_card_schumijo_flower/languages/it.yaml diff --git a/custom_cards/custom_card_schumijo_flower/languages/PL.yaml b/custom_cards/custom_card_schumijo_flower/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_flower/languages/PL.yaml rename to custom_cards/custom_card_schumijo_flower/languages/pl.yaml diff --git a/custom_cards/custom_card_schumijo_flower/languages/PT.yaml b/custom_cards/custom_card_schumijo_flower/languages/pt.yaml similarity index 100% rename from custom_cards/custom_card_schumijo_flower/languages/PT.yaml rename to custom_cards/custom_card_schumijo_flower/languages/pt.yaml diff --git a/custom_cards/custom_card_tpx01_aircondition/languages/DE.yaml b/custom_cards/custom_card_tpx01_aircondition/languages/de.yaml similarity index 100% rename from custom_cards/custom_card_tpx01_aircondition/languages/DE.yaml rename to custom_cards/custom_card_tpx01_aircondition/languages/de.yaml diff --git a/custom_cards/custom_card_tpx01_aircondition/languages/EN.yaml b/custom_cards/custom_card_tpx01_aircondition/languages/en.yaml similarity index 100% rename from custom_cards/custom_card_tpx01_aircondition/languages/EN.yaml rename to custom_cards/custom_card_tpx01_aircondition/languages/en.yaml diff --git a/custom_cards/custom_card_tpx01_aircondition/languages/ES.yaml b/custom_cards/custom_card_tpx01_aircondition/languages/es.yaml similarity index 100% rename from custom_cards/custom_card_tpx01_aircondition/languages/ES.yaml rename to custom_cards/custom_card_tpx01_aircondition/languages/es.yaml diff --git a/custom_cards/custom_card_tpx01_aircondition/languages/FR.yaml b/custom_cards/custom_card_tpx01_aircondition/languages/fr.yaml similarity index 100% rename from custom_cards/custom_card_tpx01_aircondition/languages/FR.yaml rename to custom_cards/custom_card_tpx01_aircondition/languages/fr.yaml diff --git a/custom_cards/custom_card_tpx01_aircondition/languages/PL.yaml b/custom_cards/custom_card_tpx01_aircondition/languages/pl.yaml similarity index 100% rename from custom_cards/custom_card_tpx01_aircondition/languages/PL.yaml rename to custom_cards/custom_card_tpx01_aircondition/languages/pl.yaml diff --git a/custom_cards/custom_card_tpx01_aircondition/languages/PT.yaml b/custom_cards/custom_card_tpx01_aircondition/languages/pt.yaml similarity index 100% rename from custom_cards/custom_card_tpx01_aircondition/languages/PT.yaml rename to custom_cards/custom_card_tpx01_aircondition/languages/pt.yaml diff --git a/custom_components/ui_lovelace_minimalist/configure.py b/custom_components/ui_lovelace_minimalist/configure.py index 9224aab42..4fdab4895 100644 --- a/custom_components/ui_lovelace_minimalist/configure.py +++ b/custom_components/ui_lovelace_minimalist/configure.py @@ -15,19 +15,19 @@ _LOGGER: logging.Logger = logging.getLogger(__name__) LANGUAGES = { - "Czech": "CS", - "Danish": "DA", - "Dutch": "NL", - "English (GB)": "EN", - "French": "FR", - "German": "DE", - "Italian": "IT", - "Polish": "PL", - "Portuguese": "PT", - "Slovak": "SK", - "Spanish": "ES", - "Swedish": "SE", - "Norwegian": "NO", + "Czech": "cs", + "Danish": "da", + "German": "de", + "English (GB)": "en", + "Spanish": "es", + "French": "fr", + "Italian": "it", + "Dutch": "nl", + "Norwegian": "no", + "Polish": "pl", + "Portuguese": "pt", + "Slovak": "sk", + "Swedish": "sv", } diff --git a/custom_components/ui_lovelace_minimalist/const.py b/custom_components/ui_lovelace_minimalist/const.py index ed6bfec8d..e17319cd6 100644 --- a/custom_components/ui_lovelace_minimalist/const.py +++ b/custom_components/ui_lovelace_minimalist/const.py @@ -13,17 +13,17 @@ CONF_LANGUAGES = [ "Czech", "Danish", - "Dutch", + "German", "English (GB)", + "Spanish", "French", - "German", "Italian", + "Dutch", + "Norwegian", "Polish", "Portuguese", "Slovak", - "Spanish", "Swedish", - "Norwegian", ] CONF_SIDEPANEL_ENABLED = "sidepanel_enabled" CONF_SIDEPANEL_TITLE = "sidepanel_title" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/CS.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/cs.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/CS.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/cs.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/DA.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/da.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/DA.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/da.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/DE.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/de.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/DE.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/de.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/EN.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/en.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/EN.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/en.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/ES.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/es.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/ES.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/es.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/FR.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/fr.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/FR.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/fr.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/IT.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/it.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/IT.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/it.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/NL.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/nl.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/NL.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/nl.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/NO.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/no.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/NO.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/no.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/PL.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/pl.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/PL.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/pl.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/PT.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/pt.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/PT.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/pt.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/SK.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/sk.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/SK.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/sk.yaml diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/SE.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/sv.yaml similarity index 100% rename from custom_components/ui_lovelace_minimalist/lovelace/translations/SE.yaml rename to custom_components/ui_lovelace_minimalist/lovelace/translations/sv.yaml From de30ed329a2943b775997d2097f5c1c65e566b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B6rrle?= Date: Mon, 14 Feb 2022 08:41:25 +0100 Subject: [PATCH 2/2] Snyc language files --- .../ui_lovelace_minimalist/lovelace/translations/cs.yaml | 6 ++++++ .../ui_lovelace_minimalist/lovelace/translations/da.yaml | 3 +++ .../ui_lovelace_minimalist/lovelace/translations/de.yaml | 2 ++ .../ui_lovelace_minimalist/lovelace/translations/en.yaml | 1 + .../ui_lovelace_minimalist/lovelace/translations/es.yaml | 3 +++ .../ui_lovelace_minimalist/lovelace/translations/fr.yaml | 2 ++ .../ui_lovelace_minimalist/lovelace/translations/it.yaml | 2 ++ .../ui_lovelace_minimalist/lovelace/translations/no.yaml | 9 +++++++++ .../ui_lovelace_minimalist/lovelace/translations/pl.yaml | 2 ++ .../ui_lovelace_minimalist/lovelace/translations/pt.yaml | 2 ++ .../ui_lovelace_minimalist/lovelace/translations/sk.yaml | 6 ++++++ .../ui_lovelace_minimalist/lovelace/translations/sv.yaml | 2 ++ 12 files changed, 40 insertions(+) diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/cs.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/cs.yaml index 253bd137f..f7e014eb5 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/cs.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/cs.yaml @@ -19,6 +19,7 @@ ulm_language_variables: ulm_cooling: "Chlazení" ulm_person_state_home: "doma" ulm_person_state_away: "pryč" + ulm_person_state_not_home: "pryč" ulm_popups_back: "Zpět" ulm_popups_toggle: "Přepnout" ulm_popups_statistics: "Statistiky" @@ -34,7 +35,12 @@ ulm_language_variables: ulm_alarm_triggered: "SPUŠTĚN" ulm_playing: "Přehrává" ulm_paused: "Pozastaveno" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Dobré ráno" ulm_afternoon: "Dobré odpoledne" ulm_evening: "Dobrý večer" ulm_hello: "Ahoj" + ulm_cleaning: "Cleaning" + ulm_returning: "Returning" + ulm_docked: "Docked" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/da.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/da.yaml index 4c5d3c3fe..ec8cd828a 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/da.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/da.yaml @@ -19,6 +19,7 @@ ulm_language_variables: ulm_cooling: "Køling" ulm_person_state_home: "hjemme" ulm_person_state_away: "fraværende" + ulm_person_state_not_home: "fraværende" ulm_popups_back: "Tilbage" ulm_popups_toggle: "Skift" ulm_popups_statistics: "Statistik" @@ -34,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "AKTIVERET" ulm_playing: "Spiller" ulm_paused: "Sat på pause" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Good morning" ulm_afternoon: "Good afternoon" ulm_evening: "Good evening" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/de.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/de.yaml index c5fc749c7..80c024930 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/de.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/de.yaml @@ -35,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "AUSGELÖST" ulm_playing: "Spielt" ulm_paused: "Pausiert" + ulm_updates_available: "Updates verfügbar!" + ulm_no_updates_available: "Keine Updates verfügbar" ulm_morning: "Guten Morgen" ulm_afternoon: "Guten Tag" ulm_evening: "Guten Abend" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/en.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/en.yaml index 4b3db8a74..5336b9bee 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/en.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/en.yaml @@ -19,6 +19,7 @@ ulm_language_variables: ulm_cooling: "Cooling" ulm_person_state_home: "home" ulm_person_state_away: "away" + ulm_person_state_not_home: "away" ulm_popups_back: "Back" ulm_popups_toggle: "Toggle" ulm_popups_statistics: "Statistics" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/es.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/es.yaml index cf4a93839..9c6163698 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/es.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/es.yaml @@ -19,6 +19,7 @@ ulm_language_variables: ulm_cooling: "Refrigeración" ulm_person_state_home: "En casa" ulm_person_state_away: "Fuera de casa" + ulm_person_state_not_home: "Fuera de casa" ulm_popups_back: "Volver" ulm_popups_toggle: "Alternar" ulm_popups_statistics: "Estadísticas" @@ -34,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "Alarma en curso" ulm_playing: "Reproduciendo" ulm_paused: "Pausa" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Buenos días" ulm_afternoon: "Buenas tardes" ulm_evening: "Buenas noches" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/fr.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/fr.yaml index ede61387d..34e8ff0ff 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/fr.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/fr.yaml @@ -35,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "DÉCLENCHÉE" ulm_playing: "Lecture" ulm_paused: "En Pause" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Bonjour" ulm_afternoon: "Bon après-midi" ulm_evening: "Bonsoir" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/it.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/it.yaml index 42d7c62e7..a9af2cb8c 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/it.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/it.yaml @@ -35,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "TRIGGERED" ulm_playing: "Playing" ulm_paused: "Paused" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Buon giorno" ulm_afternoon: "Buon pomeriggio" ulm_evening: "Buona serata" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/no.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/no.yaml index 76f08a327..42ed839f5 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/no.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/no.yaml @@ -9,10 +9,17 @@ ulm_language_variables: ulm_standby: "Klar" ulm_idle: "Hviler" ulm_currency: "NOK" + ulm_auto: "Auto" ulm_heat: "Varme" ulm_cool: "Kjøling" + ulm_dry: "Dry" + ulm_fan_only: "Fan only" + ulm_heat_cool: "Heat/Cool" + ulm_heating: "Heating" + ulm_cooling: "Cooling" ulm_person_state_home: "Hjemme" ulm_person_state_away: "Borte" + ulm_person_state_not_home: "Borte" ulm_popups_back: "Tilbake" ulm_popups_toggle: "Veksle" ulm_popups_statistics: "Statistikk" @@ -28,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "UTLØST" ulm_playing: "Spiller" ulm_paused: "Pauset" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "God morgen" ulm_afternoon: "God ettermiddag" ulm_evening: "God kveld" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/pl.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/pl.yaml index e2f671519..e2c1efc09 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/pl.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/pl.yaml @@ -35,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "Naruszony" ulm_playing: "Odtwarzanie" ulm_paused: "Wstrzymano" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Dzień dobry" ulm_afternoon: "Dzień dobry" ulm_evening: "Dobry wieczór" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/pt.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/pt.yaml index d111ba435..1048de71c 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/pt.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/pt.yaml @@ -35,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "TRIGGERED" ulm_playing: "Playing" ulm_paused: "Paused" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Bom dia" ulm_afternoon: "Boa tarde" ulm_evening: "Boa noite" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/sk.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/sk.yaml index fde5d4fa0..130151718 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/sk.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/sk.yaml @@ -19,6 +19,7 @@ ulm_language_variables: ulm_cooling: "Chladenie" ulm_person_state_home: "doma" ulm_person_state_away: "preč" + ulm_person_state_not_home: "preč" ulm_popups_back: "Späť" ulm_popups_toggle: "Prepnúť" ulm_popups_statistics: "Štatistiky" @@ -34,7 +35,12 @@ ulm_language_variables: ulm_alarm_triggered: "SPUSTENÝ" ulm_playing: "Prehrávanie" ulm_paused: "Pozastavený" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Dobré ráno" ulm_afternoon: "Dobrý deň" ulm_evening: "Dobrý večer" ulm_hello: "Ahoj" + ulm_cleaning: "Cleaning" + ulm_returning: "Returning" + ulm_docked: "Docked" diff --git a/custom_components/ui_lovelace_minimalist/lovelace/translations/sv.yaml b/custom_components/ui_lovelace_minimalist/lovelace/translations/sv.yaml index 2f9479c49..61473451f 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/translations/sv.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/translations/sv.yaml @@ -35,6 +35,8 @@ ulm_language_variables: ulm_alarm_triggered: "LARM UTLÖST" ulm_playing: "Spelar" ulm_paused: "Pausad" + ulm_updates_available: "Updates available!" + ulm_no_updates_available: "No updates available" ulm_morning: "Good morning" ulm_afternoon: "Good afternoon" ulm_evening: "Good evening"