mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
Fix missing localization of "Message" field in Cloud > Try text-to-speech dialog (#23422)
* Add missing "Message" string for cloud tts dialog to en.json The field label for the Message field in the Cloud > Try text-to-speech dialog is missing localization. This commit adds the necessary localizable string. * Update dialog-cloud-tts-try.ts to include localizable string
This commit is contained in:
parent
edc99b5d6c
commit
cead1e355d
@ -75,7 +75,9 @@ export class DialogTryTts extends LitElement {
|
|||||||
<ha-textarea
|
<ha-textarea
|
||||||
autogrow
|
autogrow
|
||||||
id="message"
|
id="message"
|
||||||
label="Message"
|
.label=${this.hass.localize(
|
||||||
|
"ui.panel.config.cloud.account.tts.dialog.message"
|
||||||
|
)}
|
||||||
.value=${this._message ||
|
.value=${this._message ||
|
||||||
this.hass.localize(
|
this.hass.localize(
|
||||||
"ui.panel.config.cloud.account.tts.dialog.example_message",
|
"ui.panel.config.cloud.account.tts.dialog.example_message",
|
||||||
|
@ -4118,6 +4118,7 @@
|
|||||||
"try": "Try",
|
"try": "Try",
|
||||||
"dialog": {
|
"dialog": {
|
||||||
"header": "Try text-to-speech",
|
"header": "Try text-to-speech",
|
||||||
|
"message": "Message",
|
||||||
"example_message": "Hello {name}, you can play any text on any supported media player!",
|
"example_message": "Hello {name}, you can play any text on any supported media player!",
|
||||||
"target": "Target",
|
"target": "Target",
|
||||||
"target_browser": "Browser",
|
"target_browser": "Browser",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user