Add mode to base strings for config flows (#42373)

pull/42443/head
springstan 2020-10-27 05:29:49 +01:00 committed by GitHub
parent 67269659f7
commit caa378d7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

View File

@ -7,7 +7,7 @@
},
"init": {
"data": {
"mode": "Mode",
"mode": "[%key:common::config_flow::data::mode%]",
"include_domains": "[%key:component::homekit::config::step::user::data::include_domains%]"
},
"description": "HomeKit can be configured expose a bridge or a single accessory. In accessory mode, only a single entity can be used. Accessory mode is required for media players with the TV device class to function properly. Entities in the \u201cDomains to include\u201d will be exposed to HomeKit. You will be able to select which entities to include or exclude from this list on the next screen.",
@ -15,7 +15,7 @@
},
"include_exclude": {
"data": {
"mode": "Mode",
"mode": "[%key:common::config_flow::data::mode%]",
"entities": "Entities"
},
"description": "Choose the entities to be exposed. In accessory mode, only a single entity is exposed. In bridge include mode, all entities in the domain will be exposed unless specific entities are selected. In bridge exclude mode, all entities in the domain will be exposed except for the excluded entities.",

View File

@ -8,7 +8,7 @@
"name": "[%key:common::config_flow::data::name%]",
"latitude": "[%key:common::config_flow::data::latitude%]",
"longitude": "[%key:common::config_flow::data::longitude%]",
"mode": "Mode"
"mode": "[%key:common::config_flow::data::mode%]"
}
}
},

View File

@ -14,7 +14,7 @@
"language": "Language",
"latitude": "[%key:common::config_flow::data::latitude%]",
"longitude": "[%key:common::config_flow::data::longitude%]",
"mode": "Mode",
"mode": "[%key:common::config_flow::data::mode%]",
"name": "Name of the integration"
},
"description": "Set up OpenWeatherMap integration. To generate API key go to https://openweathermap.org/appid",
@ -27,7 +27,7 @@
"init": {
"data": {
"language": "Language",
"mode": "Mode"
"mode": "[%key:common::config_flow::data::mode%]"
}
}
}

View File

@ -43,7 +43,8 @@
"longitude": "Longitude",
"latitude": "Latitude",
"location": "Location",
"pin": "PIN Code"
"pin": "PIN Code",
"mode": "Mode"
},
"create_entry": {
"authenticated": "Successfully authenticated"