From 560b6976c7420be04700bb134963a14c925099c5 Mon Sep 17 00:00:00 2001 From: Maxime Yvon <44422604+maxyvon@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:39:36 -0500 Subject: [PATCH] Add text to recondfirgure form --- custom_components/hilo/translations/en.json | 13 +++++++++++-- custom_components/hilo/translations/fr.json | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/custom_components/hilo/translations/en.json b/custom_components/hilo/translations/en.json index 62104fe..1caf0c4 100755 --- a/custom_components/hilo/translations/en.json +++ b/custom_components/hilo/translations/en.json @@ -7,6 +7,14 @@ "username": "Hilo Username", "password": "Hilo Password" } + }, + "reauth_confirm": { + "title": "Credentials", + "description": "The integration needs to re-authenticate your account", + "data": { + "username": "Hilo Username", + "password": "Hilo Password" + } } }, "error": { @@ -15,7 +23,8 @@ "unknown": "[%key:common::config_flow::error::unknown%]" }, "abort": { - "already_configured": "This Hilo account is already in use." + "already_configured": "This Hilo account is already in use.", + "reauth_successful": "Re-authentication successful" } }, "options": { @@ -36,4 +45,4 @@ } } } -} +} \ No newline at end of file diff --git a/custom_components/hilo/translations/fr.json b/custom_components/hilo/translations/fr.json index d3f7793..34dc3b6 100755 --- a/custom_components/hilo/translations/fr.json +++ b/custom_components/hilo/translations/fr.json @@ -7,6 +7,14 @@ "username": "Nom d'utilisateur Hilo", "password": "Mot de passe Hilo" } + }, + "reauth_confirm": { + "title": "Identifiants", + "description": "L'intégration doit ré-authentifier votre compte", + "data": { + "username": "Nom d'utilisateur Hilo", + "password": "Mot de passe Hilo" + } } }, "error": { @@ -15,7 +23,8 @@ "unknown": "[%key:common::config_flow::error::unknown%]" }, "abort": { - "already_configured": "Ce compte Hilo est déjà utilisé." + "already_configured": "Ce compte Hilo est déjà utilisé.", + "reauth_successful": "Ré-authentification réussie" } }, "options": { @@ -36,4 +45,4 @@ } } } -} +} \ No newline at end of file