Replace keys with translatable friendly names in Statistics helper (#136936)

This commit is contained in:
Norbert Rittel 2025-02-01 10:48:05 +01:00 committed by GitHub
parent 285a0a6c81
commit 123cd92986
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,8 +5,8 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]" "already_configured": "[%key:common::config_flow::abort::already_configured_account%]"
}, },
"error": { "error": {
"missing_max_age_or_sampling_size": "The sensor configuration must provide 'max_age' and/or 'sampling_size'", "missing_max_age_or_sampling_size": "The sensor configuration must provide 'Max age' and/or 'Sampling size'",
"missing_keep_last_sample": "The sensor configuration must provide 'max_age' if 'keep_last_sample' is True" "missing_keep_last_sample": "The sensor configuration must provide 'Max age' if 'Keep last sample' is true"
}, },
"step": { "step": {
"user": { "user": {
@ -41,8 +41,8 @@
"data_description": { "data_description": {
"sampling_size": "Maximum number of source sensor measurements stored.", "sampling_size": "Maximum number of source sensor measurements stored.",
"max_age": "Maximum age of source sensor measurements stored.", "max_age": "Maximum age of source sensor measurements stored.",
"keep_last_sample": "Defines whether the most recent sampled value should be preserved regardless of the 'max age' setting.", "keep_last_sample": "Defines whether the most recent sampled value should be preserved regardless of the 'Max age' setting.",
"percentile": "Only relevant in combination with the 'percentile' characteristic. Must be a value between 1 and 99.", "percentile": "Only relevant in combination with the 'Percentile' characteristic. Must be a value between 1 and 99.",
"precision": "Defines the number of decimal places of the calculated sensor value." "precision": "Defines the number of decimal places of the calculated sensor value."
} }
} }