transNnote README
这个插件可以把翻译后的句子写在原句下面,可以定义某些短语大概率不被翻译或翻译错误。用的是有道翻译。
快捷键Alt+Q,右键菜单是“我来翻译”。
这个插件修改自huren.youdao-translator-0.11.1。谢谢原作者!
我常用的配置:
"transNnote.pretransdict": {
"\\.ts": "thetsext",
"\\.json":"thejsonext",
"--":"the2lines",
"\\/":"thefslash",
"\\.js":"thejsext",
"\\$":"thedolsn"
},
"transNnote.retransdict": {
"thetsext": ".ts",
"thejsonext":".json",
"the2lines":"--",
"thefslash":"/",
"thejsext":".js",
"thedolsn":"$"
},
"transNnote.markstrans": ["jlksjf","jlkfjs","uoiqew","cpmzvv","zzxxxv","mepwrn","yayusd","jksfld","usdyud","iusifd","xcygvf","weyriu","sthrhg","hrrjdx","erthyh","werrds","rsster","ayyyte","grtthh","phjbrg","yueffw","pttgpf","xcbmvn","mnmbxv","mdfnvv","wekjkk","njgkng","asdggf","fmvvvc","kljkll","mnvbnn","zcxvzv","nxmccn","khhjhk","mjuffr","xyusds"],
"transNnote.marks": "(\\x27|\\x22)[^\\x22\\x27]*\\1"