Twitter外部翻译器

将第三方翻译添加到推特

目前为 2021-05-03 提交的版本。查看 最新版本

作者
magicoflolis
评分
0 0 0
版本
0.18
创建于
2021-02-12
更新于
2021-05-03
许可证
暂无
适用于

Twitter外部翻译器

*用DeepL README.md翻译 *

在推文和用户简历中增加了一个 "用...翻译 "的按钮。

这是对DeepL Twitter翻译的一个分叉。


稳定版:

托管在这里,禁用测试版!

*点击顶部的安装

Beta:

托管在 GitHub, 禁用稳定版!


特性:

*与TweetDeck一起工作。1 *多个翻译器! *多个翻译器!

  • 翻译推文和用户生物。
  • 可以进行配置。2
翻译员 支持
DeepL Translate ✔️
Yandex Translate 3 ✔️
Bing Microsoft Translator 4 ✔️
Google Translate 4 ✔️
MyMemory ✔️
Translate.com ✔️

路线图

  • 修复沿途的任何错误
  • 增加更多的外部翻译
  • 使配置更容易
  • 一次显示多个翻译者
  • Inline?
  • TweetLonger?

Bugs / Issues

  • "用......翻译 "按钮在引用Tweet对话框中很少出现。

脚注:

1:只出现在一列,不支持用户简历。[↩]((#a1)

2: 重新加载网页。[↩]((#a2)

/**
 * You'll need to edit the config manually for now if you're using this
 * as a user script.
 */
let cfg = {
    /** Preferred translator, lowercase only!
    * @type {'deepl'|'yandex'|'bing'|'google'|'mymemory'|'translate'} */
    translator: ('deepl'),
    /** Preferred display
    * @type {'text'|'icon'|'text + icon'} */
    display: ('text + icon'),
    iconWidthA: '16', // Twitter
    iconWidthB: '14', // TweetDeck
    debug: false
};

3:Yandex翻译可能默认为俄语。[↩]((#a3)

4: Twitters的内置翻译使用谷歌翻译,TweetDeck使用Bing微软翻译。[↩]((#a4)

###联系人

GitHub

Twitter

Greasy Fork