Uh oh!
There was an error while loading. Please reload this page.
Sync with cpython and translate new/fuzzy entries from upstream sync - #1239
Sync with cpython and translate new/fuzzy entries from upstream sync#1239mattwang44 wants to merge 9 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| #: ../../library/curses.panel.rst:51 | ||
| msgid "Panel objects" | ||
| msgstr "" | ||
| msgstr "面板物件" |
There was a problem hiding this comment.
因為真的是有 Panel object 所以不翻譯 Panel 會不會比較好?
Addresses review feedback on PR python#1239: several c-api/*.po translations rendered the "steals a reference" idiom as plain-text 「竊取」 instead of linking it to the glossary via :term:`竊取 <steal>`, and one entry had stray spacing around the markup. Applies the same fix to every remaining occurrence across c-api/bytes.po, dict.po, exceptions.po, gen.po, list.po, module.po, sequence.po, tuple.po, and threads.po. Co-authored-by: Claude <noreply@anthropic.com>
CI builds with sphinx-build --fail-on-warning, so the 56 warnings from the previous push were hard failures. Root cause: two escaping bugs introduced across the large tkinter.po translation batch. 1. A role/literal close (`` ` `` or ``` `` ```) directly followed by a full-width ( with no `\ ` separator confuses docutils' inline markup boundary detection, which can silently swallow or merge adjacent role references in the same paragraph -- surfacing as Sphinx's i18n.inconsistent_references warnings (dropped or merged :class:/ :meth:/:attr:/:term: references) in tkinter.po, tkinter.ttk.po, http.cookiejar.po, and c-api/unicode.po. 2. The same applies to *emphasis*( with no space/separator before the parenthesis, which docutils reports as "Inline emphasis start-string without end-string" since the closing `*` isn't followed by a recognized boundary character. Fixed by adding the space that's already the established convention elsewhere in this file. Also fixes a review comment on PR python#1239: removes a stray literal space that rendered as a visible gap between adjacent Chinese text and a role's Chinese display text in c-api/dict.po. Co-authored-by: Claude <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| "在執行期,產生器運算式會被求值為一個 :term:`generator iterator`\\ (產生器疊" | ||
| "代器),它會產生和對應的 list comprehension 相同的值: ::" |
There was a problem hiding this comment.
| "在執行期,產生器運算式會被求值為一個 :term:`generator iterator`\\ (產生器疊" | |
| "代器),它會產生和對應的 list comprehension 相同的值: ::" | |
| "在 runtime,產生器運算式會被求值為一個 :term:`產生器疊代器 " | |
| "<generator iterator>`,它會產生和對應的串列綜合運算相同的值: ::" |
| "arguments. See the :ref:`Calls section <calls>` for details. For example::" | ||
| msgstr "" | ||
| "當產生器運算式是唯一的位置引數,且沒有關鍵字引數時,呼叫中可以省略外層的括" | ||
| "號。詳情請參閱\\ :ref:`Calls 章節 <calls>`。舉例來說: ::" |
There was a problem hiding this comment.
| "號。詳情請參閱\\ :ref:`Calls 章節 <calls>`。舉例來說: ::" | |
| "號。詳情請參閱 :ref:`Calls 章節 <calls>`。舉例來說: ::" |
| "`3501`, section 7.4.2), so production code should inspect the whole response " | ||
| "rather than rely on ``data[0][1]``." | ||
| msgstr "" | ||
| "一個 ``FETCH`` 回應可能會包含額外或未經請求的資料(參閱\\ :rfc:`3501`\\ 第 " |
There was a problem hiding this comment.
| "一個 ``FETCH`` 回應可能會包含額外或未經請求的資料(參閱\\ :rfc:`3501`\\ 第 " | |
| "一個 ``FETCH`` 回應可能會包含額外或未經請求的資料(參閱 :rfc:`3501` 第 " |
| "非同步地在執行緒中引發例外。*id* 引數為目標執行緒的執行緒 id;*exc* 為要引發" | ||
| "的例外物件。此函式不會\\ :term:`竊取 <steal>`\\ 任何對 *exc* 的參照。為了防止" | ||
| "不當誤用,你必須自行編寫 C 擴充來呼叫此函式。呼叫時必須具有\\ :term:`已附加的" | ||
| "執行緒狀態 <attached thread state>`\\ 。回傳被修改的執行緒狀態數量;通常為" |
There was a problem hiding this comment.
| "執行緒狀態 <attached thread state>`\\ 。回傳被修改的執行緒狀態數量;通常為" | |
| "執行緒狀態 <attached thread state>`。回傳被修改的執行緒狀態數量;通常為" |
| "define ``__hash__ = Set._hash``." | ||
| msgstr "" | ||
| ":class:`Set` mixin 提供了 :meth:`!_hash` 方法來計算集合的雜湊值;然而,由於並" | ||
| "非所有集合都是 :term:`hashable` 或不可變的,因此並未定義 :meth:`~object." |
There was a problem hiding this comment.
| "非所有集合都是 :term:`hashable` 或不可變的,因此並未定義 :meth:`~object." | |
| "非所有集合都是\\ :term:`可雜湊的 <hashable>`\\ 或不可變的,因此並未定義 :meth:`~object." |
There was a problem hiding this comment.
make :term:`term` to be :term:`中文翻譯 <term>`
Addresses review feedback on PR python#1239: several c-api/*.po translations rendered the "steals a reference" idiom as plain-text 「竊取」 instead of linking it to the glossary via :term:`竊取 <steal>`, and one entry had stray spacing around the markup. Applies the same fix to every remaining occurrence across c-api/bytes.po, dict.po, exceptions.po, gen.po, list.po, module.po, sequence.po, tuple.po, and threads.po. Co-authored-by: Claude <noreply@anthropic.com>
CI builds with sphinx-build --fail-on-warning, so the 56 warnings from the previous push were hard failures. Root cause: two escaping bugs introduced across the large tkinter.po translation batch. 1. A role/literal close (`` ` `` or ``` `` ```) directly followed by a full-width ( with no `\ ` separator confuses docutils' inline markup boundary detection, which can silently swallow or merge adjacent role references in the same paragraph -- surfacing as Sphinx's i18n.inconsistent_references warnings (dropped or merged :class:/ :meth:/:attr:/:term: references) in tkinter.po, tkinter.ttk.po, http.cookiejar.po, and c-api/unicode.po. 2. The same applies to *emphasis*( with no space/separator before the parenthesis, which docutils reports as "Inline emphasis start-string without end-string" since the closing `*` isn't followed by a recognized boundary character. Fixed by adding the space that's already the established convention elsewhere in this file. Also fixes a review comment on PR python#1239: removes a stray literal space that rendered as a visible gap between adjacent Chinese text and a role's Chinese display text in c-api/dict.po. Co-authored-by: Claude <noreply@anthropic.com>
Addresses review feedback on PR python#1239: several c-api/*.po translations rendered the "steals a reference" idiom as plain-text 「竊取」 instead of linking it to the glossary via :term:`竊取 <steal>`, and one entry had stray spacing around the markup. Applies the same fix to every remaining occurrence across c-api/bytes.po, dict.po, exceptions.po, gen.po, list.po, module.po, sequence.po, tuple.po, and threads.po. Co-authored-by: Claude <noreply@anthropic.com>
CI builds with sphinx-build --fail-on-warning, so the 56 warnings from the previous push were hard failures. Root cause: two escaping bugs introduced across the large tkinter.po translation batch. 1. A role/literal close (`` ` `` or ``` `` ```) directly followed by a full-width ( with no `\ ` separator confuses docutils' inline markup boundary detection, which can silently swallow or merge adjacent role references in the same paragraph -- surfacing as Sphinx's i18n.inconsistent_references warnings (dropped or merged :class:/ :meth:/:attr:/:term: references) in tkinter.po, tkinter.ttk.po, http.cookiejar.po, and c-api/unicode.po. 2. The same applies to *emphasis*( with no space/separator before the parenthesis, which docutils reports as "Inline emphasis start-string without end-string" since the closing `*` isn't followed by a recognized boundary character. Fixed by adding the space that's already the established convention elsewhere in this file. Also fixes a review comment on PR python#1239: removes a stray literal space that rendered as a visible gap between adjacent Chinese text and a role's Chinese display text in c-api/dict.po. Co-authored-by: Claude <noreply@anthropic.com>
Addresses review feedback on PR python#1239: several c-api/*.po translations rendered the "steals a reference" idiom as plain-text 「竊取」 instead of linking it to the glossary via :term:`竊取 <steal>`, and one entry had stray spacing around the markup. Applies the same fix to every remaining occurrence across c-api/bytes.po, dict.po, exceptions.po, gen.po, list.po, module.po, sequence.po, tuple.po, and threads.po. Co-authored-by: Claude <noreply@anthropic.com>
CI builds with sphinx-build --fail-on-warning, so the 56 warnings from the previous push were hard failures. Root cause: two escaping bugs introduced across the large tkinter.po translation batch. 1. A role/literal close (`` ` `` or ``` `` ```) directly followed by a full-width ( with no `\ ` separator confuses docutils' inline markup boundary detection, which can silently swallow or merge adjacent role references in the same paragraph -- surfacing as Sphinx's i18n.inconsistent_references warnings (dropped or merged :class:/ :meth:/:attr:/:term: references) in tkinter.po, tkinter.ttk.po, http.cookiejar.po, and c-api/unicode.po. 2. The same applies to *emphasis*( with no space/separator before the parenthesis, which docutils reports as "Inline emphasis start-string without end-string" since the closing `*` isn't followed by a recognized boundary character. Fixed by adding the space that's already the established convention elsewhere in this file. Also fixes a review comment on PR python#1239: removes a stray literal space that rendered as a visible gap between adjacent Chinese text and a role's Chinese display text in c-api/dict.po. Co-authored-by: Claude <noreply@anthropic.com>
Rebased onto upstream's new sync commits (cpython 6337bfd4..37a5c690) and
translated the resulting new/fuzzy backlog: 96 entries across 22 files
(c-api/{exceptions,frame,perfmaps,typeobj,veryhigh}.po, library/{ast,
calendar,compression.zstd,concurrent.interpreters,difflib,filecmp,
functions,getopt,inspect,lzma,mimetypes,secrets,sys,uu}.po,
howto/logging-cookbook.po, using/windows.po, whatsnew/3.14.po).
Also addressed outstanding review feedback on PR python#1239:
- reference/expressions.po: reworded the generator-iterator/list-
comprehension sentence per reviewer suggestion, and dropped unneeded
backslash escaping before the Calls-section role reference.
- library/imaplib.po: dropped unneeded backslash escaping around the
:rfc:`3501` reference.
- library/collections.abc.po: use :term:`可雜湊的 <hashable>` instead of
the bare English :term:`hashable` role, per reviewer guidance to give
glossary terms a Chinese display form.
- whatsnew/3.14.po: fixed a role-directly-touching-full-width-paren RST
escaping bug introduced by today's translation.
- reference/expressions.po: fixed a stray single-backtick (default-role)
lint warning in a pre-existing code comment.
Co-authored-by: Claude <noreply@anthropic.com>Resets to python/python-docs-zh-tw cron/sync/3.14 (cpython 44b4029a), pulls in library/concurrent.futures.po's latest doc refresh, and translates the accumulated backlog of new/fuzzy msgids versus the 3.14 branch: 1229 entries in library/tkinter.po (upstream doc rewrite), library/tkinter.ttk.po, library/dataclasses.po, library/curses.po, library/os.po, a brand-new library/asyncio-threading.po, and 43 other files, for 1328 entries total across 49 files. Co-authored-by: Claude <noreply@anthropic.com>
Rebases onto upstream cron/sync/3.14's new commit, which refreshed library/http.cookiejar.po's reST role precision (e.g. bare :attr:/:meth: names -> fully-qualified ~Class.member roles). Re-translates all 31 fuzzy entries this introduced. Co-authored-by: Claude <noreply@anthropic.com>
Addresses review feedback on PR python#1239: several c-api/*.po translations rendered the "steals a reference" idiom as plain-text 「竊取」 instead of linking it to the glossary via :term:`竊取 <steal>`, and one entry had stray spacing around the markup. Applies the same fix to every remaining occurrence across c-api/bytes.po, dict.po, exceptions.po, gen.po, list.po, module.po, sequence.po, tuple.po, and threads.po. Co-authored-by: Claude <noreply@anthropic.com>
CI builds with sphinx-build --fail-on-warning, so the 56 warnings from the previous push were hard failures. Root cause: two escaping bugs introduced across the large tkinter.po translation batch. 1. A role/literal close (`` ` `` or ``` `` ```) directly followed by a full-width ( with no `\ ` separator confuses docutils' inline markup boundary detection, which can silently swallow or merge adjacent role references in the same paragraph -- surfacing as Sphinx's i18n.inconsistent_references warnings (dropped or merged :class:/ :meth:/:attr:/:term: references) in tkinter.po, tkinter.ttk.po, http.cookiejar.po, and c-api/unicode.po. 2. The same applies to *emphasis*( with no space/separator before the parenthesis, which docutils reports as "Inline emphasis start-string without end-string" since the closing `*` isn't followed by a recognized boundary character. Fixed by adding the space that's already the established convention elsewhere in this file. Also fixes a review comment on PR python#1239: removes a stray literal space that rendered as a visible gap between adjacent Chinese text and a role's Chinese display text in c-api/dict.po. Co-authored-by: Claude <noreply@anthropic.com>
- c-api/exceptions.po: 向下相容 -> 向後相容 (review comment) - c-api/threads.po: translate the :term:`attached thread state` role display text instead of leaving it bare in English (review comment) - c-api/unicode.po: use \ instead of a literal space before a role whose translated display text is Chinese, avoiding a stray visible gap between adjacent Chinese words (review comment) - library/tkinter.ttk.po: rewrap a sentence that referenced :class:`Label` twice where the English original references it once, which Sphinx's i18n.inconsistent_references check flags as a reference-count mismatch Co-authored-by: Claude <noreply@anthropic.com>
Translates 91 new/fuzzy entries introduced by 5 new upstream sync commits across 21 files (c-api: buffer, code, gen, intro, set, typeobj; library: asyncio, asyncio-graph, asyncio-tools, ctypes, glob, http.server, imaplib, mimetypes, os, re, string, tkinter, tkinter.font, urllib.parse; reference: compound_stmts). Also resolves 5 merge-conflict hunks in tkinter.po from rebasing prior fix commits onto the new upstream commits. Clarifies CLAUDE.md's reST escaping guidance: the `\ ` zero-width separator is only required before OPENING full-width punctuation ((「『) touching a role/literal/emphasis close, not before closing/medial punctuation (。,:;!?」』)), per corpus-wide grep evidence. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QP5Xz4JpfsP7ZsfFVprnxr
Covers 18 files, 116 entries translated or fixed: - library/tkinter.po: 25 new + 13 fuzzy (geometry managers, widget variables, window manager, Entry index docs) - c-api/descriptor.po: 19 new (PyGetSetDef/PyMemberDef/PyMethodDef/ wrapper descriptor reference) - library/tkinter.ttk.po: 13 new, plus a fix for a pre-existing msgid/msgstr misalignment found during review (rst:52 had carried another entry's translation) - library/asyncio-eventloop.po: 7 new + 4 fuzzy (pipe objects, SelectorEventLoop/ProactorEventLoop address resolution) - library/asyncio-platforms.po: 2 new - library/asyncio-queue.po: 2 fuzzy (QueueShutDown) - library/asyncio-task.po: 2 new - howto/a-conceptual-overview-of-asyncio.po: 1 new - library/tkinter.dnd.po: 9 fuzzy - library/tkinter.messagebox.po: 1 fuzzy - library/dialog.po: 1 new - library/curses.panel.po: 1 fuzzy + 2 new - library/stdtypes.po: 4 fuzzy - library/struct.po: 2 fuzzy - using/windows.po: 2 new - library/urllib.request.po: 1 new - whatsnew/3.10.po: 1 fuzzy - whatsnew/2.4.po: 4 fuzzy (pre-existing untranslated backlog in this file otherwise left untouched) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KycUFYt8cbUhW851YjELfw
Rebased onto upstream's new sync commits (cpython 6337bfd4..37a5c690) and
translated the resulting new/fuzzy backlog: 96 entries across 22 files
(c-api/{exceptions,frame,perfmaps,typeobj,veryhigh}.po, library/{ast,
calendar,compression.zstd,concurrent.interpreters,difflib,filecmp,
functions,getopt,inspect,lzma,mimetypes,secrets,sys,uu}.po,
howto/logging-cookbook.po, using/windows.po, whatsnew/3.14.po).
Also addressed outstanding review feedback on PR python#1239:
- reference/expressions.po: reworded the generator-iterator/list-
comprehension sentence per reviewer suggestion, and dropped unneeded
backslash escaping before the Calls-section role reference.
- library/imaplib.po: dropped unneeded backslash escaping around the
:rfc:`3501` reference.
- library/collections.abc.po: use :term:`可雜湊的 <hashable>` instead of
the bare English :term:`hashable` role, per reviewer guidance to give
glossary terms a Chinese display form.
- whatsnew/3.14.po: fixed a role-directly-touching-full-width-paren RST
escaping bug introduced by today's translation.
- reference/expressions.po: fixed a stray single-backtick (default-role)
lint warning in a pre-existing code comment.
Co-authored-by: Claude <noreply@anthropic.com>Rebased onto upstream/cron/sync/3.14 (6 new sync commits) and translated the resulting new-or-fuzzy backlog: 39 entries across 10 files (32 new, 7 fuzzy resolved) in c-api/exceptions.po, c-api/init_config.po, c-api/intro.po, library/asyncio-eventloop.po, library/difflib.po, library/functions.po, library/tempfile.po, library/test.po, license.po, and whatsnew/2.5.po. Excludes the large pre-existing untranslated backlog in whatsnew/2.4.po, whatsnew/2.5.po, library/difflib.po, and library/test.po that is unrelated to this sync.
No description provided.