From f1c4905dfdc64b2edc00c30503f7c532cfdf6cf0 Mon Sep 17 00:00:00 2001 From: Tim Empringham Date: Wed, 8 Jun 2022 09:41:37 -0400 Subject: [PATCH] Remove translations for custom integration which are not appearing correctly. --- custom_components/omnilogic/strings.json | 12 ++++---- .../omnilogic/translations/ca.json | 30 ------------------- .../omnilogic/translations/de.json | 13 -------- .../omnilogic/translations/en.json | 30 ------------------- .../omnilogic/translations/es.json | 30 ------------------- .../omnilogic/translations/it.json | 30 ------------------- .../omnilogic/translations/ko.json | 30 ------------------- .../omnilogic/translations/nl.json | 12 -------- .../omnilogic/translations/ru.json | 30 ------------------- .../omnilogic/translations/zh-Hant.json | 30 ------------------- 10 files changed, 6 insertions(+), 241 deletions(-) delete mode 100644 custom_components/omnilogic/translations/ca.json delete mode 100644 custom_components/omnilogic/translations/de.json delete mode 100644 custom_components/omnilogic/translations/en.json delete mode 100644 custom_components/omnilogic/translations/es.json delete mode 100644 custom_components/omnilogic/translations/it.json delete mode 100644 custom_components/omnilogic/translations/ko.json delete mode 100644 custom_components/omnilogic/translations/nl.json delete mode 100644 custom_components/omnilogic/translations/ru.json delete mode 100644 custom_components/omnilogic/translations/zh-Hant.json diff --git a/custom_components/omnilogic/strings.json b/custom_components/omnilogic/strings.json index 077930b..371c6d2 100644 --- a/custom_components/omnilogic/strings.json +++ b/custom_components/omnilogic/strings.json @@ -4,18 +4,18 @@ "step": { "user": { "data": { - "username": "[%key:common::config_flow::data::username%]", - "password": "[%key:common::config_flow::data::password%]" + "username": "Username (not email)", + "password": "Password" } } }, "error": { - "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", - "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", - "unknown": "[%key:common::config_flow::error::unknown%]" + "cannot_connect": "Can't connect to Hayward Omnilogic. Please try again.", + "invalid_auth": "Invalid Hayward credentials. Ensure you are using your username to log in and try again.", + "unknown": "Unknown error. Please try again." }, "abort": { - "single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]" + "single_instance_allowed": "The Omnilogic integration is already configured. Only one instance is allowed." } }, "options": { diff --git a/custom_components/omnilogic/translations/ca.json b/custom_components/omnilogic/translations/ca.json deleted file mode 100644 index 53c8755..0000000 --- a/custom_components/omnilogic/translations/ca.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "config": { - "abort": { - "single_instance_allowed": "Ja configurat. Nom\u00e9s \u00e9s possible una sola configuraci\u00f3." - }, - "error": { - "cannot_connect": "Ha fallat la connexi\u00f3", - "invalid_auth": "Autenticaci\u00f3 inv\u00e0lida", - "unknown": "Error inesperat" - }, - "step": { - "user": { - "data": { - "password": "Contrasenya", - "username": "Nom d'usuari" - } - } - } - }, - "options": { - "step": { - "init": { - "data": { - "polling_interval": "Interval d'escaneig (segons)" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file diff --git a/custom_components/omnilogic/translations/de.json b/custom_components/omnilogic/translations/de.json deleted file mode 100644 index c400283..0000000 --- a/custom_components/omnilogic/translations/de.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "config": { - "step": { - "user": { - "data": { - "password": "Passwort", - "username": "Benutzername" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file diff --git a/custom_components/omnilogic/translations/en.json b/custom_components/omnilogic/translations/en.json deleted file mode 100644 index 8dde40b..0000000 --- a/custom_components/omnilogic/translations/en.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "config": { - "abort": { - "single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]" - }, - "error": { - "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", - "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", - "unknown": "[%key:common::config_flow::error::unknown%]" - }, - "step": { - "user": { - "data": { - "password": "[%key:common::config_flow::data::password%]", - "username": "[%key:common::config_flow::data::username%]" - } - } - } - }, - "options": { - "step": { - "init": { - "data": { - "polling_interval": "Polling interval (in seconds)" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file diff --git a/custom_components/omnilogic/translations/es.json b/custom_components/omnilogic/translations/es.json deleted file mode 100644 index 849cd73..0000000 --- a/custom_components/omnilogic/translations/es.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "config": { - "abort": { - "single_instance_allowed": "Ya est\u00e1 configurado. S\u00f3lo es posible una \u00fanica configuraci\u00f3n." - }, - "error": { - "cannot_connect": "No se pudo conectar", - "invalid_auth": "Autenticaci\u00f3n no v\u00e1lida", - "unknown": "Error inesperado" - }, - "step": { - "user": { - "data": { - "password": "Contrase\u00f1a", - "username": "Usuario" - } - } - } - }, - "options": { - "step": { - "init": { - "data": { - "polling_interval": "Intervalo de sondeo (en segundos)" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file diff --git a/custom_components/omnilogic/translations/it.json b/custom_components/omnilogic/translations/it.json deleted file mode 100644 index 38ace99..0000000 --- a/custom_components/omnilogic/translations/it.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "config": { - "abort": { - "single_instance_allowed": "Gi\u00e0 configurato. \u00c8 possibile una sola configurazione." - }, - "error": { - "cannot_connect": "Impossibile connettersi", - "invalid_auth": "Autenticazione non valida", - "unknown": "Errore imprevisto" - }, - "step": { - "user": { - "data": { - "password": "Password", - "username": "Nome utente" - } - } - } - }, - "options": { - "step": { - "init": { - "data": { - "polling_interval": "Intervallo di scansione (in secondi)" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file diff --git a/custom_components/omnilogic/translations/ko.json b/custom_components/omnilogic/translations/ko.json deleted file mode 100644 index 686ca52..0000000 --- a/custom_components/omnilogic/translations/ko.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "config": { - "abort": { - "single_instance_allowed": "\uc774\ubbf8 \uc124\uc815\ub418\uc5b4 \uc788\uc74c. \ud558\ub098\uc758 \uc124\uc815\ub9cc \uac00\ub2a5\ud568." - }, - "error": { - "cannot_connect": "\uc5f0\uacb0 \uc2e4\ud328", - "invalid_auth": "\uc798\ubabb\ub41c \uc778\uc99d", - "unknown": "\uc608\uc0c1\uce58 \ubabb\ud55c \uc5d0\ub7ec" - }, - "step": { - "user": { - "data": { - "password": "\uc554\ud638", - "username": "\uc0ac\uc6a9\uc790\uba85" - } - } - } - }, - "options": { - "step": { - "init": { - "data": { - "polling_interval": "\ud3f4\ub9c1 \uac04\uaca9(\ucd08)" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file diff --git a/custom_components/omnilogic/translations/nl.json b/custom_components/omnilogic/translations/nl.json deleted file mode 100644 index 2f7e9cf..0000000 --- a/custom_components/omnilogic/translations/nl.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "config": { - "step": { - "user": { - "data": { - "username": "Benutzername" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file diff --git a/custom_components/omnilogic/translations/ru.json b/custom_components/omnilogic/translations/ru.json deleted file mode 100644 index 3b05c74..0000000 --- a/custom_components/omnilogic/translations/ru.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "config": { - "abort": { - "single_instance_allowed": "\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0443\u0436\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0443 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e." - }, - "error": { - "cannot_connect": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f.", - "invalid_auth": "\u041d\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f.", - "unknown": "\u041d\u0435\u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043d\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430." - }, - "step": { - "user": { - "data": { - "password": "\u041f\u0430\u0440\u043e\u043b\u044c", - "username": "\u041b\u043e\u0433\u0438\u043d" - } - } - } - }, - "options": { - "step": { - "init": { - "data": { - "polling_interval": "\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430 (\u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445)" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file diff --git a/custom_components/omnilogic/translations/zh-Hant.json b/custom_components/omnilogic/translations/zh-Hant.json deleted file mode 100644 index 335e26c..0000000 --- a/custom_components/omnilogic/translations/zh-Hant.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "config": { - "abort": { - "single_instance_allowed": "\u50c5\u80fd\u8a2d\u5b9a\u4e00\u7d44\u8a2d\u5099\u3002" - }, - "error": { - "cannot_connect": "\u9023\u7dda\u5931\u6557", - "invalid_auth": "\u9a57\u8b49\u78bc\u7121\u6548", - "unknown": "\u672a\u9810\u671f\u932f\u8aa4" - }, - "step": { - "user": { - "data": { - "password": "\u5bc6\u78bc", - "username": "\u4f7f\u7528\u8005\u540d\u7a31" - } - } - } - }, - "options": { - "step": { - "init": { - "data": { - "polling_interval": "\u66f4\u65b0\u9593\u8ddd\uff08\u79d2\uff09" - } - } - } - }, - "title": "Omnilogic" -} \ No newline at end of file