Skip to content

Commit 1e081d9

Browse files
committed
fix: resolve fuzzy entries
1 parent 7977a71 commit 1e081d9

File tree

12 files changed

+75
-106
lines changed

12 files changed

+75
-106
lines changed

c-api/file.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ msgstr ""
110110

111111
#: ../../c-api/file.rst:68
112112
msgid "The *handler* is a function of type:"
113-
msgstr ""
113+
msgstr "*handler* 是以下類型的函式:"
114114

115115
#: ../../c-api/file.rst:73
116116
msgid ""
@@ -166,23 +166,27 @@ msgid ""
166166
"object. The behavior of this function may be overridden by :c:func:"
167167
"`PyFile_SetOpenCodeHook` to allow for some preprocessing of the text."
168168
msgstr ""
169+
"以模式 ``'rb'`` 開啟 *path*。*path* 必須是 Python :class:`str` 物件。此函式的"
170+
"行為可能會被 :c:func:`PyFile_SetOpenCodeHook` 覆蓋,以允許對文字進行某些預處理。"
169171

170172
#: ../../c-api/file.rst:103
171173
msgid "This is analogous to :func:`io.open_code` in Python."
172-
msgstr ""
174+
msgstr "這類似於 Python 中的 :func:`io.open_code`。"
173175

174176
#: ../../c-api/file.rst:105
175177
msgid ""
176178
"On success, this function returns a :term:`strong reference` to a Python "
177179
"file object. On failure, this function returns ``NULL`` with an exception "
178180
"set."
179181
msgstr ""
182+
"成功時,此函式回傳對 Python 檔案物件的 :term:`strong reference`。失敗時,回傳 ``NULL`` 並設定例外。"
180183

181184
#: ../../c-api/file.rst:114
182185
msgid ""
183186
"Similar to :c:func:`PyFile_OpenCodeObject`, but *path* is a UTF-8 encoded :c:"
184187
"expr:`const char*`."
185188
msgstr ""
189+
"類似於 :c:func:`PyFile_OpenCodeObject`,但 *path* 是 UTF-8 編碼的 :c:expr:`const char*`。"
186190

187191
#: ../../c-api/file.rst:124
188192
msgid ""

c-api/float.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,32 +117,35 @@ msgid ""
117117
"This macro expands a to constant expression of type :c:expr:`double`, that "
118118
"represents the positive infinity."
119119
msgstr ""
120+
"這個巨集會展開為一型別為 :c:expr:`double` 的常數運算式,表示正無窮大。"
120121

121122
#: ../../c-api/float.rst:86
122123
msgid ""
123124
"On most platforms, this is equivalent to the :c:macro:`!INFINITY` macro from "
124125
"the C11 standard ``<math.h>`` header."
125-
msgstr ""
126+
msgstr "在大多數平台上,這相當於 C11 標準 ``<math.h>`` 標頭檔中的 :c:macro:`!INFINITY` 巨集。"
126127

127128
#: ../../c-api/float.rst:92
128129
msgid ""
129130
"This macro expands a to constant expression of type :c:expr:`double`, that "
130131
"represents a quiet not-a-number (qNaN) value."
131132
msgstr ""
133+
"這個巨集會展開為一型別為 :c:expr:`double` 的常數運算式,表示安靜型 NaN (qNaN) 值。"
132134

133135
#: ../../c-api/float.rst:95
134136
msgid ""
135137
"On most platforms, this is equivalent to the :c:macro:`!NAN` macro from the "
136138
"C11 standard ``<math.h>`` header."
137139
msgstr ""
140+
"在大多數平台上,這相當於 C11 標準 ``<math.h>`` 標頭檔中的 :c:macro:`!NAN` 巨集。"
138141

139142
#: ../../c-api/float.rst:101
140143
msgid "High precision (long double) definition of :data:`~math.e` constant."
141-
msgstr ""
144+
msgstr "高精度(long double)定義的 :data:`~math.e` 常數。"
142145

143146
#: ../../c-api/float.rst:106
144147
msgid "High precision (long double) definition of :data:`~math.pi` constant."
145-
msgstr ""
148+
msgstr "高精度(long double)定義的 :data:`~math.pi` 常數。"
146149

147150
#: ../../c-api/float.rst:111
148151
msgid "Return :data:`math.nan` from a function."

c-api/type.po

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,10 @@ msgid ""
147147
msgstr ""
148148

149149
#: ../../c-api/type.rst:127
150-
#, fuzzy
151150
msgid ""
152151
"On success, this function returns ``0``. On failure, this function returns "
153152
"``-1`` with an exception set."
154-
msgstr ""
155-
"在發生錯誤時,將 *\\*result* 設為 ``NULL`` 並回傳 ``-1``,同時設定例外。"
153+
msgstr "成功時此函式會回傳 ``0``。失敗時此函式回傳 ``-1`` 並設定例外。"
156154

157155
#: ../../c-api/type.rst:135
158156
msgid "Type of a type-watcher callback function."
@@ -470,19 +468,19 @@ msgstr ""
470468
msgid ""
471469
":py:meth:`~object.__new__` is not called on the new class (and it must be "
472470
"set to ``type.__new__``)."
473-
msgstr ""
471+
msgstr ":py:meth:`~object.__new__` 不會在新類別上被呼叫(且它必須被設為 ``type.__new__``)。"
474472

475473
#: ../../c-api/type.rst:387
476474
msgid ":py:meth:`~object.__init__` is not called on the new class."
477-
msgstr ""
475+
msgstr ":py:meth:`~object.__init__` 不會在新類別上被呼叫。"
478476

479477
#: ../../c-api/type.rst:388
480478
msgid ":py:meth:`~object.__init_subclass__` is not called on any bases."
481-
msgstr ""
479+
msgstr ":py:meth:`~object.__init_subclass__` 不會在任何基底上被呼叫。"
482480

483481
#: ../../c-api/type.rst:389
484482
msgid ":py:meth:`~object.__set_name__` is not called on new descriptors."
485-
msgstr ""
483+
msgstr ":py:meth:`~object.__set_name__` 不會在新的描述器上被呼叫。"
486484

487485
#: ../../c-api/type.rst:395
488486
msgid "Equivalent to ``PyType_FromMetaclass(NULL, module, spec, bases)``."
@@ -535,7 +533,7 @@ msgstr ""
535533

536534
#: ../../c-api/type.rst:464
537535
msgid "All base classes of *type* must be immutable."
538-
msgstr ""
536+
msgstr "所有 *type* 的基底類別都必須是不可變的。"
539537

540538
#: ../../c-api/type.rst:466
541539
msgid "On success, return ``0``. On error, set an exception and return ``-1``."
@@ -626,6 +624,8 @@ msgid ""
626624
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
627625
"`PyType_FromSpecWithBases` sets it automatically."
628626
msgstr ""
627+
"如果未設定 ``Py_TPFLAGS_HEAPTYPE`` 旗標,則 :c:func:`"
628+
"`PyType_FromSpecWithBases` 會自動設定它。"
629629

630630
#: ../../c-api/type.rst:542
631631
msgid ""
@@ -657,15 +657,15 @@ msgstr ""
657657

658658
#: ../../c-api/type.rst:568
659659
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
660-
msgstr ""
660+
msgstr "``Py_tp_dealloc`` 以設定 :c:member:`PyTypeObject.tp_dealloc`"
661661

662662
#: ../../c-api/type.rst:569
663663
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
664-
msgstr ""
664+
msgstr "``Py_nb_add`` 以設定 :c:member:`PyNumberMethods.nb_add`"
665665

666666
#: ../../c-api/type.rst:570
667667
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
668-
msgstr ""
668+
msgstr "``Py_sq_length`` 以設定 :c:member:`PySequenceMethods.sq_length`"
669669

670670
#: ../../c-api/type.rst:572
671671
msgid ""
@@ -785,6 +785,8 @@ msgid ""
785785
"static PyType_Slot foo_slots[] = {\n"
786786
" {Py_tp_token, Py_TP_USE_SPEC},"
787787
msgstr ""
788+
"static PyType_Slot foo_slots[] = {\n"
789+
" {Py_tp_token, Py_TP_USE_SPEC},"
788790

789791
#: ../../c-api/type.rst:645
790792
msgid "It can also be set to an arbitrary pointer, but you must ensure that:"

library/csv.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,12 +482,11 @@ msgstr ""
482482
"第二列到第 n 列包含的字串中至少有一個值的長度與該行的假定標題的長度不同。"
483483

484484
#: ../../library/csv.rst:298
485-
#, fuzzy
486485
msgid ""
487486
"Twenty-one rows after the header are sampled; if more than half of the "
488487
"columns + rows meet the criteria, :const:`True` is returned."
489488
msgstr ""
490-
"對第一列之後的二十個列進行取樣;如果超過一半的行及列滿足條件,則返回 :const:"
489+
"對標頭之後的二十一個列進行取樣;如果超過一半的行及列滿足條件,則回傳 :const:"
491490
"`True`。"
492491

493492
#: ../../library/csv.rst:303

library/os.path.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ msgid ""
428428
"windows/dev-drive/>`_ for information on enabling and creating Dev Drives."
429429
msgstr ""
430430
"可能會對無效的路徑引發錯誤,例如,沒有可識別的驅動機的路徑,但在不支援 Dev 磁"
431-
"碟機的平台上返回 ``False``。請參閱 `Windows 文件 <https://"
431+
"碟機的平台上回傳 ``False``。請參閱 `Windows 文件 <https://"
432432
"learn.microsoft.com/windows/dev-drive/>`_\\ 以了解有關啟用和建立 Dev 驅動機的"
433433
"資訊。"
434434

0 commit comments

Comments
 (0)