Add missing localizations for Voice Assistants > Expose headers (#23452)

* Add missing localizations for Voice Assistants > Expose headers

* Add localizable labels to Icon and Remove columns

* Variant with all changes on a single line

* Prettier?

* Revert

* Line length limited to 80 chars
This commit is contained in:
Norbert Rittel 2025-01-06 07:49:22 +01:00 committed by GitHub
parent a8803de6e3
commit ff75c89ed4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -146,6 +146,7 @@ export class VoiceAssistantsExpose extends LitElement {
): DataTableColumnContainer => ({
icon: {
title: "",
label: localize("ui.panel.config.voice_assistants.expose.headers.icon"),
type: "icon",
moveable: false,
hidden: narrow,
@ -241,6 +242,9 @@ export class VoiceAssistantsExpose extends LitElement {
},
remove: {
title: "",
label: localize(
"ui.panel.config.voice_assistants.expose.headers.remove"
),
type: "icon-button",
hidden: narrow,
template: () =>

View File

@ -2829,12 +2829,14 @@
"expose": {
"caption": "Expose",
"headers": {
"icon": "Icon",
"name": "Name",
"entity_id": "Entity ID",
"area": "Area",
"domain": "Domain",
"assistants": "Assistants",
"aliases": "Aliases"
"aliases": "Aliases",
"remove": "[%key:ui::common::remove%]"
},
"aliases": "{count} aliases",
"expose": "Expose",