Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Nov 19, 2020
1 parent f0a3479 commit f8caa47
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
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 只将其视为一个字符。 隐形字符,如空格、制表符、换行符等也会被计算在内。
Binary file added assets/translate-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f8caa47

Please sign in to comment.