1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00

Improve derivative translation strings (#69245)

This commit is contained in:
Erik Montnemery 2022-04-04 14:14:26 +02:00 committed by GitHub
parent 9c1f37aa95
commit c058478edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 8 deletions

View File

@ -1,8 +1,9 @@
{
"title": "Derivative sensor",
"config": {
"step": {
"user": {
"title": "New Derivative sensor",
"title": "Add Derivative sensor",
"description": "Create a sensor that estimates the derivative of a sensor.",
"data": {
"name": "Name",
@ -15,14 +16,14 @@
"data_description": {
"round": "Controls the number of decimal digits in the output.",
"time_window": "If set, the sensor's value is a time weighted moving average of derivatives within this window.",
"unit_prefix": "The derivative will be scaled according to the selected metric prefix and time unit of the derivative."
"unit_prefix": "The output will be scaled according to the selected metric prefix and time unit of the derivative."
}
}
}
},
"options": {
"step": {
"options": {
"init": {
"data": {
"name": "[%key:component::derivative::config::step::user::data::name%]",
"round": "[%key:component::derivative::config::step::user::data::round%]",

View File

@ -13,15 +13,16 @@
"data_description": {
"round": "Controls the number of decimal digits in the output.",
"time_window": "If set, the sensor's value is a time weighted moving average of derivatives within this window.",
"unit_prefix": "The derivative will be scaled according to the selected metric prefix and time unit of the derivative."
"unit_prefix": "The output will be scaled according to the selected metric prefix and time unit of the derivative."
},
"title": "New Derivative sensor"
"description": "Create a sensor that estimates the derivative of a sensor.",
"title": "Add Derivative sensor"
}
}
},
"options": {
"step": {
"options": {
"init": {
"data": {
"name": "Name",
"round": "Precision",
@ -33,9 +34,10 @@
"data_description": {
"round": "Controls the number of decimal digits in the output.",
"time_window": "If set, the sensor's value is a time weighted moving average of derivatives within this window.",
"unit_prefix": "The derivative will be scaled according to the selected metric prefix and time unit of the derivative.."
"unit_prefix": "The output will be scaled according to the selected metric prefix and time unit of the derivative.."
}
}
}
}
},
"title": "Derivative sensor"
}