mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Add translations to pipeline UI (#16303)
This commit is contained in:
parent
64a693332b
commit
db0e5a8a41
@ -58,8 +58,16 @@ export class AssistPipelineDetailConfig extends LitElement {
|
||||
return html`
|
||||
<div class="section">
|
||||
<div class="intro">
|
||||
<h3>Configuration</h3>
|
||||
<p>Main configuration of your assistant</p>
|
||||
<h3>
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.voice_assistants.assistants.pipeline.detail.steps.config.title`
|
||||
)}
|
||||
</h3>
|
||||
<p>
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.voice_assistants.assistants.pipeline.detail.steps.config.description`
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
<ha-form
|
||||
.schema=${this._schema(this.supportedLanguages)}
|
||||
|
@ -56,10 +56,15 @@ export class AssistPipelineDetailConversation extends LitElement {
|
||||
return html`
|
||||
<div class="section">
|
||||
<div class="intro">
|
||||
<h3>Conversation agent</h3>
|
||||
<h3>
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.voice_assistants.assistants.pipeline.detail.steps.conversation.title`
|
||||
)}
|
||||
</h3>
|
||||
<p>
|
||||
The conversation agent is the brains of your voice assistant and
|
||||
will process the incoming commands.
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.voice_assistants.assistants.pipeline.detail.steps.conversation.description`
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
<ha-form
|
||||
|
@ -54,10 +54,15 @@ export class AssistPipelineDetailSTT extends LitElement {
|
||||
return html`
|
||||
<div class="section">
|
||||
<div class="intro">
|
||||
<h3>Speech-to-text</h3>
|
||||
<h3>
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.voice_assistants.assistants.pipeline.detail.steps.stt.title`
|
||||
)}
|
||||
</h3>
|
||||
<p>
|
||||
When you are using the pipeline as a voice assistant, the
|
||||
speech-to-text engine turns your voice command into text.
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.voice_assistants.assistants.pipeline.detail.steps.stt.description`
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
<ha-form
|
||||
|
@ -65,12 +65,16 @@ export class AssistPipelineDetailTTS extends LitElement {
|
||||
<div class="section">
|
||||
<div class="content">
|
||||
<div class="intro">
|
||||
<h3>Text-to-speech</h3>
|
||||
<p>
|
||||
When you are using the pipeline as a voice assistant, the
|
||||
text-to-speech engine turns the conversation text responses into
|
||||
audio.
|
||||
</p>
|
||||
<h3>
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.voice_assistants.assistants.pipeline.detail.steps.tts.title`
|
||||
)}
|
||||
</h3>
|
||||
<p>
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.voice_assistants.assistants.pipeline.detail.steps.tts.description`
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
<ha-form
|
||||
.schema=${this._schema(
|
||||
|
@ -418,7 +418,7 @@
|
||||
"no_languages": "No languages available"
|
||||
},
|
||||
"tts-picker": {
|
||||
"tts": "Text to Speech",
|
||||
"tts": "Text-to-speech",
|
||||
"none": "None"
|
||||
},
|
||||
"tts-voice-picker": {
|
||||
@ -478,7 +478,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"stt-picker": { "stt": "Speech to text", "none": "None" },
|
||||
"stt-picker": { "stt": "Speech-to-text", "none": "None" },
|
||||
"related-filter-menu": {
|
||||
"filter": "Filter",
|
||||
"filter_by_entity": "Filter by entity",
|
||||
@ -1332,7 +1332,7 @@
|
||||
"input_label": "Code"
|
||||
},
|
||||
"tts-try": {
|
||||
"header": "Try Text to Speech",
|
||||
"header": "Try text-to-speech",
|
||||
"message": "Message",
|
||||
"message_example": "Hello. How can I assist?",
|
||||
"message_placeholder": "Enter a sentence to speak.",
|
||||
@ -2048,11 +2048,29 @@
|
||||
"conversation_engine": "Conversation agent",
|
||||
"conversation_language": "[%key:ui::panel::config::voice_assistants::assistants::pipeline::detail::form::language%]",
|
||||
"language": "Language",
|
||||
"stt_engine": "Speech to text",
|
||||
"stt_engine": "Speech-to-text",
|
||||
"stt_language": "[%key:ui::panel::config::voice_assistants::assistants::pipeline::detail::form::language%]",
|
||||
"tts_engine": "Text to speech",
|
||||
"tts_engine": "Text-to-speech",
|
||||
"tts_language": "[%key:ui::panel::config::voice_assistants::assistants::pipeline::detail::form::language%]",
|
||||
"tts_voice": "Voice"
|
||||
},
|
||||
"steps": {
|
||||
"config": {
|
||||
"title": "Configuration",
|
||||
"description": "Main configuration of your assistant."
|
||||
},
|
||||
"conversation": {
|
||||
"title": "Conversation agent",
|
||||
"description": "The conversation agent is the brains of your assistant and will process the incoming text commands."
|
||||
},
|
||||
"stt": {
|
||||
"title": "Speech-to-text",
|
||||
"description": "When you are controlling your assistant with voice, the speech-to-text engine turns your voice command into text."
|
||||
},
|
||||
"tts": {
|
||||
"title": "Text-to-speech",
|
||||
"description": "When you are controlling your assistant with voice, the text-to-speech engine turns the conversation text responses into audio."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -2788,13 +2806,13 @@
|
||||
"not_connected": "Not Connected",
|
||||
"fetching_subscription": "Fetching subscription…",
|
||||
"tts": {
|
||||
"title": "Text to Speech",
|
||||
"title": "Text-to-speech",
|
||||
"info": "Bring personality to your home by having it speak to you by using our Text-to-Speech services. You can use this in automations and scripts by using the {service} service.",
|
||||
"default_language": "Default language to use",
|
||||
"default_gender": "Default gender to use",
|
||||
"try": "Try",
|
||||
"dialog": {
|
||||
"header": "Try Text to Speech",
|
||||
"header": "Try text-to-speech",
|
||||
"example_message": "Hello {name}, you can play any text on any supported media player!",
|
||||
"target": "Target",
|
||||
"target_browser": "Browser",
|
||||
|
Loading…
x
Reference in New Issue
Block a user