Skip to content

Commit f92b403

Browse files
committed
fix: resolve fuzzy entries
1 parent 0a9f020 commit f92b403

24 files changed

+1518
-1506
lines changed

c-api/complex.po

+36-39
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數之和
8181

8282
#: ../../c-api/complex.rst:49
8383
msgid ""
84-
"Return the difference between two complex numbers, using the C :c:type:"
85-
"`Py_complex` representation."
84+
"Return the difference between two complex numbers, using the "
85+
"C :c:type:`Py_complex` representation."
8686
msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數間的差。"
8787

8888
#: ../../c-api/complex.rst:55
8989
msgid ""
90-
"Return the negation of the complex number *num*, using the C :c:type:"
91-
"`Py_complex` representation."
90+
"Return the negation of the complex number *num*, using the "
91+
"C :c:type:`Py_complex` representation."
9292
msgstr ""
9393
"以 C 的 :c:type:`Py_complex` 表示形式來回傳複數 *num* 的相反數 (negation)。"
9494

@@ -106,16 +106,16 @@ msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數的商
106106

107107
#: ../../c-api/complex.rst:70
108108
msgid ""
109-
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
110-
"c:macro:`!EDOM`."
109+
"If *divisor* is null, this method returns zero and sets :c:data:`errno` "
110+
"to :c:macro:`!EDOM`."
111111
msgstr ""
112-
"如果 *divisor* 為 null,則此方法會回傳零並將 :c:data:`errno` 設定為 :c:macro:"
113-
"`!EDOM`。"
112+
"如果 *divisor* 為 null,則此方法會回傳零並將 :c:data:`errno` 設定"
113+
"為 :c:macro:`!EDOM`。"
114114

115115
#: ../../c-api/complex.rst:76
116116
msgid ""
117-
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
118-
"`Py_complex` representation."
117+
"Return the exponentiation of *num* by *exp*, using the "
118+
"C :c:type:`Py_complex` representation."
119119
msgstr ""
120120
"以 C 的 :c:type:`Py_complex` 表示形式來回傳 *num* 的 *exp* 次方的結果。"
121121

@@ -141,13 +141,13 @@ msgid ""
141141
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
142142
"type. It is the same object as :class:`complex` in the Python layer."
143143
msgstr ""
144-
"這個 :c:type:`PyTypeObject` 的實例代表 Python 複數型別。它與 Python 層中的 :"
145-
"class:`complex` 是同一個物件。"
144+
"這個 :c:type:`PyTypeObject` 的實例代表 Python 複數型別。它與 Python 層中"
145+
"的 :class:`complex` 是同一個物件。"
146146

147147
#: ../../c-api/complex.rst:100
148148
msgid ""
149-
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
150-
"c:type:`PyComplexObject`. This function always succeeds."
149+
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype "
150+
"of :c:type:`PyComplexObject`. This function always succeeds."
151151
msgstr ""
152152
"如果其引數是一個 :c:type:`PyComplexObject` 或者是 :c:type:`PyComplexObject` "
153153
"的子型別,則會回傳 true。這個函式不會失敗。"
@@ -181,25 +181,24 @@ msgid "Return the real part of *op* as a C :c:expr:`double`."
181181
msgstr "以 C 的 :c:expr:`double` 形式回傳 *op* 的實部。"
182182

183183
#: ../../c-api/complex.rst:126
184-
#, fuzzy
185184
msgid ""
186-
"If *op* is not a Python complex number object but has a :meth:`~object."
187-
"__complex__` method, this method will first be called to convert *op* to a "
188-
"Python complex number object. If :meth:`!__complex__` is not defined then "
189-
"it falls back to call :c:func:`PyFloat_AsDouble` and returns its result."
185+
"If *op* is not a Python complex number object but has "
186+
"a :meth:`~object.__complex__` method, this method will first be called to "
187+
"convert *op* to a Python complex number object. If :meth:`!__complex__` is "
188+
"not defined then it falls back to call :c:func:`PyFloat_AsDouble` and "
189+
"returns its result."
190190
msgstr ""
191191
"如果 *op* 不是 Python 複數物件,但有一個 :meth:`~object.__complex__` 方法,則"
192192
"首先會呼叫該方法將 *op* 轉換為 Python 複數物件。如果 :meth:`!__complex__` 並"
193-
"未定義,那麼它會回退到 :meth:`~object.__float__`。如果 :meth:`!__float__` 未"
194-
"定義,則它將繼續回退為 :meth:`~object.__index__`。"
193+
"未定義,那麼它會回退到呼叫 :func:`PyFloat_AsDouble` 並回傳其結果。"
195194

196195
#: ../../c-api/complex.rst:132 ../../c-api/complex.rst:148
197196
msgid ""
198197
"Upon failure, this method returns ``-1.0`` with an exception set, so one "
199198
"should call :c:func:`PyErr_Occurred` to check for errors."
200199
msgstr ""
201-
"失敗時,此方法回傳 ``-1.0`` 並設定例外,因此應該呼叫 :c:func:"
202-
"`PyErr_Occurred` 來檢查錯誤。"
200+
"失敗時,此方法回傳 ``-1.0`` 並設定例外,因此應該呼"
201+
"叫 :c:func:`PyErr_Occurred` 來檢查錯誤。"
203202

204203
#: ../../c-api/complex.rst:135 ../../c-api/complex.rst:151
205204
msgid "Use :meth:`~object.__complex__` if available."
@@ -210,30 +209,28 @@ msgid "Return the imaginary part of *op* as a C :c:expr:`double`."
210209
msgstr "將 *op* 的虛部作為 C 的 :c:expr:`double` 回傳。"
211210

212211
#: ../../c-api/complex.rst:142
213-
#, fuzzy
214212
msgid ""
215-
"If *op* is not a Python complex number object but has a :meth:`~object."
216-
"__complex__` method, this method will first be called to convert *op* to a "
217-
"Python complex number object. If :meth:`!__complex__` is not defined then "
218-
"it falls back to call :c:func:`PyFloat_AsDouble` and returns ``0.0`` on "
219-
"success."
213+
"If *op* is not a Python complex number object but has "
214+
"a :meth:`~object.__complex__` method, this method will first be called to "
215+
"convert *op* to a Python complex number object. If :meth:`!__complex__` is "
216+
"not defined then it falls back to call :c:func:`PyFloat_AsDouble` and "
217+
"returns ``0.0`` on success."
220218
msgstr ""
221219
"如果 *op* 不是 Python 複數物件,但有一個 :meth:`~object.__complex__` 方法,則"
222220
"首先會呼叫該方法將 *op* 轉換為 Python 複數物件。如果 :meth:`!__complex__` 並"
223-
"未定義,那麼它會回退到 :meth:`~object.__float__`。如果 :meth:`!__float__` 未"
224-
"定義,則它將繼續回退為 :meth:`~object.__index__`。"
221+
"未定義,那麼它會回退到呼叫 :func:`PyFloat_AsDouble` 並於成功時回傳 ``0.0``。"
225222

226223
#: ../../c-api/complex.rst:156
227224
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
228225
msgstr "回傳複數 *op* 的 :c:type:`Py_complex` 值。"
229226

230227
#: ../../c-api/complex.rst:158
231228
msgid ""
232-
"If *op* is not a Python complex number object but has a :meth:`~object."
233-
"__complex__` method, this method will first be called to convert *op* to a "
234-
"Python complex number object. If :meth:`!__complex__` is not defined then "
235-
"it falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not "
236-
"defined then it falls back to :meth:`~object.__index__`."
229+
"If *op* is not a Python complex number object but has "
230+
"a :meth:`~object.__complex__` method, this method will first be called to "
231+
"convert *op* to a Python complex number object. If :meth:`!__complex__` is "
232+
"not defined then it falls back to :meth:`~object.__float__`. If :meth:`!"
233+
"__float__` is not defined then it falls back to :meth:`~object.__index__`."
237234
msgstr ""
238235
"如果 *op* 不是 Python 複數物件,但有一個 :meth:`~object.__complex__` 方法,則"
239236
"首先會呼叫該方法將 *op* 轉換為 Python 複數物件。如果 :meth:`!__complex__` 並"
@@ -242,9 +239,9 @@ msgstr ""
242239

243240
#: ../../c-api/complex.rst:164
244241
msgid ""
245-
"Upon failure, this method returns :c:type:`Py_complex` with :c:member:"
246-
"`~Py_complex.real` set to ``-1.0`` and with an exception set, so one should "
247-
"call :c:func:`PyErr_Occurred` to check for errors."
242+
"Upon failure, this method returns :c:type:`Py_complex` "
243+
"with :c:member:`~Py_complex.real` set to ``-1.0`` and with an exception set, "
244+
"so one should call :c:func:`PyErr_Occurred` to check for errors."
248245
msgstr ""
249246
"失敗時,此方法回傳 :c:type:`Py_complex` 並將 :c:member:`~Py_complex.real` 設"
250247
"為 ``-1.0``,並設定例外,因此應該呼叫 :c:func:`PyErr_Occurred` 來檢查錯誤。"

c-api/hash.po

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ msgid "PyHash API"
2222
msgstr "PyHash API"
2323

2424
#: ../../c-api/hash.rst:6
25-
#, fuzzy
2625
msgid ""
2726
"See also the :c:member:`PyTypeObject.tp_hash` member and :ref:`numeric-hash`."
28-
msgstr "另請參閱 :c:member:`PyTypeObject.tp_hash` 成員。"
27+
msgstr "另請參閱 :c:member:`PyTypeObject.tp_hash` 成員和 :ref:`numeric-hash`。"
2928

3029
#: ../../c-api/hash.rst:10
3130
msgid "Hash value type: signed integer."

c-api/list.po

+23-23
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ msgid ""
3333
"This instance of :c:type:`PyTypeObject` represents the Python list type. "
3434
"This is the same object as :class:`list` in the Python layer."
3535
msgstr ""
36-
"此 :c:type:`PyTypeObject` 實例表示 Python 的 list 型別。這與 Python 層中的 :"
37-
"class:`list` 是同一個物件。"
36+
"此 :c:type:`PyTypeObject` 實例表示 Python 的 list 型別。這與 Python 層中"
37+
"的 :class:`list` 是同一個物件。"
3838

3939
#: ../../c-api/list.rst:24
4040
msgid ""
@@ -57,20 +57,19 @@ msgid "Return a new list of length *len* on success, or ``NULL`` on failure."
5757
msgstr "成功時回傳長度為 *len* 的新串列,失敗時回傳 ``NULL``。"
5858

5959
#: ../../c-api/list.rst:40
60-
#, fuzzy
6160
msgid ""
6261
"If *len* is greater than zero, the returned list object's items are set to "
63-
"``NULL``. Thus you cannot use abstract API functions such as :c:func:"
64-
"`PySequence_SetItem` or expose the object to Python code before setting all "
65-
"items to a real object with :c:func:`PyList_SetItem` or :c:func:"
66-
"`PyList_SET_ITEM()`. The following APIs are safe APIs before the list is "
67-
"fully initialized: :c:func:`PyList_SetItem()` and :c:func:"
68-
"`PyList_SET_ITEM()`."
62+
"``NULL``. Thus you cannot use abstract API functions such "
63+
"as :c:func:`PySequence_SetItem` or expose the object to Python code before "
64+
"setting all items to a real object with :c:func:`PyList_SetItem` "
65+
"or :c:func:`PyList_SET_ITEM()`. The following APIs are safe APIs before the "
66+
"list is fully initialized: :c:func:`PyList_SetItem()` "
67+
"and :c:func:`PyList_SET_ITEM()`."
6968
msgstr ""
70-
"如果 *len* 大於零,則回傳的串列物件之項目將被設定為 ``NULL``。因此,在使用 :"
71-
"c:func:`PyList_SetItem` 來將所有項目設定為一個真實物件前,你無法使用像是 :c:"
72-
"func:`PySequence_SetItem` 的使用抽象 API 函式,也不能將物件暴露 (expose) 給 "
73-
"Python 程式碼。"
69+
"如果 *len* 大於零,則回傳的串列物件之項目將被設定為 ``NULL``。因此,在使"
70+
"用 :c:func:`PyList_SetItem` :c:func:`PyList_SET_ITEM()` 來將所有項目設定為"
71+
"一個真實物件前,你無法使用像是 :c:func:`PySequence_SetItem` 的抽象 API 函式,"
72+
"也不能將物件暴露 (expose) 給 Python 程式碼。"
7473

7574
#: ../../c-api/list.rst:53
7675
msgid ""
@@ -83,16 +82,15 @@ msgid "Similar to :c:func:`PyList_Size`, but without error checking."
8382
msgstr "與 :c:func:`PyList_Size` 類似,但沒有錯誤檢查。"
8483

8584
#: ../../c-api/list.rst:64
86-
#, fuzzy
8785
msgid ""
8886
"Return the object at position *index* in the list pointed to by *list*. The "
8987
"position must be non-negative; indexing from the end of the list is not "
9088
"supported. If *index* is out of bounds (:code:`<0 or >=len(list)`), return "
9189
"``NULL`` and set an :exc:`IndexError` exception."
9290
msgstr ""
9391
"回傳 *list* 指向的串列中位於 *index* 位置的物件。該位置不可為負數;並不支援從"
94-
"串列尾末開始索引。如果 *index* 超出邊界範圍<0 >=len(list))則回傳 "
95-
"``NULL`` 並設定 :exc:`IndexError` 例外。"
92+
"串列尾末開始索引。如果 *index* 超出邊界範圍 (:code:`<0 or >=len(list)`) 則回"
93+
"``NULL`` 並設定 :exc:`IndexError` 例外。"
9694

9795
#: ../../c-api/list.rst:74
9896
msgid ""
@@ -130,15 +128,17 @@ msgstr ""
130128

131129
#: ../../c-api/list.rst:100
132130
msgid ""
133-
"Bounds checking is performed as an assertion if Python is built in :ref:"
134-
"`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`."
131+
"Bounds checking is performed as an assertion if Python is built "
132+
"in :ref:`debug mode <debug-build>` or :option:`with assertions <--with-"
133+
"assertions>`."
135134
msgstr ""
136135

137136
#: ../../c-api/list.rst:106
138137
msgid ""
139-
"This macro \"steals\" a reference to *item*, and, unlike :c:func:"
140-
"`PyList_SetItem`, does *not* discard a reference to any item that is being "
141-
"replaced; any reference in *list* at position *i* will be leaked."
138+
"This macro \"steals\" a reference to *item*, and, "
139+
"unlike :c:func:`PyList_SetItem`, does *not* discard a reference to any item "
140+
"that is being replaced; any reference in *list* at position *i* will be "
141+
"leaked."
142142
msgstr ""
143143
"該巨集「竊取」對 *item* 的參照,並且與 :c:func:`PyList_SetItem` 不同的是,它"
144144
"\\ *不會*\\ 丟棄對任意被替換項目的參照;*list* 中位置 *i* 的任何參照都將被洩"
@@ -226,8 +226,8 @@ msgid ""
226226
"Reverse the items of *list* in place. Return ``0`` on success, ``-1`` on "
227227
"failure. This is the equivalent of ``list.reverse()``."
228228
msgstr ""
229-
"原地反轉 *list* 的項目。成功時回傳 ``0``,失敗時回傳 ``-1``。這相當於 ``list."
230-
"reverse()``。"
229+
"原地反轉 *list* 的項目。成功時回傳 ``0``,失敗時回傳 ``-1``。這相當於 "
230+
"``list.reverse()``。"
231231

232232
#: ../../c-api/list.rst:182
233233
msgid ""

c-api/none.po

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ msgid ""
3838
msgstr ""
3939

4040
#: ../../c-api/none.rst:21
41-
#, fuzzy
4241
msgid ":c:data:`Py_None` is :term:`immortal`."
43-
msgstr ":c:data:`Py_None` 為不滅的 (immortal)。"
42+
msgstr ":c:data:`Py_None` \\ :term:`不滅的 (immortal) <immortal>`。"
4443

4544
#: ../../c-api/none.rst:26
4645
msgid "Return :c:data:`Py_None` from a function."

0 commit comments

Comments
 (0)