add android.
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user