Open twinklinggu opened 3 years ago
expand while operators have priorities higher than 'limit'
插件-> 展开,而运营商优先于“限制” Google->当运算符的优先级高于 'limit' 时扩展 *
確認是 Google 接口還需要一個加密的 x-goog-batchexecute-bgr
頭才能得到一些複雜語句的精確翻譯結果,這個需要花些時間研究一下。
確認是 Google 接口還需要一個加密的
x-goog-batchexecute-bgr
頭才能得到一些複雜語句的精確翻譯結果,這個需要花些時間研究一下。
有結果嗎? 我也發現是這個header導致
@shtse8 没有搞定,加密算法太复杂了。:joy:
@imlinhanchao 您好,我PR了支持Google Cloud APIs的翻译api,可以提高翻译质量,麻烦merge一下
https://github.com/imlinhanchao/google-translate-api/pull/2 https://github.com/imlinhanchao/vsc-google-translate/pull/25
js 我找到,不知道怎么用 var c = this.o.Se(b).then(function(d) { d && a.V.set("X-Goog-BatchExecute-Bgr", d); return a }, function() { return a }); return _.ui(c)
this.o.Se(b) $Da.prototype.Se = function(a) { var b = this, c; return .E(function(d) { if (1 == d.g) { if (b.g) return d.Zb(2); c = b; return .C(d, b.i(), 3) } 2 != d.g && (c.g = d.i); return d.return(b.g.Se(a)) }) }
js 我找到,不知道怎么用 var c = this.o.Se(b).then(function(d) { d && a.V.set("X-Goog-BatchExecute-Bgr", d); return a }, function() { return a }); return _.ui(c)
this.o.Se(b) $Da.prototype.Se = function(a) { var b = this, c; return .E(function(d) { if (1 == d.g) { if (b.g) return d.Zb(2); c = b; return .C(d, b.i(), 3) } 2 != d.g && (c.g = d.i); return d.return(b.g.Se(a)) }) }
aEa.prototype.Se = function(a) { var b = this, c; return .D(function(d) { if (1 == d.g) { if (b.g) return d.Zb(2); c = b; return .C(d, b.i(), 3) } 2 != d.g && (c.g = d.i); return d.return(b.g.Se(a)) }) } 现在变成这样啦
比如?