Skip to content

The only downloader you need. 下载器的集大成者。

feat(i18n): 集成 Crowdin 翻译贡献者功能

XiaoYouChR7817cfa00797
diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml
index a711179c..38be6ca7 100644
--- a/.github/workflows/crowdin.yml
+++ b/.github/workflows/crowdin.yml
@@ -83,6 +83,21 @@ jobs:
rm -f .git/COMMIT_EDITMSG
python sync_i18n_res.py
+ - name: Update Crowdin contributors
+ if: github.event.inputs.operation == 'pull'
+ uses: andrii-bodnar/action-crowdin-contributors@v3
+ with:
+ files: |
+ README.md
+ README_zh.md
+ contributors_per_line: 8
+ max_contributors: 32
+ image_size: 64
+ min_words_contributed: 100
+ env:
+ CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
+ CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
+
- name: Create translation pull request
if: github.event.inputs.operation == 'pull'
uses: peter-evans/create-pull-request@v8
@@ -98,8 +113,11 @@ jobs:
body: |
This PR was created automatically by the Crowdin sync workflow.
- It refreshes the Qt `.ts` files, compiled `.qm` files, and `app/assets/resources.py`.
+ It refreshes the Qt `.ts` files, compiled `.qm` files,
+ `app/assets/resources.py`, and Crowdin contributors in both READMEs.
add-paths: |
app/assets/i18n/*.ts
app/assets/i18n/*.qm
app/assets/resources.py
+ README.md
+ README_zh.md
diff --git a/README.md b/README.md
index 8b27b97e..560f9a2c 100644
--- a/README.md
+++ b/README.md
@@ -69,7 +69,7 @@
- ✅ Intelligent acceleration
- ✅ Use AsyncIO to reduce boilerplate
- ❌ Event-driven architecture refactor (Actor Model)
-- ❌ Enhanced task editing (powerful features like binding multiple Clients to one task)
+- ❌ Enhanced task editing (powerful features like binding multiple Sessions to one task)
- ❌ Support for eD2k protocol
Visit [Open issues](https://github.com/XiaoYouChR/Ghost-Downloader-3/issues) to see all requested features (and known issues).
@@ -97,6 +97,11 @@ Thanks to all contributors who have participated in this project!
[![Contributors](http://contrib.nn.ci/api?repo=XiaoYouChR/Ghost-Downloader-3)](https://github.com/XiaoYouChR/Ghost-Downloader-3/graphs/contributors)
+## Translation Contributors
+
+<!-- CROWDIN-CONTRIBUTORS-START -->
+<!-- CROWDIN-CONTRIBUTORS-END -->
+
<!-- SCREEN SHOTS -->
## Screenshots
diff --git a/README_zh.md b/README_zh.md
index 39f00505..75131ba8 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -69,7 +69,7 @@
- ✅ 智能加速
- ✅ 使用 AsyncIO 解决样板代码问题
- ❌ 由事件驱动的架构重构 (Actor Model)
-- ❌ 更强大的任务编辑功能 (一个任务绑定多个 Client 等强大功能)
+- ❌ 更强大的任务编辑功能 (一个任务绑定多个 Sessions 等强大功能)
- ❌ 支持 eD2k 协议
到 [Open issues](https://github.com/XiaoYouChR/Ghost-Downloader-3/issues) 页面查看所有被请求的功能 (以及已知的问题) 。
@@ -97,6 +97,11 @@
[![Contributors](http://contrib.nn.ci/api?repo=XiaoYouChR/Ghost-Downloader-3)](https://github.com/XiaoYouChR/Ghost-Downloader-3/graphs/contributors)
+## 翻译贡献者
+
+<!-- CROWDIN-CONTRIBUTORS-START -->
+<!-- CROWDIN-CONTRIBUTORS-END -->
+
<!-- SCREEN SHOTS -->
## 截图