Skip to content

Commit

Permalink
Replace keys with translatable friendly names in Statistics helper (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
NoRi2909 authored Feb 1, 2025
1 parent 285a0a6 commit 123cd92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions homeassistant/components/statistics/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]"
},
"error": {
"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_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"
},
"step": {
"user": {
Expand Down Expand Up @@ -41,8 +41,8 @@
"data_description": {
"sampling_size": "Maximum number 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.",
"percentile": "Only relevant in combination with the 'percentile' characteristic. Must be a value between 1 and 99.",
"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.",
"precision": "Defines the number of decimal places of the calculated sensor value."
}
}
Expand Down

0 comments on commit 123cd92

Please sign in to comment.