mirror of
https://github.com/p-stream/p-stream.git
synced 2026-01-11 20:10:32 +00:00
Update src/stores/player/utils/captionstranslation.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
eab6113a0f
commit
96b74aa169
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue