Add name to base strings for config flows (#40947)

* Add name to base strings for config flows

* Fix HA strings.json
This commit is contained in:
springstan 2020-10-03 15:28:42 +02:00 committed by GitHub
parent 7bafa921bb
commit 04daa9a378
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 28 additions and 23 deletions

View file

@ -26,7 +26,7 @@
"finish": {
"title": "Choose a name for the device",
"data": {
"name": "Name"
"name": "[%key:common::config_flow::data::name%]"
}
}
},

View file

@ -9,7 +9,7 @@
"advertise_port": "Advertise port",
"host_ip": "Host IP",
"listen_port": "Listen port",
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"upnp_bind_multicast": "Bind multicast (True/False)"
},
"title": "Define server configuration"

View file

@ -4,7 +4,7 @@
"user": {
"title": "Setup Glances",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"host": "[%key:common::config_flow::data::host%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",

View file

@ -6,7 +6,7 @@
"description": "First, you need to download the Goal Zero app: https://www.goalzero.com/product-features/yeti-app/\n\nFollow the instructions to connect your Yeti to your Wifi network. Then get the host ip from your router. DHCP must be set up in your router settings for the device to ensure the host ip does not change. Refer to your router's user manual.",
"data": {
"host": "[%key:common::config_flow::data::host%]",
"name": "Name"
"name": "[%key:common::config_flow::data::name%]"
}
}
},

View file

@ -5,7 +5,7 @@
"title": "Location",
"description": "Instituto Portugu\u00eas do Mar e Atmosfera",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"latitude": "[%key:common::config_flow::data::latitude%]",
"longitude": "[%key:common::config_flow::data::longitude%]",
"mode": "Mode"

View file

@ -5,7 +5,7 @@
"title": "Location",
"description": "Meteorologisk institutt",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"latitude": "[%key:common::config_flow::data::latitude%]",
"longitude": "[%key:common::config_flow::data::longitude%]",
"elevation": "Elevation"

View file

@ -4,7 +4,7 @@
"user": {
"title": "Set up Mikrotik Router",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"host": "[%key:common::config_flow::data::host%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",

View file

@ -5,7 +5,7 @@
"title": "Link your Minecraft Server",
"description": "Set up your Minecraft Server instance to allow monitoring.",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"host": "[%key:common::config_flow::data::host%]"
}
}
@ -19,4 +19,4 @@
"already_configured": "Host is already configured."
}
}
}
}

View file

@ -5,7 +5,7 @@
"user": {
"title": "Connect to NZBGet",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"host": "[%key:common::config_flow::data::host%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",

View file

@ -23,7 +23,7 @@
},
"manual_input": {
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]"
},

View file

@ -3,7 +3,11 @@
"step": {
"init": {
"title": "OpenTherm Gateway",
"data": { "name": "Name", "device": "Path or URL", "id": "ID" }
"data": {
"name": "[%key:common::config_flow::data::name%]",
"device": "Path or URL",
"id": "ID"
}
}
},
"error": {

View file

@ -7,7 +7,7 @@
"description": "Enter your Panasonic Viera TV's IP address",
"data": {
"host": "[%key:common::config_flow::data::ip%]",
"name": "Name"
"name": "[%key:common::config_flow::data::name%]"
}
},
"pairing": {

View file

@ -5,7 +5,7 @@
"data": {
"host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]",
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"location": "Location",
"api_key": "[%key:common::config_flow::data::api_key%]",
"ssl": "Use SSL",

View file

@ -18,7 +18,7 @@
"description": "Enter your PlayStation 4 information. For 'PIN', navigate to 'Settings' on your PlayStation 4 console. Then navigate to 'Mobile App Connection Settings' and select 'Add Device'. Enter the PIN that is displayed. Refer to the [documentation](https://www.home-assistant.io/components/ps4/) for additional info.",
"data": {
"region": "Region",
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"code": "PIN",
"ip_address": "[%key:common::config_flow::data::ip%]"
}

View file

@ -6,7 +6,7 @@
"description": "Enter your Samsung TV information. If you never connected Home Assistant before you should see a popup on your TV asking for authorization.",
"data": {
"host": "[%key:common::config_flow::data::host%]",
"name": "Name"
"name": "[%key:common::config_flow::data::name%]"
}
},
"confirm": {
@ -22,4 +22,4 @@
"not_supported": "This Samsung TV device is currently not supported."
}
}
}
}

View file

@ -4,7 +4,7 @@
"user": {
"title": "Location in Sweden",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"latitude": "[%key:common::config_flow::data::latitude%]",
"longitude": "[%key:common::config_flow::data::longitude%]"
}

View file

@ -18,7 +18,7 @@
},
"user": {
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"url": "Web interface URL"
}
}

View file

@ -4,7 +4,7 @@
"user": {
"title": "Setup Transmission Client",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"host": "[%key:common::config_flow::data::host%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",
@ -33,4 +33,4 @@
}
}
}
}
}

View file

@ -5,7 +5,7 @@
"title": "VIZIO SmartCast Device",
"description": "An [%key:common::config_flow::data::access_token%] is only needed for TVs. If you are configuring a TV and do not have an [%key:common::config_flow::data::access_token%] yet, leave it blank to go through a pairing process.",
"data": {
"name": "Name",
"name": "[%key:common::config_flow::data::name%]",
"host": "[%key:common::config_flow::data::host%]",
"device_class": "Device Type",
"access_token": "[%key:common::config_flow::data::access_token%]"
@ -50,4 +50,4 @@
}
}
}
}
}

View file

@ -25,6 +25,7 @@
"confirm_setup": "Do you want to start set up?"
},
"data": {
"name": "Name",
"email": "Email",
"username": "Username",
"password": "Password",