Add already_configured_location to base strings for config flows (#41335)

* Add already_configured_location key

* Use already_configured_location in Airly

* Use already_configured_location in Flu Near You

* Use already_configured_location in OpenUV

* Use already_configured_location in Open Weather Map

* Use already_configured_location in AirVisual
pull/41631/head
Maciej Bieniek 2020-10-07 05:34:06 +02:00 committed by GitHub
parent 4c86e99ccf
commit 81ceb3e499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 6 deletions

View File

@ -17,7 +17,7 @@
"invalid_api_key": "[%key:common::config_flow::error::invalid_api_key%]"
},
"abort": {
"already_configured": "Airly integration for these coordinates is already configured."
"already_configured": "[%key:common::config_flow::abort::already_configured_location%]"
}
}
}

View File

@ -34,7 +34,7 @@
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
},
"abort": {
"already_configured": "These coordinates or Node/Pro ID are already registered."
"already_configured": "[%key:common::config_flow::abort::already_configured_location%] or Node/Pro ID is already registered."
}
},
"options": {

View File

@ -14,7 +14,7 @@
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {
"already_configured": "These coordinates are already registered."
"already_configured": "[%key:common::config_flow::abort::already_configured_location%]"
}
}
}

View File

@ -16,7 +16,7 @@
"invalid_api_key": "[%key:common::config_flow::error::invalid_api_key%]"
},
"abort": {
"already_configured": "These coordinates are already registered."
"already_configured": "[%key:common::config_flow::abort::already_configured_location%]"
}
}
}

View File

@ -1,7 +1,7 @@
{
"config": {
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_service%] for these coordinates."
"already_configured": "[%key:common::config_flow::abort::already_configured_location%]"
},
"error": {
"invalid_api_key": "[%key:common::config_flow::error::invalid_api_key%]",

View File

@ -56,8 +56,9 @@
"abort": {
"single_instance_allowed": "Already configured. Only a single configuration possible.",
"already_configured_account": "Account is already configured",
"already_configured_service": "Service is already configured",
"already_configured_device": "Device is already configured",
"already_configured_location": "Location is already configured",
"already_configured_service": "Service is already configured",
"already_in_progress": "Configuration flow is already in progress",
"no_devices_found": "No devices found on the network",
"oauth2_missing_configuration": "The component is not configured. Please follow the documentation.",