diff --git a/src/panels/lovelace/editor/config-elements/hui-tile-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-tile-card-editor.ts index ebff8fb27d..b4460d7308 100644 --- a/src/panels/lovelace/editor/config-elements/hui-tile-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-tile-card-editor.ts @@ -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 ?? {}) diff --git a/src/translations/en.json b/src/translations/en.json index 4b7444cb2d..f889df4884 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -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",