Improve threshold translation strings (#69250)

pull/67973/head^2
Erik Montnemery 2022-04-04 17:45:24 +02:00 committed by GitHub
parent 88c76be5ad
commit c8d4b2ecab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 11 deletions

View File

@ -1,14 +1,14 @@
{
"title": "Threshold Sensor",
"config": {
"step": {
"user": {
"title": "New Threshold Sensor",
"description": "Configure when the sensor should turn on and off.\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
"title": "Add Threshold Sensor",
"description": "Create a binary sensor that turns on and off depending on the value of a sensor\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
"data": {
"entity_id": "Input sensor",
"hysteresis": "Hysteresis",
"lower": "Lower limit",
"mode": "Threshold mode",
"name": "Name",
"upper": "Upper limit"
}
@ -21,12 +21,11 @@
"options": {
"step": {
"init": {
"description": "[%key:component::threshold::config::step::user::description%]",
"description": "Only lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
"data": {
"entity_id": "[%key:component::threshold::config::step::user::data::entity_id%]",
"hysteresis": "[%key:component::threshold::config::step::user::data::hysteresis%]",
"lower": "[%key:component::threshold::config::step::user::data::lower%]",
"mode": "[%key:component::threshold::config::step::user::data::mode%]",
"name": "[%key:component::threshold::config::step::user::data::name%]",
"upper": "[%key:component::threshold::config::step::user::data::upper%]"
}

View File

@ -9,12 +9,11 @@
"entity_id": "Input sensor",
"hysteresis": "Hysteresis",
"lower": "Lower limit",
"mode": "Threshold mode",
"name": "Name",
"upper": "Upper limit"
},
"description": "Configure when the sensor should turn on and off.\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
"title": "New Threshold Sensor"
"description": "Create a binary sensor that turns on and off depending on the value of a sensor\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
"title": "Add Threshold Sensor"
}
}
},
@ -28,12 +27,12 @@
"entity_id": "Input sensor",
"hysteresis": "Hysteresis",
"lower": "Lower limit",
"mode": "Threshold mode",
"name": "Name",
"upper": "Upper limit"
},
"description": "Configure when the sensor should turn on and off.\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit]."
"description": "Only lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit]."
}
}
}
},
"title": "Threshold Sensor"
}