File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,10 +26,17 @@ jobs:
2626 - name : Sync with CPython
2727 run : make clone && make merge && make rm_cpython
2828
29+ - uses : tibdex/github-app-token@v1
30+ id : generate-token
31+ with :
32+ app_id : ${{ secrets.APP_ID }}
33+ private_key : ${{ secrets.APP_PRIVATE_KEY }}
34+
2935 - name : Create Pull Request
3036 id : cpr
3137 uses : peter-evans/create-pull-request@v3
3238 with :
39+ token : ${{ steps.generate-token.outputs.token }}
3340 commit-message : sync with cpython ${{ env.LATEST_COMMIT_ID }}
3441 committer : GitHub <noreply@github.com>
3542 author : github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@@ -39,12 +46,10 @@ jobs:
3946 title : ' Sync with CPython ${{ env.VERSION }}'
4047 body : |
4148 Sync with CPython ${{ env.VERSION }}
49+ draft : true
4250 labels : |
4351 sync-cpython
4452 automation
45- team-reviewers : |
46- owners
47- maintainers
4853
4954 - name : Check outputs
5055 run : |
Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ endif
8484 if [ -f "$$PO" ];\
8585 then\
8686 case "$$POT" in\
87- *whatsnew*) msgmerge --backup=off --force-po --no-fuzzy-matching -U "$$PO" "$$POT" ;;\
88- *) msgmerge --backup=off --force-po -U "$$PO" "$$POT" ;;\
87+ *whatsnew*) msgmerge --lang=$(LANGUAGE) -- backup=off --force-po --no-fuzzy-matching -U "$$PO" "$$POT" ;;\
88+ *) msgmerge --lang=$(LANGUAGE) -- backup=off --force-po -U "$$PO" "$$POT" ;;\
8989 esac\
9090 else\
91- msgcat -o "$$PO" "$$POT";\
91+ msgcat --lang=$(LANGUAGE) - o "$$PO" "$$POT";\
9292 fi\
9393 done
9494
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Python 官方說明文件臺灣繁體中文翻譯計畫
1010
1111翻譯之前,請務必詳讀並同意\ `授權與 License `_。參與方式請參考\ `參加翻譯 `_。
1212
13- 您可以在 https://python-doc-tw .github.io/ 瀏覽目前翻譯的成果。
13+ 您可以在 https://python.github.io/python-docs-zh-tw / 瀏覽目前翻譯的成果。
1414
1515想問問題、認識翻譯同好,歡迎加入 Telegram 聊天室 `t.me/PyDocTW `_
1616
You can’t perform that action at this time.
0 commit comments