Skip to content

Commit 1d423f2

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

23 files changed

+126
-214
lines changed

c-api/dict.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,30 +26,30 @@ msgstr "字典物件"
2626
#: ../../c-api/dict.rst:13
2727
msgid ""
2828
"This subtype of :c:type:`PyObject` represents a Python dictionary object."
29-
msgstr ":c:type:`PyObject` 子型態代表一個 Python 字典物件。"
29+
msgstr ":c:type:`PyObject` 子型別代表一個 Python 字典物件。"
3030

3131
#: ../../c-api/dict.rst:18
3232
msgid ""
3333
"This instance of :c:type:`PyTypeObject` represents the Python dictionary "
3434
"type. This is the same object as :class:`dict` in the Python layer."
3535
msgstr ""
36-
":c:type:`PyTypeObject` 實例代表一個 Python 字典型態。此與 Python 層中的 :"
36+
":c:type:`PyTypeObject` 實例代表一個 Python 字典型別。此與 Python 層中的 :"
3737
"class:`dict` 為同一個物件。"
3838

3939
#: ../../c-api/dict.rst:24
4040
msgid ""
4141
"Return true if *p* is a dict object or an instance of a subtype of the dict "
4242
"type. This function always succeeds."
4343
msgstr ""
44-
"若 *p* 是一個字典物件或字典的子型態實例則會回傳 true。此函式每次都會執行成"
44+
"若 *p* 是一個字典物件或字典的子型別實例則會回傳 true。此函式每次都會執行成"
4545
"功。"
4646

4747
#: ../../c-api/dict.rst:30
4848
msgid ""
4949
"Return true if *p* is a dict object, but not an instance of a subtype of the "
5050
"dict type. This function always succeeds."
5151
msgstr ""
52-
"若 *p* 是一個字典物件但並不是一個字典子型態的實例,則回傳 true。此函式每次都"
52+
"若 *p* 是一個字典物件但並不是一個字典子型別的實例,則回傳 true。此函式每次都"
5353
"會執行成功。"
5454

5555
#: ../../c-api/dict.rst:36

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: 12 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,7 @@ 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:`PyType_FromSpecWithBases` 會自動設定它。"
629628

630629
#: ../../c-api/type.rst:542
631630
msgid ""
@@ -657,15 +656,15 @@ msgstr ""
657656

658657
#: ../../c-api/type.rst:568
659658
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
660-
msgstr ""
659+
msgstr "``Py_tp_dealloc`` 以設定 :c:member:`PyTypeObject.tp_dealloc`"
661660

662661
#: ../../c-api/type.rst:569
663662
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
664-
msgstr ""
663+
msgstr "``Py_nb_add`` 以設定 :c:member:`PyNumberMethods.nb_add`"
665664

666665
#: ../../c-api/type.rst:570
667666
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
668-
msgstr ""
667+
msgstr "``Py_sq_length`` 以設定 :c:member:`PySequenceMethods.sq_length`"
669668

670669
#: ../../c-api/type.rst:572
671670
msgid ""
@@ -785,6 +784,8 @@ msgid ""
785784
"static PyType_Slot foo_slots[] = {\n"
786785
" {Py_tp_token, Py_TP_USE_SPEC},"
787786
msgstr ""
787+
"static PyType_Slot foo_slots[] = {\n"
788+
" {Py_tp_token, Py_TP_USE_SPEC},"
788789

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

faq/design.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ msgstr ""
800800

801801
#: ../../faq/design.rst:406
802802
msgid "Why are there separate tuple and list data types?"
803-
msgstr "為何要把元組 (tuple) 和串列 (list) 分成兩個資料型態?"
803+
msgstr "為何要把元組 (tuple) 和串列 (list) 分成兩個資料型別?"
804804

805805
#: ../../faq/design.rst:408
806806
msgid ""

library/collections.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ msgstr ""
2323

2424
#: ../../library/collections.rst:2
2525
msgid ":mod:`!collections` --- Container datatypes"
26-
msgstr ":mod:`!collections` --- 容器資料型態"
26+
msgstr ":mod:`!collections` --- 容器資料型別"
2727

2828
#: ../../library/collections.rst:10
2929
msgid "**Source code:** :source:`Lib/collections/__init__.py`"
@@ -35,7 +35,7 @@ msgid ""
3535
"alternatives to Python's general purpose built-in "
3636
"containers, :class:`dict`, :class:`list`, :class:`set`, and :class:`tuple`."
3737
msgstr ""
38-
"這個模組實作了一些特別的容器資料型態,用來替代 Python 一般內建的容器,例"
38+
"這個模組實作了一些特別的容器資料型別,用來替代 Python 一般內建的容器,例"
3939
"如 :class:`dict`\\ (字典)、:class:`list`\\ (串列)、:class:`set`\\ (集"
4040
"合)和 :class:`tuple`\\ (元組)。"
4141

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/intro.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ msgid ""
3939
"(On the other hand, the language core does define syntactic properties like "
4040
"the spelling and priorities of operators.)"
4141
msgstr ""
42-
"函式庫中包括被視為程式語言「核心」部分的資料型態,像是數字 (number) 或是串列 "
42+
"函式庫中包括被視為程式語言「核心」部分的資料型別,像是數字 (number) 或是串列 "
4343
"(list)。對於這些型別,Python 核心對這些字面值 (literal) 的形式做定義,並對它"
4444
"們的語意制定了一些限制,但在此同時卻不把文字對應的語意完全定義。(另一方面,"
4545
"Python 在語法面上有確實的定義,例如拼字或是運算元次序)"

library/json.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ msgid ""
12361236
"This module does not impose any such limits beyond those of the relevant "
12371237
"Python datatypes themselves or the Python interpreter itself."
12381238
msgstr ""
1239-
"本模組除了 Python 資料型態本身或 Python 直譯器本身的限制以外,不會設定任何此"
1239+
"本模組除了 Python 資料型別本身或 Python 直譯器本身的限制以外,不會設定任何此"
12401240
"類限制。"
12411241

12421242
#: ../../library/json.rst:728

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)