Skip to content

Commit f5a4715

Browse files
mattwang44claude
andcommitted
Translate remaining fuzzy entries from upstream sync
Resolve every fuzzy entry introduced by this sync whose msgid had a substantive change: update the existing translation to the new source text (added or removed sentences, reworded clauses, new :term: and :ref: links), or retranslate where msgmerge had matched an unrelated old entry. reference/grammar.po only gained code lines (invalid_noteq), which are inserted into the existing translation unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a76e6e8 commit f5a4715

35 files changed

Lines changed: 223 additions & 247 deletions

‎c-api/gen.po‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,26 +61,26 @@ msgstr ""
6161
"此函式總是會成功執行。"
6262

6363
#: ../../c-api/gen.rst:37
64-
#, fuzzy
6564
msgid ""
6665
"Create and return a new generator object based on the *frame* object. A "
6766
"reference to *frame* is \":term:`stolen <steal>`\" by this function (even on "
6867
"error). The argument must not be ``NULL``."
6968
msgstr ""
70-
"基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的"
71-
"參照 (reference)。引數必須不為 ``NULL``。"
69+
"基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會「:term:`竊取 "
70+
"<steal>`」一個對 *frame* 的參照(即使發生錯誤也是如此)。引數必須不為 "
71+
"``NULL``。"
7272

7373
#: ../../c-api/gen.rst:43
74-
#, fuzzy
7574
msgid ""
7675
"Create and return a new generator object based on the *frame* object, with "
7776
"``__name__`` and ``__qualname__`` set to *name* and *qualname*. A reference "
7877
"to *frame* is \":term:`stolen <steal>`\" by this function (even on error). "
7978
"The *frame* argument must not be ``NULL``."
8079
msgstr ""
8180
"基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和 "
82-
"``__qualname__`` 設為 *name* 和 *qualname*。此函式會取走一個對 *frame* 的參"
83-
"照。*frame* 引數必須不為 ``NULL``。"
81+
"``__qualname__`` 設為 *name* 和 *qualname*。此函式會「:term:`竊取 <steal>`」"
82+
"一個對 *frame* 的參照(即使發生錯誤也是如此)。*frame* 引數必須不為 "
83+
"``NULL``。"
8484

8585
#: ../../c-api/gen.rst:51
8686
msgid ""
@@ -107,14 +107,14 @@ msgstr ""
107107
"AsyncGeneratorType` 使用。"
108108

109109
#: ../../c-api/gen.rst:70
110-
#, fuzzy
111110
msgid ""
112111
"Create a new asynchronous generator wrapping *frame*, with ``__name__`` and "
113112
"``__qualname__`` set to *name* and *qualname*. *frame* is \":term:`stolen "
114113
"<steal>`\" by this function (even on error) and must not be ``NULL``."
115114
msgstr ""
116115
"建立一個包裝 *frame* 的非同步產生器,並將 ``__name__`` 和 ``__qualname__`` 設"
117-
"為 *name* 和 *qualname*。*frame* 會被此函式取走,且不得為 ``NULL``。"
116+
"為 *name* 和 *qualname*。*frame* 會被此函式「:term:`竊取 <steal>`」(即使發生"
117+
"錯誤也是如此),且不得為 ``NULL``。"
118118

119119
#: ../../c-api/gen.rst:75
120120
msgid ""

‎c-api/list.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ msgstr ""
123123
"出邊界範圍則回傳 ``-1`` 並設定一個 :exc:`IndexError` 例外。"
124124

125125
#: ../../c-api/list.rst:105
126-
#, fuzzy
127126
msgid ""
128127
"This function \":term:`steals <steal>`\" a reference to *item*, even on "
129128
"error. On success, it discards a reference to an item already in the list at "
130129
"the affected position (unless it was ``NULL``)."
131130
msgstr ""
132-
"此函式「竊取」對 *item* 的參照,並丟棄對串列中受影響位置上已存在項目的參照。"
131+
"此函式「:term:`竊取 <steal>`」對 *item* 的參照,即使發生錯誤也是如此。成功"
132+
"時,它會丟棄對串列中受影響位置上已存在項目的參照(除非該項目為 ``NULL``)。"
133133

134134
#: ../../c-api/list.rst:113
135135
msgid ""

‎c-api/slice.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ msgid ""
8282
msgstr "之前 *slice* 的參數型別是 ``PySliceObject*`` 。"
8383

8484
#: ../../c-api/slice.rst:51
85-
#, fuzzy
8685
msgid ""
8786
"Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, "
8887
"stop, and step indices from the slice object *slice* assuming a sequence of "
@@ -92,7 +91,8 @@ msgid ""
9291
msgstr ""
9392
"可用來取代 :c:func:`PySlice_GetIndices`。從假設序列長度為 *length* 的 slice "
9493
"物件 *slice* 擷取開始、停止和步長索引,並將 slice 的長度存入 *slicelength*。"
95-
"超出範圍的索引會被剪切,剪切方式與一般切片的處理方式一致。"
94+
"超出範圍的索引會被剪切,剪切方式與一般切片的處理方式一致。*length* 不得為負"
95+
"數。"
9696

9797
#: ../../c-api/slice.rst:58
9898
msgid "Return ``0`` on success and ``-1`` on error with an exception set."

‎c-api/tuple.po‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,13 @@ msgstr ""
128128
"*pos* 超出邊界則回傳 ``-1``,並設定 :exc:`IndexError` 例外。"
129129

130130
#: ../../c-api/tuple.rst:93
131-
#, fuzzy
132131
msgid ""
133132
"This function \":term:`steals <steal>`\" a reference to *o* and discards a "
134133
"reference to an item already in the tuple at the affected position (unless "
135134
"it was NULL)."
136-
msgstr "此函式 \"竊取\" 對 *o* 的參照,並丟棄對元組中受影響位置的項目的參照。"
135+
msgstr ""
136+
"此函式「:term:`竊取 <steal>`」對 *o* 的參照,並丟棄對元組中受影響位置的項目的"
137+
"參照(除非該項目為 NULL)。"
137138

138139
#: ../../c-api/tuple.rst:100
139140
msgid ""

‎extending/extending.po‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,17 +1138,15 @@ msgstr ""
11381138
"機制;其實作將需要從 C 回呼中呼叫 Python 回呼函式。其他用途也是可以想像的。"
11391139

11401140
#: ../../extending/extending.rst:547
1141-
#, fuzzy
11421141
msgid ""
11431142
"Fortunately, the Python interpreter is easily called recursively, and there "
11441143
"is a standard interface to call a Python function. (If you're interested in "
11451144
"how to call the Python parser with a particular string as input, see :ref:"
11461145
"`veryhigh`.)"
11471146
msgstr ""
11481147
"幸運的是,Python 直譯器可以很容易地被遞迴呼叫,並且有一個標準介面可以呼叫 "
1149-
"Python 函式。(我不會深入討論如何以特定字串作為輸入來呼叫 Python 剖析器 --- "
1150-
"如果你有興趣,可以查看 Python 原始碼中 :file:`Modules/main.c` 裡 :option:`-"
1151-
"c` 命令列選項的實作。)"
1148+
"Python 函式。(如果你有興趣了解如何以特定字串作為輸入來呼叫 Python 剖析器,請"
1149+
"參閱 :ref:`veryhigh`。)"
11521150

11531151
#: ../../extending/extending.rst:551
11541152
msgid ""

‎extending/index.po‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ msgstr ""
4040
"以動態地(在執行環境)被載入到直譯器中,前提是底層作業系統有支援這個功能。"
4141

4242
#: ../../extending/index.rst:15
43-
#, fuzzy
4443
msgid ""
4544
"This document assumes basic knowledge about C and Python. For an informal "
4645
"introduction to Python, see :ref:`tutorial-index`. :ref:`reference-index` "
@@ -49,10 +48,10 @@ msgid ""
4948
"documents the modules (both built-in and written in Python) that give the "
5049
"language its wide application range."
5150
msgstr ""
52-
"這份說明文件假設你具備 Python 的基礎知識。關於此語言的非正式介紹,請參閱 :"
53-
"ref:`tutorial-index`。:ref:`reference-index`\\ 給予此語言更為正式的定義。:"
54-
"ref:`library-index` 記錄了賦予此語言廣泛應用範圍的物件型別、函式與(內建的和"
55-
"以 Python 編寫的)模組。"
51+
"這份說明文件假設你具備 C 與 Python 的基礎知識。關於 Python 的非正式介紹,請參"
52+
"閱 :ref:`tutorial-index`。:ref:`reference-index`\\ 給予此語言更為正式的定"
53+
"義。:ref:`builtins-index` 記錄了內建函式與物件型別,而 :ref:`library-index` "
54+
"則記錄了賦予此語言廣泛應用範圍的(內建的和以 Python 編寫的)模組。"
5655

5756
#: ../../extending/index.rst:22
5857
msgid ""

‎faq/programming.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,6 @@ msgid "What is the most efficient way to concatenate many strings together?"
22002200
msgstr "將多個字串連接在一起最有效率的方法是什麼?"
22012201

22022202
#: ../../faq/programming.rst:1136
2203-
#, fuzzy
22042203
msgid ""
22052204
":class:`str` and :class:`bytes` objects are immutable, therefore "
22062205
"concatenating many strings together is inefficient as each concatenation "
@@ -2210,7 +2209,7 @@ msgid ""
22102209
msgstr ""
22112210
":class:`str` 和 :class:`bytes` 物件是不可變的,因此將多個字串連接在一起的效率"
22122211
"很低,因為每次連接都會建立一個新物件。在一般情況下,總 runtime 成本與總字串長"
2213-
"度呈二次方關係。"
2212+
"度呈二次方關係。更多資訊請參閱 :ref:`time-complexity`。"
22142213

22152214
#: ../../faq/programming.rst:1141
22162215
msgid ""

‎glossary.po‎

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,6 @@ msgid "expression"
11211121
msgstr "expression(運算式)"
11221122

11231123
#: ../../glossary.rst:517
1124-
#, fuzzy
11251124
msgid ""
11261125
"A piece of syntax which can be evaluated to some value. In other words, an "
11271126
"expression is an accumulation of expression elements like literals, names, "
@@ -1131,10 +1130,9 @@ msgid ""
11311130
"`while`. Assignments are also statements, not expressions."
11321131
msgstr ""
11331132
"一段可以被評估並求值的語法。換句話說,一個運算式就是文字、名稱、屬性存取、運"
1134-
"算子或函式呼叫等運算式元件的累積,而這些元件都能回傳一個值。與許多其他語言不"
1135-
"同的是,並非所有的 Python 語言構造都是運算式。另外有一些 :term:`statement`\\ "
1136-
"(陳述式)不能被用作運算式,例如 :keyword:`while`。賦值 (assignment) 也是陳述"
1137-
"式,而不是運算式。"
1133+
"算子或函式呼叫等運算式元件的累積,而這些元件都能回傳一個值。並非所有的語言構"
1134+
"造都是運算式。另外有一些 :term:`statement`\\ (陳述式)不能被用作運算式,例"
1135+
"如 :keyword:`while`。賦值 (assignment) 也是陳述式,而不是運算式。"
11381136

11391137
#: ../../glossary.rst:524
11401138
msgid "extension module"
@@ -1453,27 +1451,28 @@ msgid "generator function"
14531451
msgstr "generator function(產生器函式)"
14541452

14551453
#: ../../glossary.rst:663
1456-
#, fuzzy
14571454
msgid ""
14581455
"A function which returns a :term:`generator` object. It looks like a normal "
14591456
"function except that it contains :keyword:`yield` expressions for producing "
14601457
"a series of values usable in a :keyword:`for`\\-loop or that can be "
14611458
"retrieved one at a time with the :func:`next` function. See :ref:`yieldexpr`."
14621459
msgstr ""
1463-
"一個會回傳 :term:`generator iterator`\\ (產生器疊代器)的函式。它看起來像一"
1464-
"個正常的函式,但不同的是它包含了 :keyword:`yield` 運算式,能產生一系列的值,"
1465-
"這些值可用於 for 迴圈,或是以 :func:`next` 函式,每次檢索其中的一個值。"
1460+
"一個會回傳 :term:`generator`\\ (產生器)物件的函式。它看起來像一個正常的函"
1461+
"式,但不同的是它包含了 :keyword:`yield` 運算式,能產生一系列的值,這些值可用"
1462+
"於 :keyword:`for` 迴圈,或是以 :func:`next` 函式,每次檢索其中的一個值。請參"
1463+
"閱 :ref:`yieldexpr`。"
14661464

14671465
#: ../../glossary.rst:668
14681466
msgid "generator iterator"
14691467
msgstr "generator iterator(產生器疊代器)"
14701468

14711469
#: ../../glossary.rst:670
1472-
#, fuzzy
14731470
msgid ""
14741471
"An object created by a :term:`generator function` or a :term:`generator "
14751472
"expression`."
1476-
msgstr "一個由 :term:`generator`\\ (產生器)函式所建立的物件。"
1473+
msgstr ""
1474+
"一個由 :term:`generator function`\\ (產生器函式)或 :term:`generator "
1475+
"expression`\\ (產生器運算式)所建立的物件。"
14771476

14781477
#: ../../glossary.rst:673
14791478
msgid ""

‎howto/annotations.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,14 +304,13 @@ msgstr ""
304304
"``dict(vars(o))`` 作為\\ ``區域變數``。"
305305

306306
#: ../../howto/annotations.rst:156
307-
#, fuzzy
308307
msgid ""
309308
"If ``o`` is a wrapped callable using :func:`functools.update_wrapper`, :deco:"
310309
"`functools.wraps`, or :func:`functools.partial`, iteratively unwrap it by "
311310
"accessing either ``o.__wrapped__`` or ``o.func`` as appropriate, until you "
312311
"have found the root unwrapped function."
313312
msgstr ""
314-
"如果 ``o`` 是使用 :func:`functools.update_wrapper`、:func:`functools.wraps` "
313+
"如果 ``o`` 是使用 :func:`functools.update_wrapper`、:deco:`functools.wraps` "
315314
"或 :func:`functools.partial` 包裝的 callable ,請依據需求,透過存取 "
316315
"``o.__wrapped__`` 或 ``o.func`` 來疊代解開它,直到找到根解包函式。"
317316

‎library/asyncio-eventloop.po‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,17 +1757,17 @@ msgid ""
17571757
msgstr ":meth:`socket.connect() <socket.socket.connect>` 的非同步版本。"
17581758

17591759
#: ../../library/asyncio-eventloop.rst:1163
1760-
#, fuzzy
17611760
msgid ""
17621761
"With :class:`SelectorEventLoop`, *address* does not need to be resolved: "
17631762
"for :const:`~socket.AF_INET` and :const:`~socket.AF_INET6` sockets, "
17641763
"``sock_connect`` first checks whether *address* is already resolved by "
17651764
"calling :func:`socket.inet_pton`, and uses :meth:`loop.getaddrinfo` to "
17661765
"resolve it if it is not."
17671766
msgstr ""
1768-
"不再需要解析 ``address``。``sock_connect`` 將嘗試透過呼叫 :func:`socket."
1769-
"inet_pton` 檢查 *address* 是否已解析。如果沒有,將使用 :meth:`loop."
1770-
"getaddrinfo` 解析 *address*。"
1767+
"使用 :class:`SelectorEventLoop` 時,不需要解析 *address*:對"
1768+
"於 :const:`~socket.AF_INET` 和 :const:`~socket.AF_INET6` socket,"
1769+
"``sock_connect`` 會先透過呼叫 :func:`socket.inet_pton` 檢查 *address* 是否已"
1770+
"解析,如果沒有,則使用 :meth:`loop.getaddrinfo` 來解析它。"
17711771

17721772
#: ../../library/asyncio-eventloop.rst:1169
17731773
msgid ""

0 commit comments

Comments
 (0)