From 5eb59092e6634d9291fc2096678501058392e98e Mon Sep 17 00:00:00 2001 From: Christopher Bailey Date: Wed, 29 Dec 2021 17:27:31 -0500 Subject: [PATCH] Adds missing strings (#63046) --- .../components/unifiprotect/strings.json | 12 ++++++++++++ .../unifiprotect/translations/en.json | 19 +++++++++++++++---- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/unifiprotect/strings.json b/homeassistant/components/unifiprotect/strings.json index e397e0cc922..7b588b762ad 100644 --- a/homeassistant/components/unifiprotect/strings.json +++ b/homeassistant/components/unifiprotect/strings.json @@ -2,8 +2,20 @@ "config": { "step": { "user": { + "title": "UniFi Protect Setup", "data": { "host": "[%key:common::config_flow::data::host%]", + "port": "[%key:common::config_flow::data::port%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]", + "username": "[%key:common::config_flow::data::username%]", + "password": "[%key:common::config_flow::data::password%]" + } + }, + "reauth_confirm": { + "title": "UniFi Protect Reauth", + "data": { + "host": "IP/Host of UniFi Protect Server", + "port": "[%key:common::config_flow::data::port%]", "username": "[%key:common::config_flow::data::username%]", "password": "[%key:common::config_flow::data::password%]" } diff --git a/homeassistant/components/unifiprotect/translations/en.json b/homeassistant/components/unifiprotect/translations/en.json index ec696a123e9..a04e3abe137 100644 --- a/homeassistant/components/unifiprotect/translations/en.json +++ b/homeassistant/components/unifiprotect/translations/en.json @@ -6,16 +6,27 @@ "error": { "cannot_connect": "Failed to connect", "invalid_auth": "Invalid authentication", - "protect_version": "Minimum required version is v1.20.0. Please upgrade UniFi Protect and then retry.", - "unknown": "Unexpected error" + "protect_version": "Minimum required version is v1.20.0. Please upgrade UniFi Protect and then retry." }, "step": { + "reauth_confirm": { + "data": { + "host": "IP/Host of UniFi Protect Server", + "password": "Password", + "port": "Port", + "username": "Username" + }, + "title": "UniFi Protect Reauth" + }, "user": { "data": { "host": "Host", "password": "Password", - "username": "Username" - } + "port": "Port", + "username": "Username", + "verify_ssl": "Verify SSL certificate" + }, + "title": "UniFi Protect Setup" } } },