Fix icon header labels in Automations, Scene and Script tables (#21214)

Change icon header labels
This commit is contained in:
Simon Lamon 2024-06-28 14:44:57 +02:00 committed by GitHub
parent dcd4c39978
commit cbc95a5e2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 6 deletions

View File

@ -265,7 +265,7 @@ class HaAutomationPicker extends SubscribeMixin(LitElement) {
const columns: DataTableColumnContainer<AutomationItem> = {
icon: {
title: "",
label: localize("ui.panel.config.automation.picker.headers.state"),
label: localize("ui.panel.config.automation.picker.headers.icon"),
type: "icon",
moveable: false,
showNarrow: true,

View File

@ -243,7 +243,7 @@ class HaSceneDashboard extends SubscribeMixin(LitElement) {
const columns: DataTableColumnContainer<SceneItem> = {
icon: {
title: "",
label: localize("ui.panel.config.scene.picker.headers.state"),
label: localize("ui.panel.config.scene.picker.headers.icon"),
moveable: false,
showNarrow: true,
type: "icon",

View File

@ -252,7 +252,7 @@ class HaScriptPicker extends SubscribeMixin(LitElement) {
title: "",
showNarrow: true,
moveable: false,
label: localize("ui.panel.config.script.picker.headers.state"),
label: localize("ui.panel.config.script.picker.headers.icon"),
type: "icon",
template: (script) =>
html`<ha-state-icon

View File

@ -2733,7 +2733,8 @@
"actions": "Actions",
"state": "State",
"category": "Category",
"area": "Area"
"area": "Area",
"icon": "Icon"
},
"bulk_action": "Action",
"bulk_actions": {
@ -3608,7 +3609,8 @@
"name": "Name",
"state": "State",
"category": "Category",
"area": "Area"
"area": "Area",
"icon": "Icon"
},
"edit_category": "[%key:ui::panel::config::automation::picker::edit_category%]",
"assign_category": "[%key:ui::panel::config::automation::picker::assign_category%]",
@ -3727,7 +3729,8 @@
"name": "Name",
"last_activated": "Last activated",
"category": "Category",
"area": "Area"
"area": "Area",
"icon": "Icon"
},
"edit_category": "[%key:ui::panel::config::automation::picker::edit_category%]",
"assign_category": "[%key:ui::panel::config::automation::picker::assign_category%]",