From 940d519ad98b42e929c3a46aa9dd747b4b7844b2 Mon Sep 17 00:00:00 2001 From: Filip Van Ham Date: Sat, 28 Nov 2020 14:56:31 +0100 Subject: [PATCH] add abort message when no coco was found --- custom_components/nhc2/strings.json | 3 ++- custom_components/nhc2/translations/en.json | 3 ++- custom_components/nhc2/translations/nl.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/custom_components/nhc2/strings.json b/custom_components/nhc2/strings.json index 305b378c..0edc38ed 100644 --- a/custom_components/nhc2/strings.json +++ b/custom_components/nhc2/strings.json @@ -19,7 +19,8 @@ } }, "abort": { - "single_instance_allowed": "Controller and profile already added." + "single_instance_allowed": "Controller and profile already added.", + "no_controller_found": "No controller was found." }, "error": { "login_check_fail_1": "Connection refused - incorrect protocol version", diff --git a/custom_components/nhc2/translations/en.json b/custom_components/nhc2/translations/en.json index 305b378c..0edc38ed 100644 --- a/custom_components/nhc2/translations/en.json +++ b/custom_components/nhc2/translations/en.json @@ -19,7 +19,8 @@ } }, "abort": { - "single_instance_allowed": "Controller and profile already added." + "single_instance_allowed": "Controller and profile already added.", + "no_controller_found": "No controller was found." }, "error": { "login_check_fail_1": "Connection refused - incorrect protocol version", diff --git a/custom_components/nhc2/translations/nl.json b/custom_components/nhc2/translations/nl.json index 5c7ca40a..01c05488 100644 --- a/custom_components/nhc2/translations/nl.json +++ b/custom_components/nhc2/translations/nl.json @@ -19,7 +19,8 @@ } }, "abort": { - "single_instance_allowed": "Controller en profiel reeds toegevoegd." + "single_instance_allowed": "Controller en profiel reeds toegevoegd.", + "no_controller_found": "Controller niet gevonden." }, "error": { "login_check_fail_1": "Verbinding geweigerd - onjuiste protocolversie",