koishijs / translator Goto Github PK
View Code? Open in Web Editor NEW在 Koishi 中使用翻译服务
Home Page: https://translator.koishi.chat
License: MIT License
在 Koishi 中使用翻译服务
Home Page: https://translator.koishi.chat
License: MIT License
根据koishi-plugin-translator-deepl作者在DreamOfIce/koishi-plugin-translator-deepl#1 的建议创建此issue
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
Binaries:
Node: 16.19.1
Yarn: 3.5.0
Koishi:
Core: 4.14.2
Console: 5.13.2
Koishi Desktop: 0.10.6
部分插件:
koishi-plugin-translator-deepl 版本:1.1.0(最新版)
输入:translate hehe
预期结果:
原文本:hehe
语言:EN -> ZH
翻译结果:嘿嘿
实际结果:
原文本:hehe
语言: ->
翻译结果:嘿嘿
手动填写参数后表现正常
所有插件都是最新版,填写了App Key和Secret。
发送help能看到translate指令,但是发送translate没有反应。
如果是多行文本(例如 help 的内容),百度会将每一行单独返回,而不是数组的第一项,这是 debug 得到的堆栈:
translator/packages/baidu/src/index.ts
Line 39 in 716108a
为什么在Linux市场找不到?能上架一下吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.