Localize and colorize grill temperature settings (#36236)
* Make it easier to localize grill heat level settings * Change examine text color based on setting * Trailing periods * Use Fluent terms to reduce duplication
This commit is contained in:
@@ -1,3 +1,18 @@
|
|||||||
entity-heater-examined = It is set to [color=gray]{$setting}[/color]
|
-entity-heater-setting-name =
|
||||||
entity-heater-switch-setting = Switch to {$setting}
|
{ $setting ->
|
||||||
entity-heater-switched-setting = Switched to {$setting}
|
[off] off
|
||||||
|
[low] low
|
||||||
|
[medium] medium
|
||||||
|
[high] high
|
||||||
|
*[other] unknown
|
||||||
|
}
|
||||||
|
|
||||||
|
entity-heater-examined = It is set to { $setting ->
|
||||||
|
[off] [color=gray]{ -entity-heater-setting-name(setting: "off") }[/color]
|
||||||
|
[low] [color=yellow]{ -entity-heater-setting-name(setting: "low") }[/color]
|
||||||
|
[medium] [color=orange]{ -entity-heater-setting-name(setting: "medium") }[/color]
|
||||||
|
[high] [color=red]{ -entity-heater-setting-name(setting: "high") }[/color]
|
||||||
|
*[other] [color=purple]{ -entity-heater-setting-name(setting: "other") }[/color]
|
||||||
|
}.
|
||||||
|
entity-heater-switch-setting = Switch to { -entity-heater-setting-name(setting: $setting) }
|
||||||
|
entity-heater-switched-setting = Switched to { -entity-heater-setting-name(setting: $setting) }.
|
||||||
|
|||||||
Reference in New Issue
Block a user