From 14787e03c4d275f46f446921a3ee133fc7cfd1b1 Mon Sep 17 00:00:00 2001 From: RyanClark123 Date: Wed, 9 Oct 2024 16:31:45 +0100 Subject: [PATCH] Correct strings for password and connection error ### Fix * Fix strings for password and connection error in all languages --- custom_components/owlet/translations/en.json | 6 +++--- custom_components/owlet/translations/fr.json | 8 ++++---- custom_components/owlet/translations/uk.json | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/custom_components/owlet/translations/en.json b/custom_components/owlet/translations/en.json index 273a7a4..2d0cec1 100644 --- a/custom_components/owlet/translations/en.json +++ b/custom_components/owlet/translations/en.json @@ -5,18 +5,18 @@ "data": { "region": "Region", "username": "Email", - "password": "[%key:common::config_flow::data::password%]" + "password": "Password" } }, "reauth_confirm": { "title": "Reauthentiaction required for Owlet", "data": { - "password": "[%key:common::config_flow::data::password%]" + "password": "Password" } } }, "error": { - "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", + "cannot_connect": "Failed to connect", "invalid_email": "Entered email address is incorrect", "invalid_password": "Entered password is incorrect", "invalid_credentials": "Entered credentials are incorrect", diff --git a/custom_components/owlet/translations/fr.json b/custom_components/owlet/translations/fr.json index 31e0d56..cabb7cc 100644 --- a/custom_components/owlet/translations/fr.json +++ b/custom_components/owlet/translations/fr.json @@ -5,18 +5,18 @@ "data": { "region": "Région", "username": "Email", - "password": "[%key:common::config_flow::data::password%]" + "password": "Mot de passe" } }, "reauth_confirm": { "title": "Réauthentification requise pour Owlet", "data": { - "password": "[%key:common::config_flow::data::password%]" + "password": "Mot de passe" } } }, "error": { - "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", + "cannot_connect": "N'a pas réussi à se connecter", "invalid_email": "L'adresse e-mail saisie est incorrecte", "invalid_password": "Le mot de passe saisi est incorrect", "invalid_credentials": "Les informations d'identification saisies sont incorrectes", @@ -118,4 +118,4 @@ } } } -} +} \ No newline at end of file diff --git a/custom_components/owlet/translations/uk.json b/custom_components/owlet/translations/uk.json index 3bf9f63..eb3ae03 100644 --- a/custom_components/owlet/translations/uk.json +++ b/custom_components/owlet/translations/uk.json @@ -5,18 +5,18 @@ "data": { "region": "Region", "username": "Email", - "password": "[%key:common::config_flow::data::password%]" + "password": "Password" } }, "reauth_confirm": { "title": "Reauthentiaction required for Owlet", "data": { - "password": "[%key:common::config_flow::data::password%]" + "password": "Password" } } }, "error": { - "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", + "cannot_connect": "Failed to connect", "invalid_email": "Entered email address is incorrect", "invalid_password": "Entered password is incorrect", "invalid_credentials": "Entered credentials are incorrect",