Skip to content

Translate library/asyncio-runner.po - #1240

Merged
mattwang44 merged 2 commits into
python:3.14from
nrps9909:codex/translate-asyncio-runner
Aug 14, 2026
Merged

Translate library/asyncio-runner.po#1240
mattwang44 merged 2 commits into
python:3.14from
nrps9909:codex/translate-asyncio-runner

Conversation

@nrps9909

Copy link
Copy Markdown
Contributor

完成 library/asyncio-runner.po 的 26 筆未翻譯字串。

  • runner 依 issue 建議譯為「執行器」
  • event loop 依目前 3.14 asyncio 翻譯用語譯為「事件迴圈」
  • 保留 reST roles、link targets、inline literals 與程式識別字

驗證:

  • make build library/asyncio-runner.po
  • uvx powrap --check library/asyncio-runner.po
  • msgfmt --check --statistics -o /dev/null library/asyncio-runner.po(41 translated)
  • sphinx-lint --enable default-role library/asyncio-runner.po(No problems found)

全庫 make lint 仍會列出其他既有檔案的 default-role 問題;本次目標檔案沒有 lint 問題。

Closes #683

@mattwang44 mattwang44 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中文與英文間要留空格(參考文件

Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

此 PR 針對 Python 3.14 zh_TW 文件補齊 library/asyncio-runner.po 尚未翻譯的字串,完成 asyncio runner 相關章節的繁中化並維持既有術語與 reST 標記可用性。

Changes:

  • 補上 asyncio.run()asyncio.Runner 相關段落(含 timeout、參數說明、KeyboardInterrupt handling)之未翻譯內容。
  • 依既有用語將 runner 譯為「執行器」、event loop 譯為「事件迴圈」,並保留 reST roles/inline literals。
  • 調整部分句子換行以符合 PO 檔行寬與格式要求。

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated
Comment thread library/asyncio-runner.po Outdated
@nrps9909

Copy link
Copy Markdown
Contributor Author

感謝詳細審閱,已在 275eb84 逐項更新:

  • 套用 8 項 reST 空白與「偵錯」用語建議。
  • 依專案術語表,將 finalize asynchronous generators 統一為「最終化非同步產生器」。
  • 為避免與 executor 的「執行器」混淆,asyncio.Runner 相關 prose 統一保留為 Runner

重新驗證結果:

  • msgfmt --check --check-format 通過
  • sphinx-lint --enable default-role library/asyncio-runner.po 通過
  • make build library/asyncio-runner.po 通過,並檢查產生的 HTML 顯示正常
  • make wrapgit diff --check 通過

若 Runner 的術語偏好不同,我可以再依專案慣例調整。

@mattwang44

Copy link
Copy Markdown
Collaborator

Thank you!

@mattwang44
mattwang44 enabled auto-merge (squash) August 14, 2026 02:30
@mattwang44
mattwang44 disabled auto-merge August 14, 2026 02:30
@mattwang44
mattwang44 enabled auto-merge (squash) August 14, 2026 02:30
@mattwang44
mattwang44 merged commit f996730 into python:3.14 Aug 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants