Device info: Add localizable string for "Set up voice assistant" (#23533)

* Add localizable string for "Set up voice assistant" to en.json

* Replace "Set up voice assistant" with localizable string
This commit is contained in:
Norbert Rittel 2025-01-01 15:45:31 +01:00 committed by GitHub
parent fb09eba831
commit 8df67b8eb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -1081,7 +1081,9 @@ export class HaConfigDevicePage extends LitElement {
) {
deviceActions.push({
action: this._voiceAssistantSetup,
label: "Set up voice assistant",
label: this.hass.localize(
"ui.panel.config.devices.set_up_voice_assistant"
),
icon: mdiMicrophone,
});
}

View File

@ -4256,6 +4256,7 @@
},
"enabled_description": "Disabled devices will not be shown and entities belonging to the device will be disabled and not added to Home Assistant.",
"open_configuration_url": "Visit",
"set_up_voice_assistant": "Set up voice assistant",
"download_diagnostics": "Download diagnostics",
"download_diagnostics_integration": "Download {integration} diagnostics",
"delete_device": "Delete",