From f90ee7c7624ab93a5201dba4a9760e2cd92008a5 Mon Sep 17 00:00:00 2001 From: Jezza34000 <57314417+Jezza34000@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:26:26 +0100 Subject: [PATCH] add key for errors auth --- custom_components/veolia/translations/en.json | 4 ++-- custom_components/veolia/translations/fr.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/custom_components/veolia/translations/en.json b/custom_components/veolia/translations/en.json index afd45c5..68ab38f 100644 --- a/custom_components/veolia/translations/en.json +++ b/custom_components/veolia/translations/en.json @@ -12,8 +12,8 @@ } }, "error": { - "invalid_auth": "Invalid authentication", - "cannot_connect": "Failed to connect" + "invalid_credentials": "Username or password is incorrect", + "unknown": "Unable to connect, check logs for more information" }, "abort": { "already_configured": "This account is already configured" diff --git a/custom_components/veolia/translations/fr.json b/custom_components/veolia/translations/fr.json index b931e61..813122f 100644 --- a/custom_components/veolia/translations/fr.json +++ b/custom_components/veolia/translations/fr.json @@ -12,8 +12,8 @@ } }, "error": { - "invalid_auth": "Authentification invalide", - "cannot_connect": "Impossible de se connecter" + "invalid_credentials": "Nom d'utilisateur ou mot de passe incorrect", + "unknown": "Impossible de se connecter, consultez les journaux pour plus d'informations" }, "abort": { "already_configured": "Ce compte est déjà configuré"