Update src/stores/player/utils/captionstranslation.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
vlOd 2025-12-27 01:18:17 +02:00 committed by GitHub
parent eab6113a0f
commit 96b74aa169
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@ async function translateCaption(
}
if (!text) {
console.error("Failed to translate caption");
caption.text = `(CAPTION COULD NOT BE TRANSLATED)\n${caption.text}}`;
caption.text = `(CAPTION COULD NOT BE TRANSLATED)\n${caption.text}`;
return false;
}
caption.text = text.trim();