1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00

Improve tod translation strings (#69251)

This commit is contained in:
Erik Montnemery 2022-04-04 17:43:25 +02:00 committed by GitHub
parent fa07dd660f
commit 88c76be5ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 16 deletions

View File

@ -1,13 +1,12 @@
{
"title": "Times of the Day Sensor",
"config": {
"step": {
"user": {
"title": "New Times of the Day Sensor",
"description": "Configure when the sensor should turn on and off.",
"title": "Add Times of the Day Sensor",
"description": "Create a binary sensor that turns on or off depending on the time.",
"data": {
"after": "On after",
"after_time": "On time",
"before": "Off after",
"before_time": "Off time",
"name": "Name"
}
@ -17,11 +16,8 @@
"options": {
"step": {
"init": {
"description": "[%key:component::tod::config::step::user::description%]",
"data": {
"after": "[%key:component::tod::config::step::user::data::after%]",
"after_time": "[%key:component::tod::config::step::user::data::after_time%]",
"before": "[%key:component::tod::config::step::user::data::before%]",
"before_time": "[%key:component::tod::config::step::user::data::before_time%]"
}
}

View File

@ -3,14 +3,12 @@
"step": {
"user": {
"data": {
"after": "On after",
"after_time": "On time",
"before": "Off after",
"before_time": "Off time",
"name": "Name"
},
"description": "Configure when the sensor should turn on and off.",
"title": "New Times of the Day Sensor"
"description": "Create a binary sensor that turns on or off depending on the time.",
"title": "Add Times of the Day Sensor"
}
}
},
@ -18,13 +16,11 @@
"step": {
"init": {
"data": {
"after": "On after",
"after_time": "On time",
"before": "Off after",
"before_time": "Off time"
},
"description": "Configure when the sensor should turn on and off."
}
}
}
}
},
"title": "Times of the Day Sensor"
}