Add location to base strings for config flows (#42374)

This commit is contained in:
springstan 2020-10-25 23:41:26 +01:00 committed by GitHub
parent cbf6086c30
commit fe62543a25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,7 @@
"config": { "config": {
"step": { "step": {
"user": { "user": {
"title": "Location", "title": "[%key:common::config_flow::data::location%]",
"description": "Instituto Portugu\u00eas do Mar e Atmosfera", "description": "Instituto Portugu\u00eas do Mar e Atmosfera",
"data": { "data": {
"name": "[%key:common::config_flow::data::name%]", "name": "[%key:common::config_flow::data::name%]",

View file

@ -2,7 +2,7 @@
"config": { "config": {
"step": { "step": {
"user": { "user": {
"title": "Location", "title": "[%key:common::config_flow::data::location%]",
"description": "Meteorologisk institutt", "description": "Meteorologisk institutt",
"data": { "data": {
"name": "[%key:common::config_flow::data::name%]", "name": "[%key:common::config_flow::data::name%]",

View file

@ -6,7 +6,7 @@
"host": "[%key:common::config_flow::data::host%]", "host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]", "port": "[%key:common::config_flow::data::port%]",
"name": "[%key:common::config_flow::data::name%]", "name": "[%key:common::config_flow::data::name%]",
"location": "Location", "location": "[%key:common::config_flow::data::location%]",
"api_key": "[%key:common::config_flow::data::api_key%]", "api_key": "[%key:common::config_flow::data::api_key%]",
"ssl": "[%key:common::config_flow::data::ssl%]", "ssl": "[%key:common::config_flow::data::ssl%]",
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"

View file

@ -15,7 +15,7 @@
"select_location": { "select_location": {
"title": "Select Location", "title": "Select Location",
"description": "Please select the SmartThings Location you wish to add to Home Assistant. We will then open a new window and ask you to login and authorize installation of the Home Assistant integration into the selected location.", "description": "Please select the SmartThings Location you wish to add to Home Assistant. We will then open a new window and ask you to login and authorize installation of the Home Assistant integration into the selected location.",
"data": { "location_id": "Location" } "data": { "location_id": "[%key:common::config_flow::data::location%]" }
}, },
"authorize": { "title": "Authorize Home Assistant" } "authorize": { "title": "Authorize Home Assistant" }
}, },

View file

@ -42,6 +42,7 @@
"verify_ssl": "Verify SSL certificate", "verify_ssl": "Verify SSL certificate",
"longitude": "Longitude", "longitude": "Longitude",
"latitude": "Latitude", "latitude": "Latitude",
"location": "Location",
"pin": "PIN Code" "pin": "PIN Code"
}, },
"create_entry": { "create_entry": {