translation.js
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -41,3 +41,3 @@ /** | ||
.get( this.apiRoot + '/translate_a/single' ) | ||
.query( `client=gtx&sl=${queryObj.from || 'auto'}&tl=${queryObj.to || 'auto'}&hl=zh-CN&dt=t&dt=bd&dj=1&source=icon&q=${queryObj.text}` ) | ||
.query( `client=gtx&sl=${queryObj.from || 'auto'}&tl=${queryObj.to || 'auto'}&hl=zh-CN&dt=t&dt=bd&dj=1&source=icon&q=${encodeURI(queryObj.text)}` ) | ||
// , { | ||
@@ -44,0 +44,0 @@ // client : 'gtx' , |
{ | ||
"name" : "translation.js" , | ||
"version" : "0.3.0" , | ||
"version" : "0.3.1" , | ||
"description" : "集成多种翻译引擎、提供统一的翻译接口" , | ||
@@ -5,0 +5,0 @@ "main" : "lib/translation.js" , |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87082