mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
Add translations to tile state content options (#18428)
This commit is contained in:
parent
c3743b57ea
commit
d8c7db6ebf
@ -186,11 +186,15 @@ export class HuiTileCardEditor
|
||||
multiple: true,
|
||||
options: [
|
||||
{
|
||||
label: "State",
|
||||
label: localize(
|
||||
`ui.panel.lovelace.editor.card.tile.state_content_options.state`
|
||||
),
|
||||
value: "state",
|
||||
},
|
||||
{
|
||||
label: "Last changed",
|
||||
label: localize(
|
||||
`ui.panel.lovelace.editor.card.tile.state_content_options.last-changed`
|
||||
),
|
||||
value: "last-changed",
|
||||
},
|
||||
...Object.keys(stateObj?.attributes ?? {})
|
||||
|
@ -5114,6 +5114,10 @@
|
||||
"vertical": "Vertical",
|
||||
"hide_state": "Hide state",
|
||||
"state_content": "State content",
|
||||
"state_content_options": {
|
||||
"state": "State",
|
||||
"last-changed": "Last changed"
|
||||
},
|
||||
"features": {
|
||||
"name": "Features",
|
||||
"not_compatible": "Not compatible",
|
||||
|
Loading…
x
Reference in New Issue
Block a user