From 348a666bf88c262a9edcb7f1fdc5529f057badd7 Mon Sep 17 00:00:00 2001 From: Tim Empringham Date: Wed, 15 Jun 2022 09:49:34 -0400 Subject: [PATCH] Fix translations file so proper prompts show up in setup and configuration config flow dialogues. --- .../omnilogic/translations/en.json | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 custom_components/omnilogic/translations/en.json diff --git a/custom_components/omnilogic/translations/en.json b/custom_components/omnilogic/translations/en.json new file mode 100644 index 0000000..371c6d2 --- /dev/null +++ b/custom_components/omnilogic/translations/en.json @@ -0,0 +1,31 @@ +{ + "title": "Omnilogic", + "config": { + "step": { + "user": { + "data": { + "username": "Username (not email)", + "password": "Password" + } + } + }, + "error": { + "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": "The Omnilogic integration is already configured. Only one instance is allowed." + } + }, + "options": { + "step": { + "init": { + "data": { + "polling_interval": "Polling interval (in seconds)", + "ph_offset": "pH offset (positive or negative)" + } + } + } + } +} \ No newline at end of file