add android.

This commit is contained in:
Jordan Hewitt
2025-02-11 06:53:48 -08:00
parent 58a3829347
commit 0db7db6b4f
48 changed files with 946 additions and 5 deletions

View File

@ -27,6 +27,7 @@ export class Message {
if (!this.text) throw new Error("No text")
console.log("Translating from %s -> %s", this.speaker.language, this.otherSpeaker.language);
this.translation = await translator.translate(this.text, this.otherLanguage);
this.onTranslationDone && this.onTranslationDone(this)
}
}