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