Twitter外部翻译器

将第三方翻译添加到推特

当前为 2021-05-03 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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

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 = {
    /** Supported languages
    * @type {'en'|'zh'|'nl'|'fr'|'de'|'it'|'ja'|'pl'|'pt'|'ru'|'es'}
    * @type {'bg'|'cs'|'da'|'et'|'fi'|'el'|'hu'|'lv'|'lt'|'ro'|'sk'|'sl'|'sv'} */
    lang: ('en'),
    /** 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