For developers / sasaju

Translate for Zotero

github.com/sasaju/zotero-pdf-translate
Public grade · v1.1.0-23BUse with care
To reach A
A zotero:// link (a web page can open one) can make it install add-ons without asking youchrome/content/scripts/zoteropdftranslate.js · line 4h(r){a.logError(r),xt(r.message,!1)}},newChannel:function(i){this.doAction(i)}};Services.io.getProtocolHandler("zotero").wrappedJSObject._extensions["zotero://plugin"]=n}};ea.PluginBridge=de;de.versioThis comes from zotero-plugin-toolkit 5. How to remove itReply
A zotero:// link can make it run code if you approve a promptchrome/content/scripts/zoteropdftranslate.js · line 4tch(d){i.debug(d),s.console.log(d)}}},newChannel:function(a){this.doAction(a)}};Services.io.getProtocolHandler("zotero").wrappedJSObject._extensions["zotero://ztoolkit-debug"]=e}};je.DebugBridge=ee;eeThis comes from zotero-plugin-toolkit 5. How to remove itReply
Sends your text or keys unencrypted (http://) to api.fanyi.baidu.com, api.interpreter.caiyunai.com and 4 morechrome/content/scripts/zoteropdftranslate.js · line 205.split("-")[0]}${t.langto.split("-")[0]}`;let o=await Zotero.HTTP.request("GET",`http://api.fanyi.baidu.com/api/trans/vip/translate?q=${encodeURIComponent(t.raw)}&appid=${a}&from=${t.langfrom.split("-Reply
✓Readable code; not yet checked against the published source
✓Only contacts services we could identify
Then A+
Pass the live test in Zotero 10We install it in a fresh Zotero and record what it does. Every plugin at A is tested.
README badgeZotero Plugins grade B[![Zotero Plugins grade](https://zoteroplugins.org/badge/zotero-pdf-translate--sasaju.svg)](https://zoteroplugins.org/p/zotero-pdf-translate--sasaju)Updates itself when the grade changes.
Disagree with a finding?Respond on GitHub from an account that maintains the repository. Your response is published next to the card, with our reply.Respond to the card
See the public plugin page

Suggest an idea

Ideas go on our public list on GitHub without your name, with the page you sent it from, so please leave out personal details. To write privately: ilias [at] zoteroplugins.org.

Missing a plugin? Submit it and it's added within minutes.