From 90590f1e7d410ce8c9c58a21e632010b8926c916 Mon Sep 17 00:00:00 2001 From: SukramJ Date: Mon, 26 Aug 2024 11:47:44 +0200 Subject: [PATCH] Sort translation json (#713) --- .../homematicip_local/strings.json | 42 +++++++++---------- .../homematicip_local/translations/de.json | 42 +++++++++---------- .../homematicip_local/translations/en.json | 42 +++++++++---------- requirements_test.txt | 4 +- 4 files changed, 65 insertions(+), 65 deletions(-) diff --git a/custom_components/homematicip_local/strings.json b/custom_components/homematicip_local/strings.json index 922f9037..efb060d0 100644 --- a/custom_components/homematicip_local/strings.json +++ b/custom_components/homematicip_local/strings.json @@ -22,12 +22,12 @@ "verify_tls": "verify TLS connection" }, "data_description": { - "instance_name": "Name of the HA instance.\n If you want to connect to the same CCU instance from multiple HA installations this instance_name must be unique on every HA instance.", - "password": "Case sensitive. Allowed characters: A-Z, a-z, 0-9 and .!$():;#-", - "username": "Case sensitive. User must be in admin role.", "callback_host": "To reset the callback host it must be set to one blank character.", "callback_port": "To reset the callback port it must be set to 0.", - "json_port": "To reset the JSON-RPC Port it must be set to 0." + "instance_name": "Name of the HA instance.\n If you want to connect to the same CCU instance from multiple HA installations this instance_name must be unique on every HA instance.", + "json_port": "To reset the JSON-RPC Port it must be set to 0.", + "password": "Case sensitive. Allowed characters: A-Z, a-z, 0-9 and .!$():;#-", + "username": "Case sensitive. User must be in admin role." }, "description": "Please fill the required fields." }, @@ -242,8 +242,8 @@ "heating_cooling": { "name": "Operating mode", "state": { - "heating": "heating", - "cooling": "cooling" + "cooling": "cooling", + "heating": "heating" } } }, @@ -570,6 +570,18 @@ "unknown": "Unexpected error" }, "step": { + "advanced": { + "data": { + "enable_system_notifications": "Enable system notifications", + "sysvar_scan_enabled": "enable Sysvar scan", + "sysvar_scan_interval": "Sysvar/Program scan interval", + "un_ignore": "UN-IGNORE Parameters" + }, + "data_description": { + "un_ignore": "Check the documentation for information about UN-IGNORE" + }, + "description": "Configure the advanced parameters" + }, "central": { "data": { "callback_host": "Callback Hostname/IP-Address", @@ -582,11 +594,11 @@ "verify_tls": "verify TLS connection" }, "data_description": { - "password": "Case sensitive. Allowed characters: A-Z, a-z, 0-9 and .!$():;#-", - "username": "Case sensitive. User must be in admin role.", "callback_host": "To reset the callback host it must be set to one blank character.", "callback_port": "To reset the callback port it must be set to 0.", - "json_port": "To reset the JSON-RPC Port it must be set to 0." + "json_port": "To reset the JSON-RPC Port it must be set to 0.", + "password": "Case sensitive. Allowed characters: A-Z, a-z, 0-9 and .!$():;#-", + "username": "Case sensitive. User must be in admin role." }, "description": "Re-Configure the CCU" }, @@ -604,18 +616,6 @@ "virtual_devices_port": "Groups Port" }, "description": "Re-Configure the interfaces to CCU" - }, - "advanced": { - "data": { - "enable_system_notifications": "Enable system notifications", - "sysvar_scan_enabled": "enable Sysvar scan", - "sysvar_scan_interval": "Sysvar/Program scan interval", - "un_ignore": "UN-IGNORE Parameters" - }, - "data_description": { - "un_ignore": "Check the documentation for information about UN-IGNORE" - }, - "description": "Configure the advanced parameters" } } }, diff --git a/custom_components/homematicip_local/translations/de.json b/custom_components/homematicip_local/translations/de.json index 9337eece..5a557822 100644 --- a/custom_components/homematicip_local/translations/de.json +++ b/custom_components/homematicip_local/translations/de.json @@ -22,12 +22,12 @@ "verify_tls": "TLS Verbindung überprüfen" }, "data_description": { - "instance_name": "Name der HA-Instanz.\n Wenn von mehreren HA-Installationen aus eine Verbindung mit derselben CCU-Instanz herstellt werden soll, muss dieser Instanzname auf jeder HA-Instanz eindeutig sein.", - "password": "Groß-/Kleinschreibung beachten. Erlaubte Zeichen: A-Z, a-z, 0-9 und .!$():;#-", - "username": "Groß-/Kleinschreibung beachten. Benutzer muss die Administratorrolle haben.", "callback_host": "Um den Callback-Host zurückzusetzen, muss der Wert auf ein Leerzeichen gesetzt werden.", "callback_port": "Um den Callback-Port zurückzusetzen, muss der Wert auf 0 gesetzt werden.", - "json_port": "Um den JSON-Port zurückzusetzen, muss der Wert auf 0 gesetzt werden." + "instance_name": "Name der HA-Instanz.\n Wenn von mehreren HA-Installationen aus eine Verbindung mit derselben CCU-Instanz herstellt werden soll, muss dieser Instanzname auf jeder HA-Instanz eindeutig sein.", + "json_port": "Um den JSON-Port zurückzusetzen, muss der Wert auf 0 gesetzt werden.", + "password": "Groß-/Kleinschreibung beachten. Erlaubte Zeichen: A-Z, a-z, 0-9 und .!$():;#-", + "username": "Groß-/Kleinschreibung beachten. Benutzer muss die Administratorrolle haben." }, "description": "Bitte Pflichtfelder ausfüllen" }, @@ -245,8 +245,8 @@ "heating_cooling": { "name": "Betriebsmodus", "state": { - "heating": "Heizung", - "cooling": "Kühlung" + "cooling": "Kühlung", + "heating": "Heizung" } } }, @@ -573,6 +573,18 @@ "unknown": "Unerwarteter Fehler" }, "step": { + "advanced": { + "data": { + "enable_system_notifications": "aktiviere Systembenachrichtigungen", + "sysvar_scan_enabled": "aktiviere Sysvar Scan", + "sysvar_scan_interval": "Sysvar/Program Scan Interval", + "un_ignore": "UN-IGNORE Parameter" + }, + "data_description": { + "un_ignore": "Schauen Sie in die Dokumentation für Informationen über UN-IGNORE" + }, + "description": "Konfiguration der erweiterten Parameter" + }, "central": { "data": { "callback_host": "Callback Hostname/IP-Adresse", @@ -585,11 +597,11 @@ "verify_tls": "TLS Verbindung überprüfen" }, "data_description": { - "password": "Groß-/Kleinschreibung beachten. Erlaubte Zeichen: A-Z, a-z, 0-9 und .!$():;#-", - "username": "Groß-/Kleinschreibung beachten. Benutzer muss die Administratorrolle haben", "callback_host": "Um den Callback-Host zurückzusetzen, muss der Wert auf ein Leerzeichen gesetzt werden.", "callback_port": "Um den Callback-Port zurückzusetzen, muss der Wert auf 0 gesetzt werden.", - "json_port": "Um den JSON-Port zurückzusetzen, muss der Wert auf 0 gesetzt werden." + "json_port": "Um den JSON-Port zurückzusetzen, muss der Wert auf 0 gesetzt werden.", + "password": "Groß-/Kleinschreibung beachten. Erlaubte Zeichen: A-Z, a-z, 0-9 und .!$():;#-", + "username": "Groß-/Kleinschreibung beachten. Benutzer muss die Administratorrolle haben" }, "description": "Neu-Konfiguration der CCU" }, @@ -607,18 +619,6 @@ "virtual_devices_port": "Gruppen Port" }, "description": "Neu-Konfiguration der CCU Schnittstellen" - }, - "advanced": { - "data": { - "enable_system_notifications": "aktiviere Systembenachrichtigungen", - "sysvar_scan_enabled": "aktiviere Sysvar Scan", - "sysvar_scan_interval": "Sysvar/Program Scan Interval", - "un_ignore": "UN-IGNORE Parameter" - }, - "data_description": { - "un_ignore": "Schauen Sie in die Dokumentation für Informationen über UN-IGNORE" - }, - "description": "Konfiguration der erweiterten Parameter" } } }, diff --git a/custom_components/homematicip_local/translations/en.json b/custom_components/homematicip_local/translations/en.json index 922f9037..efb060d0 100644 --- a/custom_components/homematicip_local/translations/en.json +++ b/custom_components/homematicip_local/translations/en.json @@ -22,12 +22,12 @@ "verify_tls": "verify TLS connection" }, "data_description": { - "instance_name": "Name of the HA instance.\n If you want to connect to the same CCU instance from multiple HA installations this instance_name must be unique on every HA instance.", - "password": "Case sensitive. Allowed characters: A-Z, a-z, 0-9 and .!$():;#-", - "username": "Case sensitive. User must be in admin role.", "callback_host": "To reset the callback host it must be set to one blank character.", "callback_port": "To reset the callback port it must be set to 0.", - "json_port": "To reset the JSON-RPC Port it must be set to 0." + "instance_name": "Name of the HA instance.\n If you want to connect to the same CCU instance from multiple HA installations this instance_name must be unique on every HA instance.", + "json_port": "To reset the JSON-RPC Port it must be set to 0.", + "password": "Case sensitive. Allowed characters: A-Z, a-z, 0-9 and .!$():;#-", + "username": "Case sensitive. User must be in admin role." }, "description": "Please fill the required fields." }, @@ -242,8 +242,8 @@ "heating_cooling": { "name": "Operating mode", "state": { - "heating": "heating", - "cooling": "cooling" + "cooling": "cooling", + "heating": "heating" } } }, @@ -570,6 +570,18 @@ "unknown": "Unexpected error" }, "step": { + "advanced": { + "data": { + "enable_system_notifications": "Enable system notifications", + "sysvar_scan_enabled": "enable Sysvar scan", + "sysvar_scan_interval": "Sysvar/Program scan interval", + "un_ignore": "UN-IGNORE Parameters" + }, + "data_description": { + "un_ignore": "Check the documentation for information about UN-IGNORE" + }, + "description": "Configure the advanced parameters" + }, "central": { "data": { "callback_host": "Callback Hostname/IP-Address", @@ -582,11 +594,11 @@ "verify_tls": "verify TLS connection" }, "data_description": { - "password": "Case sensitive. Allowed characters: A-Z, a-z, 0-9 and .!$():;#-", - "username": "Case sensitive. User must be in admin role.", "callback_host": "To reset the callback host it must be set to one blank character.", "callback_port": "To reset the callback port it must be set to 0.", - "json_port": "To reset the JSON-RPC Port it must be set to 0." + "json_port": "To reset the JSON-RPC Port it must be set to 0.", + "password": "Case sensitive. Allowed characters: A-Z, a-z, 0-9 and .!$():;#-", + "username": "Case sensitive. User must be in admin role." }, "description": "Re-Configure the CCU" }, @@ -604,18 +616,6 @@ "virtual_devices_port": "Groups Port" }, "description": "Re-Configure the interfaces to CCU" - }, - "advanced": { - "data": { - "enable_system_notifications": "Enable system notifications", - "sysvar_scan_enabled": "enable Sysvar scan", - "sysvar_scan_interval": "Sysvar/Program scan interval", - "un_ignore": "UN-IGNORE Parameters" - }, - "data_description": { - "un_ignore": "Check the documentation for information about UN-IGNORE" - }, - "description": "Configure the advanced parameters" } } }, diff --git a/requirements_test.txt b/requirements_test.txt index 090fe31b..df507210 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -2,10 +2,10 @@ async-upnp-client==0.40.0 hahomematic==2024.8.13 -homeassistant==2024.8.2 +homeassistant==2024.8.3 mypy==1.11.2 mypy-dev==1.11.0a9 pre-commit==3.8.0 pydevccu==0.1.8 pylint==3.2.6 -pytest-homeassistant-custom-component==0.13.154 +pytest-homeassistant-custom-component==0.13.155