Skip to content

Commit 04f722d

Browse files
mattwang44claude
andcommitted
chore: update script for 3.15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f41fc27 commit 04f722d

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎.codex/AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ confirm the generated HTML in `../cpython/Doc/build/html`.
3131

3232
## Commit & Pull Request Guidelines
3333
- Open an issue to claim a translation task before starting.
34-
- Base your branch on `upstream/3.13`.
34+
- Base your branch on `upstream/3.15`.
3535
- Use clear commit messages; the repo example is
3636
`Working on path/to/file.po`.
3737
- In PRs, summarize the files translated, link the issue, and note any build

‎.github/workflows/deploy-gh-page.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: deploy-gh-page
33
on:
44
push:
55
branches:
6-
- "3.14"
6+
- "3.15"
77

88
jobs:
99
cd:
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: python-3.14-sync-with-cpython
1+
name: python-3.15-sync-with-cpython
22

33
on:
44
push:
55
branches:
6-
- "3.14"
6+
- "3.15"
77
schedule:
88
- cron: "0 0 * * *"
99

1010
jobs:
1111
sync:
1212
runs-on: ubuntu-latest
1313
env:
14-
VERSION: "3.14"
15-
BRANCH: "cron/sync/3.14"
14+
VERSION: "3.15"
15+
BRANCH: "cron/sync/3.15"
1616
steps:
1717
- uses: actions/checkout@v6
1818
with:

‎.scripts/summarize_progress/main.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def format_line_po(filename: str, po_link: str, progress: str, num_entries: str,
137137
filedict_sorted = dict(sorted(filedict.items()))
138138
for filename, filedata in filedict_sorted.items():
139139
file_path = f"{dirname}/{filename}" if dirname else filename
140-
po_link = f"https://github.com/python/python-docs-zh-tw/tree/3.14/{file_path}"
140+
po_link = f"https://github.com/python/python-docs-zh-tw/tree/3.15/{file_path}"
141141
issue_link = filedata['issue']
142142
issue_number = f"#{issue_link.split('/')[-1]}"
143143
create_issue_link = f"https://github.com/python/python-docs-zh-tw/issues/new?title=Translate%20`{file_path}`"

‎CLAUDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python Documentation Traditional Chinese Translation
22

3-
This project translates Python 3.14 official documentation to Traditional Chinese (zh_TW).
3+
This project translates Python 3.15 official documentation to Traditional Chinese (zh_TW).
44

55
## Build Commands
66

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ endef
3838
export PRINT_HELP_PYSCRIPT # End of python section
3939

4040
CPYTHON_CLONE := ../cpython
41-
VERSION := $(or $(VERSION), 3.14)
41+
VERSION := $(or $(VERSION), 3.15)
4242
SPHINX_CONF := $(CPYTHON_CLONE)/Doc/conf.py
4343
LANGUAGE := zh_TW
4444
LC_MESSAGES := $(CPYTHON_CLONE)/Doc/locales/$(LANGUAGE)/LC_MESSAGES

‎README.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Python 官方說明文件臺灣繁體中文翻譯計畫
66
:target: https://discord.gg/44XheGXhWH
77
:alt: Join Chat on Discord
88

9-
這是 Python 3.14 官方說明文件的臺灣繁體中文(zh_TW)翻譯。
9+
這是 Python 3.15 官方說明文件的臺灣繁體中文(zh_TW)翻譯。
1010

1111
翻譯之前,請務必詳讀並同意\ `授權與 License`_。參與方式請參考\ `參與翻譯`_。
1212

@@ -133,13 +133,13 @@ the PSF for inclusion in the documentation.
133133

134134
接著在 terminal 裡按照以下步驟:
135135

136-
1. 基於最新版本的 ``upstream/3.14`` 開啟一個 branch,現在假設我們想要翻譯 library/math.po \
136+
1. 基於最新版本的 ``upstream/3.15`` 開啟一個 branch,現在假設我們想要翻譯 library/math.po \
137137
所以把這個 branch 叫做 ``library/math``:
138138

139139
.. code-block:: bash
140140
141141
git fetch upstream
142-
git checkout -b library/math upstream/3.14
142+
git checkout -b library/math upstream/3.15
143143
144144
2. 接著就可以開始翻譯(翻譯時可參考\ `翻譯守則`_),你可以手動開啟 Poedit 應用程式再選 \
145145
library/math.po 檔案打開
@@ -223,7 +223,7 @@ the PSF for inclusion in the documentation.
223223

224224
- 從 upstream(我們的主要 GitHub repo)做 fetch 的動作
225225
- 對 origin(你的 fork)做 push
226-
- 永遠不對 ``3.14`` branch 進行修改,請保持讓這個 branch 唯讀,可以避免掉很多問題。
226+
- 永遠不對 ``3.15`` branch 進行修改,請保持讓這個 branch 唯讀,可以避免掉很多問題。
227227

228228
要翻譯哪些東西
229229
--------------
@@ -398,7 +398,7 @@ reST 語法注意事項
398398

399399
- 安裝並設定好你偏好的 coding agent(例如 `Claude Code
400400
<https://docs.anthropic.com/en/docs/claude-code>`_ 或 Codex)。
401-
- 將本專案 clone 到本機,並切換到對應的版本 branch(例如 ``3.14``\ )。
401+
- 將本專案 clone 到本機,並切換到對應的版本 branch(例如 ``3.15``\ )。
402402
- 在專案根目錄底下啟動 coding agent,Skill 才會被正確載入。
403403

404404
使用方式與範例

0 commit comments

Comments
 (0)