Skip to content

Commit a18089d

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

35 files changed

+154
-266
lines changed

c-api/conversion.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ msgid ""
154154
"inclusive, or be the special value ``0``."
155155
msgstr ""
156156
"將字串 ``str`` 的初始部分根據給定的 ``base`` 轉換為 :c:expr:`long` 值,底 必"
157-
"須介於 ``2`` 到 ``36``(包含)之間,或為特殊值 ``0``。"
157+
"須介於 ``2`` 到 ``36`` \\ (包含)之間,或為特殊值 ``0``。"
158158

159159
#: ../../c-api/conversion.rst:79
160160
msgid ""

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ msgid ""
868868
"the same arguments), you do own a reference to the returned object."
869869
msgstr ""
870870
"重要的是要意識到你是否擁有一個函式回傳的參照只取決於你呼叫哪個函式 --- *羽毛 "
871-
"(plumage)*(作為引數傳遞給函式的物件之型別)\\ *不會進入它!*\\ 因此,如果你"
871+
"(plumage)*\\ (作為引數傳遞給函式的物件之型別)\\ *不會進入它!*\\ 因此,如果你"
872872
"使用 :c:func:`PyList_GetItem` 從 list 中提取一個項目,你不會擁有其參照 --- 但"
873873
"如果你使用 :c:func:`PySequence_GetItem` 從同一 list 中取得相同的項目(且恰好"
874874
"使用完全相同的引數),你確實會擁有對回傳物件的參照。"

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 ""

faq/library.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ msgid ""
965965
"will return :class:`str` objects rather than :class:`bytes` objects."
966966
msgstr ""
967967
"要讀取和寫入二進位資料,必須以二進位模式打開檔案(這裡,將 ``\"rb\"`` 傳遞"
968-
"給 :func:`open`)。如果你改用 ``\"r\"``(預設設定),檔案將以文本模式打開,並"
968+
"給 :func:`open`)。如果你改用 ``\"r\"``\\ (預設設定),檔案將以文本模式打開,並"
969969
"且 ``f.read()`` 將回傳 :class:`str` 物件而不是 :class:`bytes` 物件。"
970970

971971
#: ../../faq/library.rst:535

faq/programming.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ msgid ""
939939
msgstr ""
940940
"我們可以看到,在這種情況下,``x`` 和 ``y`` 不再相等。這是因為整數是不可變的,"
941941
"當我們做 x = x + 1 時,我們並沒有透過增加它的值來改變 int 5 ;相反,我們正在"
942-
"建立一個新物件(int ``6``)並將其分配給``x``(也就是說,更改``x``指向的物"
942+
"建立一個新物件(int ``6``)並將其分配給``x``\\ (也就是說,更改``x``指向的物"
943943
"件)。在這個賦值之後,我們有兩個物件(整數 ``6`` 和 ``5``)和兩個參照它們的變"
944944
"數(``x`` 現在指的是 ``6`` 但 ``y`` 仍然指的是``5``)。"
945945

library/_thread.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ msgid ""
6363
"The optional *kwargs* argument specifies a dictionary of keyword arguments."
6464
msgstr ""
6565
"開始一個新的執行緒並回傳其識別字 (identifier) 。該執行緒執行帶有引數列表 "
66-
"*args*(必須是一個 tuple(元組))的函式 *function*。可選的 *kwargs* 引數指定"
66+
"*args*\\ (必須是一個 tuple(元組))的函式 *function*。可選的 *kwargs* 引數指定"
6767
"一個關鍵字引數的字典。"
6868

6969
#: ../../library/_thread.rst:50

0 commit comments

Comments
 (0)