From ed1ce7d9f97fda00c90e85cacf89c9f87dae2131 Mon Sep 17 00:00:00 2001 From: Hans Oischinger Date: Fri, 17 Dec 2021 15:43:41 +0100 Subject: [PATCH] Add vicare strings (#61593) * Add vicare strings * Remove duplicates * Remove duplicates from english translation * Add missing strings --- homeassistant/components/vicare/strings.json | 26 +++++++++++++++++++ .../components/vicare/translations/en.json | 26 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 homeassistant/components/vicare/strings.json create mode 100644 homeassistant/components/vicare/translations/en.json diff --git a/homeassistant/components/vicare/strings.json b/homeassistant/components/vicare/strings.json new file mode 100644 index 00000000000..bf6b40fb6b2 --- /dev/null +++ b/homeassistant/components/vicare/strings.json @@ -0,0 +1,26 @@ +{ + "config": { + "flow_title": "{name} ({host})", + "step": { + "user": { + "title": "{name}", + "description": "Set up ViCare integration. To generate API key go to https://developer.viessmann.com", + "data": { + "name": "[%key:common::config_flow::data::name%]", + "scan_interval": "Scan Interval (seconds)", + "username": "[%key:common::config_flow::data::email%]", + "password": "[%key:common::config_flow::data::password%]", + "client_id": "[%key:common::config_flow::data::api_key%]", + "heating_type": "Heating type" + } + } + }, + "error": { + "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]" + }, + "abort": { + "single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]", + "unknown": "[%key:common::config_flow::error::unknown%]" + } + } +} \ No newline at end of file diff --git a/homeassistant/components/vicare/translations/en.json b/homeassistant/components/vicare/translations/en.json new file mode 100644 index 00000000000..d693cbe76cc --- /dev/null +++ b/homeassistant/components/vicare/translations/en.json @@ -0,0 +1,26 @@ +{ + "config": { + "abort": { + "single_instance_allowed": "Already configured. Only a single configuration possible.", + "unknown": "Unexpected error" + }, + "error": { + "invalid_auth": "Invalid authentication" + }, + "flow_title": "{name} ({host})", + "step": { + "user": { + "data": { + "name": "Name", + "scan_interval": "Scan Interval (seconds)", + "client_id": "API Key", + "heating_type": "Heating type", + "password": "Password", + "username": "Email" + }, + "title": "{name}", + "description": "Set up ViCare integration. To generate API key go to https://developer.viessmann.com" + } + } + } +} \ No newline at end of file