···8989 }
9090 if (!text) {
9191 console.error("Failed to translate caption");
9292- caption.text = `(CAPTION COULD NOT BE TRANSLATED)\n${caption.text}}`;
9292+ caption.text = `(CAPTION COULD NOT BE TRANSLATED)\n${caption.text}`;
9393 return false;
9494 }
9595 caption.text = text.trim();