mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Add data description strings to Tankerkoenig (#149519)
Co-authored-by: Josef Zweck <josef@zweck.dev> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
c99d81a554
commit
431b2aa1d5
@ -1,4 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"common": {
|
||||||
|
"data_description_api_key": "The tankerkoenig API key to be used.",
|
||||||
|
"data_description_location": "Pick the location where to search for gas stations.",
|
||||||
|
"data_description_name": "The name of the particular region to be added.",
|
||||||
|
"data_description_radius": "The radius in kilometers to search for gas stations around the selected location.",
|
||||||
|
"data_description_stations": "Select the stations you want to add to Home Assistant."
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"user": {
|
"user": {
|
||||||
@ -6,13 +13,21 @@
|
|||||||
"name": "Region name",
|
"name": "Region name",
|
||||||
"api_key": "[%key:common::config_flow::data::api_key%]",
|
"api_key": "[%key:common::config_flow::data::api_key%]",
|
||||||
"location": "[%key:common::config_flow::data::location%]",
|
"location": "[%key:common::config_flow::data::location%]",
|
||||||
"stations": "Additional fuel stations",
|
|
||||||
"radius": "Search radius"
|
"radius": "Search radius"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"name": "[%key:component::tankerkoenig::common::data_description_name%]",
|
||||||
|
"api_key": "[%key:component::tankerkoenig::common::data_description_api_key%]",
|
||||||
|
"location": "[%key:component::tankerkoenig::common::data_description_location%]",
|
||||||
|
"radius": "[%key:component::tankerkoenig::common::data_description_radius%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"reauth_confirm": {
|
"reauth_confirm": {
|
||||||
"data": {
|
"data": {
|
||||||
"api_key": "[%key:common::config_flow::data::api_key%]"
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"api_key": "[%key:component::tankerkoenig::common::data_description_api_key%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"select_station": {
|
"select_station": {
|
||||||
@ -20,6 +35,9 @@
|
|||||||
"description": "Found {stations_count} stations in radius",
|
"description": "Found {stations_count} stations in radius",
|
||||||
"data": {
|
"data": {
|
||||||
"stations": "Stations"
|
"stations": "Stations"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"stations": "[%key:component::tankerkoenig::common::data_description_stations%]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -39,6 +57,10 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"stations": "[%key:component::tankerkoenig::config::step::select_station::data::stations%]",
|
"stations": "[%key:component::tankerkoenig::config::step::select_station::data::stations%]",
|
||||||
"show_on_map": "Show stations on map"
|
"show_on_map": "Show stations on map"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"stations": "[%key:component::tankerkoenig::common::data_description_stations%]",
|
||||||
|
"show_on_map": "Whether to show the station sensors on the map or not."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user