Skip to content

Commit 403525e

Browse files
committed
fix: resolve fuzzy entries in c-api
1 parent 6444b0c commit 403525e

22 files changed

+123
-352
lines changed

c-api/apiabiversion.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ msgid ""
186186
"the same format as the :c:macro:`PY_VERSION_HEX` macro. This contains the "
187187
"Python version used at run time."
188188
msgstr ""
189-
"編碼為單個常數整數的 Python 執行環境版本號,格式與 :c:macro:`PY_VERSION_HEX` 巨集相同。"
190-
"這包含在執行環境使用的 Python 版本。"
189+
"編碼為單個常數整數的 Python 執行環境版本號,格式與 :c:macro:`PY_VERSION_HEX` "
190+
"巨集相同。這包含在執行環境使用的 Python 版本。"
191191

192192
#: ../../c-api/apiabiversion.rst:73
193193
msgid "All the given macros are defined in :source:`Include/patchlevel.h`."

c-api/arg.po

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,12 +1128,3 @@ msgid ""
11281128
"Identical to :c:func:`Py_BuildValue`, except that it accepts a va_list "
11291129
"rather than a variable number of arguments."
11301130
msgstr ""
1131-
1132-
#~ msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]"
1133-
#~ msgstr "``u`` (:class:`str`) [const Py_UNICODE \\*]"
1134-
1135-
#~ msgid "``u#`` (:class:`str`) [const Py_UNICODE \\*, :c:type:`Py_ssize_t`]"
1136-
#~ msgstr "``u#`` (:class:`str`) [const Py_UNICODE \\*, :c:type:`Py_ssize_t`]"
1137-
1138-
#~ msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]"
1139-
#~ msgstr "``Z`` (:class:`str` 或 ``None``) [const Py_UNICODE \\*]"

c-api/bool.po

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,15 @@ msgid "Boolean Objects"
2727
msgstr "Boolean(布林)物件"
2828

2929
#: ../../c-api/bool.rst:8
30-
#, fuzzy
3130
msgid ""
3231
"Booleans in Python are implemented as a subclass of integers. There are "
3332
"only two booleans, :c:data:`Py_False` and :c:data:`Py_True`. As such, the "
3433
"normal creation and deletion functions don't apply to booleans. The "
3534
"following macros are available, however."
3635
msgstr ""
37-
"Python 中的 boolean 是以整數子類別化來實現的。只有 :const:`Py_False` 和 :"
38-
"const:`Py_True` 兩個 boolean。因此一般的建立和刪除函式並不適用於 boolean。"
39-
"下列巨集 (macro) 是可用的。"
36+
"Python 中的 boolean 是以整數子類別化來實現的。只有 :c:data:`Py_False` 和 :c:"
37+
"data:`Py_True` 兩個 boolean。因此一般的建立和刪除函式並不適用於 boolean。但下"
38+
"列巨集 (macro) 是可用的。"
4039

4140
#: ../../c-api/bool.rst:16
4241
msgid ""
@@ -46,50 +45,39 @@ msgstr ""
4645
"如果 *o* 的型別為 :c:data:`PyBool_Type` 則回傳真值。此函式總是會成功執行。"
4746

4847
#: ../../c-api/bool.rst:22
49-
#, fuzzy
5048
msgid ""
5149
"The Python ``False`` object. This object has no methods and is `immortal "
5250
"<https://peps.python.org/pep-0683/>`_."
5351
msgstr ""
54-
"Python 的 ``False`` 物件。此物件沒有任何方法。在參照 (reference) 計數上必須有"
55-
"著和其他物件一樣的處理方式。"
52+
"Python 的 ``False`` 物件。此物件沒有任何方法且為\\ `不滅的 (immortal) "
53+
"<https://peps.python.org/pep-0683/>`_。"
5654

5755
#: ../../c-api/bool.rst:25
5856
msgid ":c:data:`Py_False` is immortal."
59-
msgstr ""
57+
msgstr ":c:data:`Py_False` 為不滅的。"
6058

6159
#: ../../c-api/bool.rst:31
62-
#, fuzzy
6360
msgid ""
6461
"The Python ``True`` object. This object has no methods and is `immortal "
6562
"<https://peps.python.org/pep-0683/>`_."
6663
msgstr ""
67-
"Python 的 ``True`` 物件。此物件沒有任何方法。在參照計數上必須有著和其他物件一"
68-
"樣的處理方式。"
64+
"Python 的 ``True`` 物件。此物件沒有任何方法且為\\ `不滅的 (immortal) "
65+
"<https://peps.python.org/pep-0683/>`_。"
6966

7067
#: ../../c-api/bool.rst:34
7168
msgid ":c:data:`Py_True` is immortal."
72-
msgstr ""
69+
msgstr ":c:data:`Py_True` 為不滅的。"
7370

7471
#: ../../c-api/bool.rst:40
75-
#, fuzzy
7672
msgid "Return :c:data:`Py_False` from a function."
77-
msgstr "從函式回傳 :const:`Py_False`\\ ,並適當的增加它的參照計數。"
73+
msgstr "從函式回傳 :c:data:`Py_False`。"
7874

7975
#: ../../c-api/bool.rst:45
8076
msgid "Return :c:data:`Py_True` from a function."
81-
msgstr ""
77+
msgstr "從函式回傳 :c:data:`Py_True`。"
8278

8379
#: ../../c-api/bool.rst:50
84-
#, fuzzy
8580
msgid ""
8681
"Return :c:data:`Py_True` or :c:data:`Py_False`, depending on the truth value "
8782
"of *v*."
88-
msgstr ""
89-
"根據 *v* 的實際值來回傳一個 :const:`Py_True` 或者 :const:`Py_False` 的新參"
90-
"照。"
91-
92-
#~ msgid ""
93-
#~ "Return :const:`Py_True` from a function, properly incrementing its "
94-
#~ "reference count."
95-
#~ msgstr "從函式回傳 :const:`Py_True`\\ ,並適當的增加它的參照計數。"
83+
msgstr "根據 *v* 的實際值來回傳 :c:data:`Py_True` 或者 :c:data:`Py_False`。"

c-api/code.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,20 +331,20 @@ msgstr "code object(程式碼物件)"
331331

332332
#: ../../c-api/code.rst:51
333333
msgid "PyCode_New"
334-
msgstr ""
334+
msgstr "PyCode_New"
335335

336336
#: ../../c-api/code.rst:64
337337
msgid "PyCode_NewWithPosOnlyArgs"
338-
msgstr ""
338+
msgstr "PyCode_NewWithPosOnlyArgs"
339339

340340
#: ../../c-api/code.rst:223
341341
msgid "_PyEval_RequestCodeExtraIndex"
342-
msgstr ""
342+
msgstr "_PyEval_RequestCodeExtraIndex"
343343

344344
#: ../../c-api/code.rst:241
345345
msgid "_PyCode_GetExtra"
346-
msgstr ""
346+
msgstr "_PyCode_GetExtra"
347347

348348
#: ../../c-api/code.rst:256
349349
msgid "_PyCode_SetExtra"
350-
msgstr ""
350+
msgstr "_PyCode_SetExtra"

c-api/coro.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ msgid ""
4545
"Return true if *ob*'s type is :c:type:`PyCoro_Type`; *ob* must not be "
4646
"``NULL``. This function always succeeds."
4747
msgstr ""
48-
"如果 *ob* 的型別是 :c:type:`PyCoro_Type` 則回傳真值;*ob* 必須不為 ``NULL``"
49-
"\\ 。此函式總是會執行成功。"
48+
"如果 *ob* 的型別是 :c:type:`PyCoro_Type` 則回傳真值;*ob* 必須不為 "
49+
"``NULL``\\ 。此函式總是會執行成功。"
5050

5151
#: ../../c-api/coro.rst:32
5252
msgid ""

c-api/file.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ msgid ""
124124
"functions may be called from different runtimes, this pointer should not "
125125
"refer directly to Python state."
126126
msgstr ""
127-
"*userData* 指標被傳遞到掛鉤函式 (hook function) 中。由於可能會從不同的執行環境"
128-
" (runtime) 呼叫掛鉤函式,因此該指標不應直接指向 Python 狀態。"
127+
"*userData* 指標被傳遞到掛鉤函式 (hook function) 中。由於可能會從不同的執行環"
128+
" (runtime) 呼叫掛鉤函式,因此該指標不應直接指向 Python 狀態。"
129129

130130
#: ../../c-api/file.rst:75
131131
msgid ""

c-api/function.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,8 @@ msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
126126
msgstr "引發 :exc:`SystemError` 且在失敗時回傳 ``-1``。"
127127

128128
#: ../../c-api/function.rst:88
129-
#, fuzzy
130129
msgid "Set the vectorcall field of a given function object *func*."
131-
msgstr "回傳與程式碼物件相關的函式物件 *op*。"
130+
msgstr "為一個給定的函式物件 *func* 設定 vectorcall 欄位。"
132131

133132
#: ../../c-api/function.rst:90
134133
msgid ""

c-api/import.po

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

221221
#: ../../c-api/import.rst:191
222222
msgid "No longer uses the removed :mod:`!imp` module."
223-
msgstr ""
223+
msgstr "不再使用已被移除的 :mod:`!imp` 模組。"
224224

225225
#: ../../c-api/import.rst:197
226226
msgid ""

c-api/index.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ msgid ""
3333
"`extending-index`, which describes the general principles of extension "
3434
"writing but does not document the API functions in detail."
3535
msgstr ""
36-
"對於想要編寫擴充模組或是嵌入 Python 的 C 和 C++ 程式設計師們,這份手冊記錄"
37-
"了可使用的 API(應用程式介面)。在\\ :ref:`extending-index`\\ 中也有相關的"
38-
"內容,它描述了編寫擴充的一般原則,但並沒有詳細說明 API 函式。"
36+
"對於想要編寫擴充模組或是嵌入 Python 的 C 和 C++ 程式設計師們,這份手冊記錄了"
37+
"可使用的 API(應用程式介面)。在\\ :ref:`extending-index`\\ 中也有相關的內"
38+
",它描述了編寫擴充的一般原則,但並沒有詳細說明 API 函式。"

c-api/init_config.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,11 +1124,12 @@ msgid ""
11241124
msgstr ""
11251125

11261126
#: ../../c-api/init_config.rst:857
1127-
#, fuzzy
11281127
msgid ""
11291128
"Set :c:member:`~PyConfig.use_environment` to ``0``: ignore ``PYTHON`` "
11301129
"environment variables."
1131-
msgstr "將 :c:member:`~PyConfig.use_environment` 設定為 ``0``。"
1130+
msgstr ""
1131+
"將 :c:member:`~PyConfig.use_environment` 設定為 ``0``:忽略 ``PYTHON`` 環境變"
1132+
"數。"
11321133

11331134
#: ../../c-api/init_config.rst:859
11341135
msgid ""
@@ -1554,9 +1555,8 @@ msgid ""
15541555
msgstr ""
15551556

15561557
#: ../../c-api/init_config.rst:1186
1557-
#, fuzzy
15581558
msgid "Default: ``-1``."
1559-
msgstr "預設值:\\ ``1``\\ 。"
1559+
msgstr "預設值:``1``。"
15601560

15611561
#: ../../c-api/init_config.rst:1192
15621562
msgid "Use :ref:`environment variables <using-on-envvars>`?"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy