Skip to content

Commit

Permalink
Add translatable string for "Learn how it works" (#23788)
Browse files Browse the repository at this point in the history
* Add translatable string for "Learn how it works"

* Update assist-pref.ts adding localizable key
  • Loading branch information
NoRi2909 authored Jan 18, 2025
1 parent c430c28 commit 812461e
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/voice-assistants/assist-pref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ export class AssistPref extends LitElement {
class="icon-link"
>
<ha-icon-button
label="Learn how it works"
.label=${this.hass.localize(
"ui.panel.config.voice_assistants.assistants.pipeline.link_learn_how_it_works"
)}
.path=${mdiHelpCircle}
></ha-icon-button>
</a>
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3112,6 +3112,7 @@
"assistants": {
"caption": "Assistants",
"pipeline": {
"link_learn_how_it_works": "[%key:ui::panel::config::cloud::account::remote::link_learn_how_it_works%]",
"add_assistant": "Add assistant",
"exposed_entities": "[%key:ui::panel::config::cloud::account::google::exposed_entities%]",
"assist_devices": "{number} Assist {number, plural,\n one {device}\n other {devices}\n}",
Expand Down

0 comments on commit 812461e

Please sign in to comment.