Localize some column headers (#21622)

This commit is contained in:
karwosts 2024-08-07 22:55:15 -07:00 committed by GitHub
parent 6629f372fc
commit b60864086f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 9 additions and 1 deletions

View File

@ -353,6 +353,7 @@ class HaAutomationPicker extends SubscribeMixin(LitElement) {
},
actions: {
title: "",
label: this.hass.localize("ui.panel.config.generic.headers.actions"),
type: "icon-button",
showNarrow: true,
moveable: false,

View File

@ -198,6 +198,7 @@ class HaBlueprintOverview extends LitElement {
},
actions: {
title: "",
label: this.hass.localize("ui.panel.config.generic.headers.actions"),
type: "overflow-menu",
showNarrow: true,
moveable: false,

View File

@ -349,7 +349,7 @@ export class HaConfigHelpers extends SubscribeMixin(LitElement) {
},
actions: {
title: "",
label: "Actions",
label: this.hass.localize("ui.panel.config.generic.headers.actions"),
type: "overflow-menu",
hideable: false,
moveable: false,

View File

@ -311,6 +311,9 @@ class HaSceneDashboard extends SubscribeMixin(LitElement) {
},
only_editable: {
title: "",
label: this.hass.localize(
"ui.panel.config.scene.picker.headers.editable"
),
type: "icon",
showNarrow: true,
template: (scene) =>
@ -330,6 +333,7 @@ class HaSceneDashboard extends SubscribeMixin(LitElement) {
},
actions: {
title: "",
label: this.hass.localize("ui.panel.config.generic.headers.actions"),
type: "overflow-menu",
showNarrow: true,
moveable: false,

View File

@ -321,6 +321,7 @@ class HaScriptPicker extends SubscribeMixin(LitElement) {
},
actions: {
title: "",
label: this.hass.localize("ui.panel.config.generic.headers.actions"),
type: "overflow-menu",
showNarrow: true,
moveable: false,

View File

@ -3744,6 +3744,7 @@
"name": "Name",
"last_activated": "Last activated",
"category": "Category",
"editable": "[%key:ui::panel::config::helpers::picker::headers::editable%]",
"area": "Area",
"icon": "Icon"
},