Skip to content

Commit

Permalink
Device info: Add localizable string for "Set up voice assistant" (#23533
Browse files Browse the repository at this point in the history
)

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

* Replace "Set up voice assistant" with localizable string
  • Loading branch information
NoRi2909 authored Jan 1, 2025
1 parent fb09eba commit 8df67b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/panels/config/devices/ha-config-device-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
}
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8df67b8

Please sign in to comment.