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> = { const columns: DataTableColumnContainer<AutomationItem> = {
icon: { icon: {
title: "", title: "",
label: localize("ui.panel.config.automation.picker.headers.state"), label: localize("ui.panel.config.automation.picker.headers.icon"),
type: "icon", type: "icon",
moveable: false, moveable: false,
showNarrow: true, showNarrow: true,

View File

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

View File

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

View File

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