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:
Norbert Rittel 2024-12-24 09:05:31 +01:00 committed by GitHub
parent edc99b5d6c
commit cead1e355d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,9 @@ export class DialogTryTts extends LitElement {
<ha-textarea
autogrow
id="message"
label="Message"
.label=${this.hass.localize(
"ui.panel.config.cloud.account.tts.dialog.message"
)}
.value=${this._message ||
this.hass.localize(
"ui.panel.config.cloud.account.tts.dialog.example_message",

View File

@ -4118,6 +4118,7 @@
"try": "Try",
"dialog": {
"header": "Try text-to-speech",
"message": "Message",
"example_message": "Hello {name}, you can play any text on any supported media player!",
"target": "Target",
"target_browser": "Browser",