Improve config flow strings for Alexa Devices (#147523)

This commit is contained in:
Simone Chemelli 2025-06-26 11:52:14 +03:00 committed by GitHub
parent fb133664e4
commit 79df38eff2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,7 @@
{ {
"common": { "common": {
"data_country": "Country code",
"data_code": "One-time password (OTP code)", "data_code": "One-time password (OTP code)",
"data_description_country": "The country of your Amazon account.", "data_description_country": "The country where your Amazon account is registered.",
"data_description_username": "The email address of your Amazon account.", "data_description_username": "The email address of your Amazon account.",
"data_description_password": "The password of your Amazon account.", "data_description_password": "The password of your Amazon account.",
"data_description_code": "The one-time password to log in to your account. Currently, only tokens from OTP applications are supported." "data_description_code": "The one-time password to log in to your account. Currently, only tokens from OTP applications are supported."
@ -12,10 +11,10 @@
"step": { "step": {
"user": { "user": {
"data": { "data": {
"country": "[%key:component::alexa_devices::common::data_country%]", "country": "[%key:common::config_flow::data::country%]",
"username": "[%key:common::config_flow::data::username%]", "username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]", "password": "[%key:common::config_flow::data::password%]",
"code": "[%key:component::alexa_devices::common::data_description_code%]" "code": "[%key:component::alexa_devices::common::data_code%]"
}, },
"data_description": { "data_description": {
"country": "[%key:component::alexa_devices::common::data_description_country%]", "country": "[%key:component::alexa_devices::common::data_description_country%]",