diff --git a/README.md b/README.md index d805c57..8876c8c 100644 --- a/README.md +++ b/README.md @@ -101,11 +101,11 @@ docker compose up -d ### IDE 插件 -#### MTranCode 注释翻译插件 +#### [MTranCode](https://github.com/xxnuo/MTranCode) 代码注释翻译插件 支持 VS Code、Cursor、Augment 等 VS Code 系列 IDE -在插件商店搜索 `MTranCode` 即可安装注释翻译插件 +在插件商店搜索 **`MTranCode`** 即可安装注释翻译插件 插件默认接口会调用 `http://localhost:8989` 接口的服务器进行注释、代码的翻译,可在设置中调整。 @@ -113,12 +113,12 @@ docker compose up -d ### 浏览器插件 -#### MTranBrowser +#### [MTranBrowser](https://github.com/xxnuo/MTranBrowser) TODO: 火热开发中 > 如果你开发了衍生项目,欢迎提交 PR,我会在生态项目中添加你的项目。 -> + > 对了项目已经发布到 npm 包,可以直接在其他程序中调用简单的库接口实现翻译功能,具体信息查看 ts 类型说明。 ## 兼容接口 @@ -130,6 +130,7 @@ TODO: 火热开发中 | `/imme` | POST | 沉浸式翻译插件接口 | [沉浸式翻译](https://immersivetranslate.com/) | | `/kiss` | POST | 简约翻译插件接口 | [简约翻译](https://github.com/fishjar/kiss-translator) | | `/deepl` | POST | DeepL API v2 兼容接口 | 支持 DeepL API 的客户端 | +| `/deeplx` | POST | DeepLX 兼容接口 | 支持 DeepLX 接口的客户端 | | `/hcfy` | POST | 划词翻译兼容接口 | [划词翻译](https://github.com/Selection-Translator/crx-selection-translate) | | `/hcfy` | POST | 划词翻译兼容接口 | [划词翻译](https://github.com/Selection-Translator/crx-selection-translate) | | `/google/language/translate/v2` | POST | Google Translate API v2 兼容接口 | 支持 Google Translate API 的客户端 | @@ -152,6 +153,7 @@ TODO: 火热开发中 | 简约翻译无密码 | `http://localhost:8989/kiss` | `接口设置` - `Custom` - `URL` | | 简约翻译有密码 | `http://localhost:8989/kiss` | 同上,需要 `KEY` 填 `your_token` | | DeepL 兼容 | `http://localhost:8989/deepl` | 使用 `DeepL-Auth-Key` 或 `Bearer` 认证 | +| DeepLX 兼容 | `http://localhost:8989/deeplx` | 支持 `token` 参数或 `Bearer` 认证 | | Google 兼容 | `http://localhost:8989/google/language/translate/v2` | 使用 `key` 参数或 `Bearer` 认证 | | 划词翻译 | `http://localhost:8989/hcfy` | 支持 `token` 参数或 `Bearer` 认证 | diff --git a/docs/README_de.md b/docs/README_de.md index 06f0930..0c77510 100644 --- a/docs/README_de.md +++ b/docs/README_de.md @@ -98,11 +98,11 @@ docker compose up -d ### IDE-Plugins -#### MTranCode Kommentar-Übersetzungs-Plugin +#### [MTranCode](https://github.com/xxnuo/MTranCode) Kommentar-Übersetzungs-Plugin Unterstützt VS Code, Cursor, Augment und andere VS-Code-basierte IDEs. -Suchen Sie im Plugin-Marktplatz nach `MTranCode`, um das Kommentar-Übersetzungs-Plugin zu installieren. +Suchen Sie im Plugin-Marktplatz nach **`MTranCode`**, um das Kommentar-Übersetzungs-Plugin zu installieren. Das Plugin ruft standardmäßig den Server unter `http://localhost:8989` für Kommentar- und Code-Übersetzungen auf. Sie können dies in den Einstellungen anpassen. @@ -110,7 +110,7 @@ Dieses Plugin ist ein Fork von [vscode-comment-translate](https://github.com/int ### Browser-Erweiterung -#### MTranBrowser +#### [MTranBrowser](https://github.com/xxnuo/MTranBrowser) TODO: In aktiver Entwicklung. @@ -127,6 +127,7 @@ Der Server bietet kompatible Schnittstellen für mehrere Übersetzungs-Plugins: | `/imme` | POST | Schnittstelle für Immersive Translate Plugin | [Immersive Translate](https://immersivetranslate.com/) | | `/kiss` | POST | Schnittstelle für Kiss Translator Plugin | [Kiss Translator](https://github.com/fishjar/kiss-translator) | | `/deepl` | POST | DeepL API v2 kompatible Schnittstelle | Clients, die die DeepL API unterstützen | +| `/deeplx` | POST | DeepLX kompatible Schnittstelle | Clients, die die DeepLX API unterstützen | | `/hcfy` | POST | Selection Translator kompatible Schnittstelle | [Selection Translator](https://github.com/Selection-Translator/crx-selection-translate) | | `/hcfy` | POST | Selection Translator kompatible Schnittstelle | [Selection Translator](https://github.com/Selection-Translator/crx-selection-translate) | | `/google/language/translate/v2` | POST | Google Translate API v2 kompatible Schnittstelle | Clients, die die Google Translate API unterstützen | @@ -149,6 +150,7 @@ Der Server bietet kompatible Schnittstellen für mehrere Übersetzungs-Plugins: | Kiss Translator (Ohne Passwort) | `http://localhost:8989/kiss` | `Schnittstelleneinstellungen` - `Custom` - `URL` | | Kiss Translator (Mit Passwort) | `http://localhost:8989/kiss` | Dasselbe wie oben, füllen Sie `KEY` mit `your_token` aus | | DeepL Kompatibel | `http://localhost:8989/deepl` | Verwenden Sie `DeepL-Auth-Key` oder `Bearer` Authentifizierung | +| DeepLX Kompatibel | `http://localhost:8989/deeplx` | Unterstützt `token` Parameter oder `Bearer` Authentifizierung | | Google Kompatibel | `http://localhost:8989/google/language/translate/v2` | Verwenden Sie den `key` Parameter oder `Bearer` Authentifizierung | | Selection Translator | `http://localhost:8989/hcfy` | Unterstützt `token` Parameter oder `Bearer` Authentifizierung | diff --git a/docs/README_en.md b/docs/README_en.md index b5a122c..ded4951 100644 --- a/docs/README_en.md +++ b/docs/README_en.md @@ -98,11 +98,11 @@ docker compose up -d ### IDE Plugins -#### MTranCode Comment Translation Plugin +#### [MTranCode](https://github.com/xxnuo/MTranCode) Comment Translation Plugin Supports VS Code, Cursor, Augment, and other VS Code-based IDEs. -Search for `MTranCode` in the extension marketplace to install the comment translation plugin. +Search for **MTranCode** in the extension marketplace to install the comment translation plugin. The plugin defaults to calling the server at `http://localhost:8989` for comment and code translation. You can adjust it in settings. @@ -110,7 +110,7 @@ This plugin is forked from [vscode-comment-translate](https://github.com/intelli ### Browser Extension -#### MTranBrowser +#### [MTranBrowser](https://github.com/xxnuo/MTranBrowser) TODO: Under active development. @@ -127,6 +127,7 @@ The server provides compatible endpoints for multiple translation plugins: | `/imme` | POST | Immersive Translation plugin endpoint | [Immersive Translation](https://immersivetranslate.com/) | | `/kiss` | POST | Kiss Translator plugin endpoint | [Kiss Translator](https://github.com/fishjar/kiss-translator) | | `/deepl` | POST | DeepL API v2 compatible endpoint | Clients supporting DeepL API | +| `/deeplx` | POST | DeepLX compatible endpoint | Clients supporting DeepLX API | | `/hcfy` | POST | Selection Translator compatible endpoint | [Selection Translator](https://github.com/Selection-Translator/crx-selection-translate) | | `/hcfy` | POST | Selection Translator compatible endpoint | [Selection Translator](https://github.com/Selection-Translator/crx-selection-translate) | | `/google/language/translate/v2` | POST | Google Translate API v2 compatible endpoint | Clients supporting Google Translate API | @@ -149,6 +150,7 @@ The server provides compatible endpoints for multiple translation plugins: | Kiss Translator (No Password) | `http://localhost:8989/kiss` | `Interface Settings` - `Custom` - `URL` | | Kiss Translator (With Password) | `http://localhost:8989/kiss` | Same as above, fill `KEY` with `your_token` | | DeepL Compatible | `http://localhost:8989/deepl` | Use `DeepL-Auth-Key` or `Bearer` authentication | +| DeepLX Compatible | `http://localhost:8989/deeplx` | Support `token` parameter or `Bearer` authentication | | Google Compatible | `http://localhost:8989/google/language/translate/v2` | Use `key` parameter or `Bearer` authentication | | Selection Translator | `http://localhost:8989/hcfy` | Support `token` parameter or `Bearer` authentication | diff --git a/docs/README_fr.md b/docs/README_fr.md index 133cc4d..835d844 100644 --- a/docs/README_fr.md +++ b/docs/README_fr.md @@ -98,11 +98,11 @@ docker compose up -d ### Plugins IDE -#### Plugin de traduction de commentaires MTranCode +#### [MTranCode](https://github.com/xxnuo/MTranCode) Plugin de traduction de commentaires MTranCode Prend en charge VS Code, Cursor, Augment et d'autres IDE basés sur VS Code. -Recherchez `MTranCode` dans la boutique d'extensions pour installer le plugin de traduction de commentaires. +Recherchez **`MTranCode`** dans la boutique d'extensions pour installer le plugin de traduction de commentaires. Par défaut, le plugin appelle le serveur `http://localhost:8989` pour la traduction des commentaires et du code. Vous pouvez l'ajuster dans les paramètres. @@ -110,7 +110,7 @@ Ce plugin est forké de [vscode-comment-translate](https://github.com/intellism/ ### Extension de navigateur -#### MTranBrowser +#### [MTranBrowser](https://github.com/xxnuo/MTranBrowser) TODO: En cours de développement. @@ -127,6 +127,7 @@ Le serveur fournit plusieurs interfaces compatibles avec les plugins de traducti | `/imme` | POST | Interface pour le plugin Immersive Translate | [Immersive Translate](https://immersivetranslate.com/) | | `/kiss` | POST | Interface pour le plugin Kiss Translator | [Kiss Translator](https://github.com/fishjar/kiss-translator) | | `/deepl` | POST | Interface compatible DeepL API v2 | Clients supportant l'API DeepL | +| `/deeplx` | POST | Interface compatible DeepLX | Clients supportant l'API DeepLX | | `/hcfy` | POST | Interface compatible Selection Translator | [Selection Translator](https://github.com/Selection-Translator/crx-selection-translate) | | `/hcfy` | POST | Interface compatible Selection Translator | [Selection Translator](https://github.com/Selection-Translator/crx-selection-translate) | | `/google/language/translate/v2` | POST | Interface compatible Google Translate API v2 | Clients supportant l'API Google Translate | @@ -149,6 +150,7 @@ Le serveur fournit plusieurs interfaces compatibles avec les plugins de traducti | Kiss Translator sans mot de passe | `http://localhost:8989/kiss` | `Paramètres d'interface` - `Custom` - `URL` | | Kiss Translator avec mot de passe | `http://localhost:8989/kiss` | Idem, remplissez `KEY` avec `your_token` | | Compatible DeepL | `http://localhost:8989/deepl` | Utilisez l'authentification `DeepL-Auth-Key` ou `Bearer` | +| Compatible DeepLX | `http://localhost:8989/deeplx` | Supporte le paramètre `token` ou l'authentification `Bearer` | | Compatible Google | `http://localhost:8989/google/language/translate/v2` | Utilisez le paramètre `key` ou l'authentification `Bearer` | | Selection Translator | `http://localhost:8989/hcfy` | Supporte le paramètre `token` ou l'authentification `Bearer` | diff --git a/docs/README_ja.md b/docs/README_ja.md index 7cfa41d..26d6b53 100644 --- a/docs/README_ja.md +++ b/docs/README_ja.md @@ -98,11 +98,11 @@ docker compose up -d ### IDE プラグイン -#### MTranCode コメント翻訳プラグイン +#### [MTranCode](https://github.com/xxnuo/MTranCode) コメント翻訳プラグイン VS Code、Cursor、Augment などの VS Code 系 IDE をサポートしています。 -拡張機能マーケットプレイスで `MTranCode` を検索するとコメント翻訳プラグインをインストールできます。 +拡張機能マーケットプレイスで **`MTranCode`** を検索するとコメント翻訳プラグインをインストールできます。 プラグインはデフォルトで `http://localhost:8989` のサーバーを呼び出してコメントやコードの翻訳を行います。設定で変更できます。 @@ -110,7 +110,7 @@ VS Code、Cursor、Augment などの VS Code 系 IDE をサポートしていま ### ブラウザ拡張 -#### MTranBrowser +#### [MTranBrowser](https://github.com/xxnuo/MTranBrowser) TODO: 開発中です。 @@ -127,6 +127,7 @@ TODO: 開発中です。 | `/imme` | POST | 没入型翻訳(Immersive Translate)プラグインインターフェース | [没入型翻訳](https://immersivetranslate.com/) | | `/kiss` | POST | Kiss Translator プラグインインターフェース | [Kiss Translator](https://github.com/fishjar/kiss-translator) | | `/deepl` | POST | DeepL API v2 互換インターフェース | DeepL API 対応クライアント | +| `/deeplx` | POST | DeepLX 互換インターフェース | DeepLX API 対応クライアント | | `/hcfy` | POST | 划词翻译(Selection Translator)互換インターフェース | [划词翻译](https://github.com/Selection-Translator/crx-selection-translate) | | `/hcfy` | POST | 划词翻译(Selection Translator)互換インターフェース | [划词翻译](https://github.com/Selection-Translator/crx-selection-translate) | | `/google/language/translate/v2` | POST | Google Translate API v2 互換インターフェース | Google Translate API 対応クライアント | @@ -149,6 +150,7 @@ TODO: 開発中です。 | Kiss Translator(パスワードなし) | `http://localhost:8989/kiss` | `インターフェース設定` - `Custom` - `URL` | | Kiss Translator(パスワードあり) | `http://localhost:8989/kiss` | 同上、`KEY` に `your_token` を入力してください | | DeepL 互換 | `http://localhost:8989/deepl` | `DeepL-Auth-Key` または `Bearer` 認証を使用 | +| DeepLX 互換 | `http://localhost:8989/deeplx` | `token` パラメータまたは `Bearer` 認証をサポート | | Google 互換 | `http://localhost:8989/google/language/translate/v2` | `key` パラメータまたは `Bearer` 認証を使用 | | 划词翻译 | `http://localhost:8989/hcfy` | `token` パラメータまたは `Bearer` 認証をサポート |