mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Name local pipeline based on local or full choice (#24835)
This commit is contained in:
parent
9e32c24f3c
commit
a4f07423ec
@ -465,7 +465,7 @@ export class HaVoiceAssistantSetupStepLocal extends LitElement {
|
||||
}
|
||||
|
||||
let pipelineName = this.hass.localize(
|
||||
"ui.panel.config.voice_assistants.satellite_wizard.local.local_pipeline"
|
||||
`ui.panel.config.voice_assistants.satellite_wizard.local.${this.localOption}_pipeline`
|
||||
);
|
||||
let i = 1;
|
||||
while (
|
||||
@ -474,7 +474,7 @@ export class HaVoiceAssistantSetupStepLocal extends LitElement {
|
||||
(pipeline) => pipeline.name === pipelineName
|
||||
)
|
||||
) {
|
||||
pipelineName = `${this.hass.localize("ui.panel.config.voice_assistants.satellite_wizard.local.local_pipeline")} ${i}`;
|
||||
pipelineName = `${this.hass.localize(`ui.panel.config.voice_assistants.satellite_wizard.local.${this.localOption}_pipeline`)} ${i}`;
|
||||
i++;
|
||||
}
|
||||
|
||||
|
@ -3436,7 +3436,8 @@
|
||||
"failed_secondary": "We were unable to install the add-ons for speech-to-text and text-to-speech automatically for you. Read the documentation to learn how to install them.",
|
||||
"not_supported_title": "Installation of add-ons is not supported on your system",
|
||||
"not_supported_secondary": "Your system is not supported to automatically install a local TTS and STT provider. Learn how to set up local TTS and STT providers in the documentation.",
|
||||
"local_pipeline": "Local Assistant",
|
||||
"full_local_pipeline": "Full local Assistant",
|
||||
"focused_local_pipeline": "Focused local Assistant",
|
||||
"state": {
|
||||
"installing_piper": "Installing Piper",
|
||||
"starting_piper": "Starting Piper",
|
||||
|
Loading…
x
Reference in New Issue
Block a user