Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Update bergamot translator to v0.4.1 #111

Merged
merged 10 commits into from
Feb 19, 2022
6 changes: 5 additions & 1 deletion extension/controller/translation/Translation.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ class Translation {
translate(translationMessage) {

if (translationMessage.type === "outbound") {
// if the message is from outbound translations, we skip the line.

/*
* if the message is from outbound translations, we skip queuing it and
* send for translation immediately
*/
if (this.translationWorker) {
this.translationWorker.postMessage([
"translate",
Expand Down
Loading