mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +00:00
Add missing translations to voice command dialog (#9221)
This commit is contained in:
parent
fd9bb4d8cc
commit
1255b56522
@ -117,9 +117,13 @@ export class HaVoiceCommandDialog extends LitElement {
|
|||||||
href="${this._agentInfo.onboarding.url}"
|
href="${this._agentInfo.onboarding.url}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
><mwc-button unelevated>Yes!</mwc-button></a
|
><mwc-button unelevated
|
||||||
|
>${this.hass.localize("ui.common.yes")}!</mwc-button
|
||||||
|
></a
|
||||||
|
>
|
||||||
|
<mwc-button outlined
|
||||||
|
>${this.hass.localize("ui.common.no")}</mwc-button
|
||||||
>
|
>
|
||||||
<mwc-button outlined>No</mwc-button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
@ -155,7 +159,7 @@ export class HaVoiceCommandDialog extends LitElement {
|
|||||||
<div class="input">
|
<div class="input">
|
||||||
<paper-input
|
<paper-input
|
||||||
@keyup=${this._handleKeyUp}
|
@keyup=${this._handleKeyUp}
|
||||||
label="${this.hass!.localize(
|
.label="${this.hass.localize(
|
||||||
`ui.dialogs.voice_command.${
|
`ui.dialogs.voice_command.${
|
||||||
SpeechRecognition ? "label_voice" : "label"
|
SpeechRecognition ? "label_voice" : "label"
|
||||||
}`
|
}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user