Skip to content

Open source CapCut alternative.

TypeScript

fix(site): clarify that Cut voice language sets pronunciation, not translation

David Le54e334d202aa
diff --git a/site/src/cut/components/VoicePicker.tsx b/site/src/cut/components/VoicePicker.tsx
index ba087720..eb7cdc16 100644
--- a/site/src/cut/components/VoicePicker.tsx
+++ b/site/src/cut/components/VoicePicker.tsx
@@ -175,10 +175,20 @@ export function VoicePicker({
<ChevronDown className="pointer-events-none absolute top-1/2 right-2.5 size-4 -translate-y-1/2 text-muted-foreground" />
</div>
</div>
+ <p className="voice-language-hint text-[11px] leading-relaxed text-muted-foreground">
+ {language === "auto"
+ ? "The voice reads your script as written — it isn't translated."
+ : `The voice reads your script as written — write it in ${languageLabel(language)} for ${languageLabel(language)} audio.`}
+ </p>
</div>
);
}
+/** Display name for a resolved language code, for the pronunciation hint. */
+function languageLabel(code: string): string {
+ return SPEECH_LANGUAGES.find((l) => l.id === code)?.label ?? code;
+}
+
/**
* Self-contained "voice the subtitles" block: the voice picker plus a generate
* button and its error line. `cueIds` scopes the readout (e.g. the cues inside