From a3aee85335b0fe6fe12dcb1939dd9761a53e5b05 Mon Sep 17 00:00:00 2001 From: Matej Plavevski Date: Fri, 2 Oct 2020 21:57:26 +0200 Subject: [PATCH] Use reference strings in JuiceNet (#41021) * Reference Strings for JuiceNet * Update strings.json * Add Reference String for API Token --- homeassistant/components/juicenet/strings.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/juicenet/strings.json b/homeassistant/components/juicenet/strings.json index 4c8ffb8c62f..dd1b8924adb 100644 --- a/homeassistant/components/juicenet/strings.json +++ b/homeassistant/components/juicenet/strings.json @@ -1,17 +1,17 @@ { "config": { "abort": { - "already_configured": "This JuiceNet account is already configured" + "already_configured": "[%key:common::config_flow::abort::already_configured_account%]" }, "error": { - "cannot_connect": "Failed to connect, please try again", - "invalid_auth": "Invalid authentication", - "unknown": "Unexpected 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": { - "api_token": "JuiceNet API Token" + "api_token": "[%key:common::config_flow::data::api_key%]" }, "description": "You will need the API Token from https://home.juice.net/Manage.", "title": "Connect to JuiceNet"