-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
# bob-plugin-deepl-translate | ||
|
||
TBD | ||
这是一个 [Bob](https://ripperhe.gitee.io/bob/#/) 使用的 DeepL 翻译插件。 | ||
|
||
你需要有一个 DeepL 的 API Token 才可以使用本插件。 | ||
|
||
<p><img width="414px" src="./assets/translate-screenshot.png" alt="translate screenshot" /></p> | ||
|
||
## 安装 | ||
|
||
1. 安装 Bob (version >= 0.5.0) | ||
2. 下载插件 [releases](https://github.com/geekdada/bob-plugin-deepl-translate/releases) | ||
3. [安装插件](https://ripperhe.gitee.io/bob/#/general/quickstart/plugin?id=%e5%ae%89%e8%a3%85%e6%8f%92%e4%bb%b6) | ||
|
||
## 注意 | ||
|
||
### 字符是如何计费的? | ||
|
||
> DeepL API 计划对你的翻译量没有限制,并按字符数计算你的使用量。 计算的字符是源文本中的字符,也就是你要翻译的原文。 | ||
> | ||
> 一个字符对应于一个 unicode 代码点,其中一个字符可以由多个字节组成。 例如,字符 é 在 UTF-8 中被表示为两个字节。 然而,DeepL 只将其视为一个字符。 隐形字符,如空格、制表符、换行符等也会被计算在内。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.