From 1231c8916a8baaeb04689e45dd38129b9099e1f7 Mon Sep 17 00:00:00 2001 From: Warren B Date: Thu, 3 Sep 2026 01:50:51 +0100 Subject: [PATCH] webui: fix two strings that rendered wrong MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The Voice conversion and Source separation tabs are keyed 'conversion' and 'separation', while the subtitle lookups were only defined for 'vc' and 'sep'. Both hero subtitles rendered their raw lookup key. Adds the two missing keys with the same text the other tabs use. - The models-folder status line carried a double-encoded ellipsis ("folder…"), which is what a UTF-8 ellipsis looks like after being decoded as Latin-1. Replaced with the character itself. Validation: npx svelte-check --tsconfig ./tsconfig.json # 153 files, 0 errors --- webui/native/src/lib/i18n.ts | 5 +++++ webui/native/src/routes/+page.svelte | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/webui/native/src/lib/i18n.ts b/webui/native/src/lib/i18n.ts index 5a37eef69..14fac2b1b 100644 --- a/webui/native/src/lib/i18n.ts +++ b/webui/native/src/lib/i18n.ts @@ -122,6 +122,11 @@ const english: Record = { 'studio.subtitle.music': 'Create music and sound from a prompt, lyrics, or reference audio when supported.', 'studio.subtitle.vc': 'Transform a recording into another voice while preserving the spoken or sung performance.', 'studio.subtitle.sep': 'Split a recording into vocals, instruments, or other available audio stems.', + // The workflow tabs are keyed 'conversion' and 'separation' while the task + // labels above use 'vc' and 'sep'. Both spellings resolve so the hero subtitle + // renders text rather than the lookup key itself. + 'studio.subtitle.conversion': 'Transform a recording into another voice while preserving the spoken or sung performance.', + 'studio.subtitle.separation': 'Split a recording into vocals, instruments, or other available audio stems.', 'studio.subtitle.analysis': 'Analyze audio for speech activity, speakers, timing, and alignment.', 'studio.subtitle.design': 'Create or refine a voice from a written description and supported reference controls.', 'studio.model': 'Model', diff --git a/webui/native/src/routes/+page.svelte b/webui/native/src/routes/+page.svelte index 777984830..94236819e 100644 --- a/webui/native/src/routes/+page.svelte +++ b/webui/native/src/routes/+page.svelte @@ -922,7 +922,7 @@ applyingModelsFolder = true; warningStatus = ''; errorStatus = ''; - status = useDefault ? 'Restoring the default models folder…' : 'Changing models folder…'; + status = useDefault ? 'Restoring the default models folder…' : 'Changing models folder…'; try { const root = await setModelsRoot(useDefault ? '' : modelsFolderInput.trim()); acceptModelsRoot(root);