Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8858879

Browse files
committed
fix: resolve fuzzy entries
1 parent62a3034 commit8858879

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+384
-162
lines changed

‎c-api/cell.po‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ msgid "Cell Objects"
2727
msgstr"Cell 物件"
2828

2929
#:../../c-api/cell.rst:8
30-
#,fuzzy
3130
msgid""
3231
"\"Cell\" objects are used to implement variables referenced by multiple "
3332
"scopes. For each such variable, a cell object is created to store the value; "

‎c-api/codec.po‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ msgid "Register a new codec search function."
2727
msgstr"註冊一個新的編解碼器搜尋函式。"
2828

2929
#:../../c-api/codec.rst:10
30-
#,fuzzy
3130
msgid""
3231
"As a side effect, this tries to load the :mod:`!encodings` package, if not "
3332
"yet done, to make sure that it is always first in the list of search "
@@ -73,7 +72,6 @@ msgid "Generic codec based decoding API."
7372
msgstr"基於泛用編解碼器的解碼 API。"
7473

7574
#:../../c-api/codec.rst:39
76-
#,fuzzy
7775
msgid""
7876
"*object* is passed through the decoder function found for the given "
7977
"*encoding* using the error handling method defined by *errors*. *errors* "
@@ -82,7 +80,7 @@ msgid ""
8280
msgstr""
8381
"*object* 被傳遞給以給定 *encoding* 所查找到的解碼器函式,並使用以 *errors* 定"
8482
"義的錯誤處理方法。*errors* 可以設為 ``NULL`` 來使用編解碼器定義的預設方法。如"
85-
"果找不到編碼器,則引發 :exc:`LookupError`。"
83+
"果找不到解碼器,則引發 :exc:`LookupError`。"
8684

8785
#:../../c-api/codec.rst:46
8886
msgid"Codec lookup API"

‎c-api/conversion.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,12 @@ msgstr ""
9696
"才能成功。在這種情況下,``str[size-1]`` 是 ``'\\0'``。"
9797

9898
#:../../c-api/conversion.rst:44
99-
#,fuzzy
10099
msgid""
101100
"When ``rv < 0``, the output conversion failed and ``str[size-1]`` is "
102101
"``'\\0'`` in this case too, but the rest of *str* is undefined. The exact "
103102
"cause of the error depends on the underlying platform."
104103
msgstr""
105-
"當 ``rv < 0`` 時,代表「有不好的事情發生了」。在這種情況下,``str[size-1]`` "
104+
"當 ``rv < 0`` 時,代表輸出的轉換失敗,且在這種情況下``str[size-1]`` "
106105
"也是 ``'\\0'``,但 *str* 的其餘部分未定義。錯誤的確切原因取決於底層平台。"
107106

108107
#:../../c-api/conversion.rst:49

‎c-api/datetime.po‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ msgstr ""
8585
"class:`datetime.datetime.time` 是同一物件"
8686

8787
#:../../c-api/datetime.rst:49
88-
#,fuzzy
8988
msgid""
9089
"This instance of :c:type:`PyTypeObject` represents the Python type for the "
9190
"difference between two datetime values; it is the same object as :class:"

‎c-api/descriptor.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ msgid "The type object for the built-in descriptor types."
3838
msgstr"內建 descriptor 型別的型別物件。"
3939

4040
#:../../c-api/descriptor.rst:35
41-
#,fuzzy
4241
msgid""
4342
"Return non-zero if the descriptor object *descr* describes a data attribute, "
4443
"or ``0`` if it describes a method. *descr* must be a descriptor object; "
4544
"there is no error checking."
4645
msgstr""
4746
"如果 descriptor 物件 *descr* 描述的是一個資料屬性則回傳非零值,或者如果它描述"
48-
"的是一個方法則返回 ``0``。*descr* 必須為一個 descriptor 物件;沒有錯誤檢查。"
47+
"的是一個方法則回傳 ``0``。*descr* 必須為一個 descriptor 物件;沒有錯誤檢查。"

‎c-api/exceptions.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,15 +1084,15 @@ msgstr ""
10841084

10851085
#:../../c-api/exceptions.rst:992
10861086
msgid":py:func:`sys.getrecursionlimit`"
1087-
msgstr""
1087+
msgstr":py:func:`sys.getrecursionlimit`"
10881088

10891089
#:../../c-api/exceptions.rst:996
10901090
msgid"Set the recursion limit for the current interpreter."
10911091
msgstr""
10921092

10931093
#:../../c-api/exceptions.rst:1002
10941094
msgid":py:func:`sys.setrecursionlimit`"
1095-
msgstr""
1095+
msgstr":py:func:`sys.setrecursionlimit`"
10961096

10971097
#:../../c-api/exceptions.rst:1007
10981098
msgid"Exception and warning types"

‎c-api/float.po‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ msgid ""
7373
"meth:`~object.__index__`. This method returns ``-1.0`` upon failure, so one "
7474
"should call :c:func:`PyErr_Occurred` to check for errors."
7575
msgstr""
76+
"回傳 *pyfloat* 內容的 C :c:expr:`double` 表示形式。"
77+
"如果 *pyfloat* 不是 Python 浮點數物件,但具有 :meth:`~object.__float__` 方法,"
78+
"則會先呼叫此方法將 *pyfloat* 轉換為浮點數。"
79+
"如果未定義 :meth:`!__float__`,則會用後備方法 :meth:`~object.__index__`。"
80+
"此方法在失敗時回傳 ``-1.0``,因此應該呼叫 :c:func:`PyErr_Occurred` 來檢查錯誤。"
7681

7782
#:../../c-api/float.rst:54
7883
msgid"Use :meth:`~object.__index__` if available."
@@ -148,18 +153,19 @@ msgid ""
148153
"Return :data:`math.inf` or :data:`-math.inf <math.inf>` from a function, "
149154
"depending on the sign of *sign*."
150155
msgstr""
156+
"根據 *sign* 的正負號,從函式回傳 :data:`math.inf` 或 :data:`-math.inf <math.inf>`。"
151157

152158
#:../../c-api/float.rst:93
153159
msgid"On most platforms, this is equivalent to the following::"
154-
msgstr""
160+
msgstr"在大多數平台上,這相當於以下內容: ::"
155161

156162
#:../../c-api/float.rst:95
157163
msgid"return PyFloat_FromDouble(copysign(INFINITY, sign));"
158-
msgstr""
164+
msgstr"return PyFloat_FromDouble(copysign(INFINITY, sign));"
159165

160166
#:../../c-api/float.rst:99
161167
msgid"Pack and Unpack functions"
162-
msgstr""
168+
msgstr"打包和解包函式"
163169

164170
#:../../c-api/float.rst:101
165171
msgid""
@@ -169,6 +175,9 @@ msgid ""
169175
"c:expr:`double` from such a bytes string. The suffix (2, 4 or 8) specifies "
170176
"the number of bytes in the bytes string."
171177
msgstr""
178+
"打包和解包函式提供了一種有效的跨平台方式,來將浮點數值儲存為位元組字串。"
179+
"打包例程從 C :c:expr:`double` 產生位元組字串,而解包例程則從這樣的位元組字串產生 "
180+
"C :c:expr:`double`。後綴(2、4 或 8)標示了位元組字串中的位元組數。"
172181

173182
#:../../c-api/float.rst:107
174183
msgid""

‎c-api/init_config.po‎

Lines changed: 32 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -107,19 +107,19 @@ msgstr ""
107107

108108
#:../../c-api/init_config.rst:83
109109
msgid"It must be freed by :c:func:`PyInitConfig_Free`."
110-
msgstr""
110+
msgstr"必須由 :c:func:`PyInitConfig_Free` 來釋放。"
111111

112112
#:../../c-api/init_config.rst:85
113113
msgid"Return ``NULL`` on memory allocation failure."
114-
msgstr""
114+
msgstr"在記憶體配置失敗時回傳 ``NULL``。"
115115

116116
#:../../c-api/init_config.rst:90
117117
msgid"Free memory of the initialization configuration *config*."
118-
msgstr""
118+
msgstr"釋放初始化配置 *config* 的記憶體。"
119119

120120
#:../../c-api/init_config.rst:92
121121
msgid"If *config* is ``NULL``, no operation is performed."
122-
msgstr""
122+
msgstr"如果 *config* 是 ``NULL``,則不執行任何操作。"
123123

124124
#:../../c-api/init_config.rst:96
125125
msgid"Error Handling"
@@ -138,7 +138,6 @@ msgid "Set *\\*err_msg* to ``NULL`` and return ``0`` otherwise."
138138
msgstr"如果沒有設定錯誤,則設定 *\\*err_msg* 為 ``NULL`` 並回傳 ``0``。"
139139

140140
#:../../c-api/init_config.rst:105
141-
#,fuzzy
142141
msgid"An error message is a UTF-8 encoded string."
143142
msgstr"錯誤訊息是 UTF-8 編碼的字串。"
144143

@@ -190,11 +189,11 @@ msgstr ""
190189

191190
#:../../c-api/init_config.rst:138
192191
msgid"Test if the configuration has an option called *name*."
193-
msgstr""
192+
msgstr"測試配置是否有名為 *name* 的選項。"
194193

195194
#:../../c-api/init_config.rst:140
196195
msgid"Return ``1`` if the option exists, or return ``0`` otherwise."
197-
msgstr""
196+
msgstr"如果選項存在則回傳 ``1``,否則回傳 ``0``。"
198197

199198
#:../../c-api/init_config.rst:145
200199
msgid"Get an integer configuration option."
@@ -1242,7 +1241,7 @@ msgstr ""
12421241

12431242
#:../../c-api/init_config.rst:767
12441243
msgid"Functions to create a status:"
1245-
msgstr""
1244+
msgstr"建立狀態的函式:"
12461245

12471246
#:../../c-api/init_config.rst:771
12481247
msgid"Success."
@@ -1262,11 +1261,11 @@ msgstr ""
12621261

12631262
#:../../c-api/init_config.rst:785
12641263
msgid"Exit Python with the specified exit code."
1265-
msgstr""
1264+
msgstr"以指定的退出代號退出 Python。"
12661265

12671266
#:../../c-api/init_config.rst:787
12681267
msgid"Functions to handle a status:"
1269-
msgstr""
1268+
msgstr"處理狀態的函式:"
12701269

12711270
#:../../c-api/init_config.rst:791
12721271
msgid""
@@ -1750,11 +1749,11 @@ msgstr ""
17501749

17511750
#:../../c-api/init_config.rst:1125
17521751
msgid"Read all Python configuration."
1753-
msgstr""
1752+
msgstr"讀取所有 Python 配置。"
17541753

17551754
#:../../c-api/init_config.rst:1127
17561755
msgid"Fields which are already initialized are left unchanged."
1757-
msgstr""
1756+
msgstr"已經初始化的欄位將保持不變。"
17581757

17591758
#:../../c-api/init_config.rst:1129
17601759
msgid""
@@ -1922,11 +1921,11 @@ msgstr ""
19221921

19231922
#:../../c-api/init_config.rst:1238
19241923
msgid"Set by the :envvar:`__PYVENV_LAUNCHER__` environment variable."
1925-
msgstr""
1924+
msgstr"由 :envvar:`__PYVENV_LAUNCHER__` 環境變數設定。"
19261925

19271926
#:../../c-api/init_config.rst:1240
19281927
msgid"Set from :c:member:`PyConfig.executable` if ``NULL``."
1929-
msgstr""
1928+
msgstr"如果為 ``NULL``,則從 :c:member:`PyConfig.executable` 設定。"
19301929

19311930
#:../../c-api/init_config.rst:1246
19321931
msgid"See also :c:member:`PyConfig.executable`."
@@ -2005,7 +2004,7 @@ msgstr ""
20052004

20062005
#:../../c-api/init_config.rst:1310
20072006
msgid"Valid values:"
2008-
msgstr""
2007+
msgstr"有效值:"
20092008

20102009
#:../../c-api/init_config.rst:1312
20112010
msgid""
@@ -2110,11 +2109,11 @@ msgstr "也請見 :c:member:`PyConfig.base_executable`"
21102109

21112110
#:../../c-api/init_config.rst:1391
21122111
msgid"Enable faulthandler?"
2113-
msgstr""
2112+
msgstr"啟用 faulthandler?"
21142113

21152114
#:../../c-api/init_config.rst:1393
21162115
msgid"If non-zero, call :func:`faulthandler.enable` at startup."
2117-
msgstr""
2116+
msgstr"如果非零,則在啟動時呼叫 :func:`faulthandler.enable`。"
21182117

21192118
#:../../c-api/init_config.rst:1395
21202119
msgid""
@@ -2141,11 +2140,11 @@ msgstr ""
21412140

21422141
#:../../c-api/init_config.rst:1411
21432142
msgid"Default encoding on other platforms:"
2144-
msgstr""
2143+
msgstr"其他平台的預設編碼:"
21452144

21462145
#:../../c-api/init_config.rst:1413
21472146
msgid"``\"utf-8\"`` if :c:member:`PyPreConfig.utf8_mode` is non-zero."
2148-
msgstr""
2147+
msgstr"如果 :c:member:`PyPreConfig.utf8_mode` 非零,則為 ``\"utf-8\"``。"
21492148

21502149
#:../../c-api/init_config.rst:1414
21512150
msgid""
@@ -2188,11 +2187,11 @@ msgstr ""
21882187

21892188
#:../../c-api/init_config.rst:1435
21902189
msgid"On other platforms: use ``\"surrogateescape\"`` by default."
2191-
msgstr""
2190+
msgstr"其他平台:預設使用 ``\"surrogateescape\"``。"
21922191

21932192
#:../../c-api/init_config.rst:1437
21942193
msgid"Supported error handlers:"
2195-
msgstr""
2194+
msgstr"支援的錯誤處理器:"
21962195

21972196
#:../../c-api/init_config.rst:1439
21982197
msgid"``\"strict\"``"
@@ -2212,7 +2211,7 @@ msgstr "另請參閱 :c:member:`~PyConfig.filesystem_encoding` 成員。"
22122211

22132212
#:../../c-api/init_config.rst:1447
22142213
msgid"If non-zero, use frozen modules."
2215-
msgstr""
2214+
msgstr"如果非零,則使用凍結模組。"
22162215

22172216
#:../../c-api/init_config.rst:1449
22182217
msgid"Set by the :envvar:`PYTHON_FROZEN_MODULES` environment variable."
@@ -2275,11 +2274,11 @@ msgstr ""
22752274

22762275
#:../../c-api/init_config.rst:1491
22772276
msgid"Added support for ``import_time = 2``"
2278-
msgstr""
2277+
msgstr"新增對 ``import_time = 2`` 的支援"
22792278

22802279
#:../../c-api/init_config.rst:1495
22812280
msgid"Enter interactive mode after executing a script or a command."
2282-
msgstr""
2281+
msgstr"在執行腳本或命令後進入互動模式。"
22832282

22842283
#:../../c-api/init_config.rst:1497
22852284
msgid""
@@ -2567,7 +2566,7 @@ msgstr ""
25672566

25682567
#:../../c-api/init_config.rst:1723
25692568
msgid"Now also applies on Windows."
2570-
msgstr""
2569+
msgstr"現在也適用於 Windows。"
25712570

25722571
#:../../c-api/init_config.rst:1728
25732572
msgid""
@@ -2639,7 +2638,7 @@ msgstr ""
26392638

26402639
#:../../c-api/init_config.rst:1780../../c-api/init_config.rst:1801
26412640
msgid"Used by :c:func:`Py_RunMain`."
2642-
msgstr""
2641+
msgstr"被 :c:func:`Py_RunMain` 使用。"
26432642

26442643
#:../../c-api/init_config.rst:1786
26452644
msgid""
@@ -2745,23 +2744,23 @@ msgstr ""
27452744

27462745
#:../../c-api/init_config.rst:1869
27472746
msgid"Default encoding:"
2748-
msgstr""
2747+
msgstr"預設編碼:"
27492748

27502749
#:../../c-api/init_config.rst:1871
27512750
msgid"``\"UTF-8\"`` if :c:member:`PyPreConfig.utf8_mode` is non-zero."
2752-
msgstr""
2751+
msgstr"如果 :c:member:`PyPreConfig.utf8_mode` 非零,則為 ``\"UTF-8\"``。"
27532752

27542753
#:../../c-api/init_config.rst:1872
27552754
msgid"Otherwise, use the :term:`locale encoding`."
2756-
msgstr""
2755+
msgstr"否則使用 :term:`locale encoding`。"
27572756

27582757
#:../../c-api/init_config.rst:1874
27592758
msgid"Default error handler:"
27602759
msgstr""
27612760

27622761
#:../../c-api/init_config.rst:1876
27632762
msgid"On Windows: use ``\"surrogateescape\"``."
2764-
msgstr""
2763+
msgstr"在 Windows 上:使用 ``\"surrogateescape\"``。"
27652764

27662765
#:../../c-api/init_config.rst:1877
27672766
msgid""
@@ -2793,17 +2792,18 @@ msgstr ""
27932792

27942793
#:../../c-api/init_config.rst:1896
27952794
msgid"Enable the Linux ``perf`` profiler support?"
2796-
msgstr""
2795+
msgstr"要啟用 Linux ``perf`` 分析器支援嗎?"
27972796

27982797
#:../../c-api/init_config.rst:1898
27992798
msgid"If equals to ``1``, enable support for the Linux ``perf`` profiler."
2800-
msgstr""
2799+
msgstr"如果等於 ``1``,則啟用對 Linux ``perf`` 分析器的支援。"
28012800

28022801
#:../../c-api/init_config.rst:1900
28032802
msgid""
28042803
"If equals to ``2``, enable support for the Linux ``perf`` profiler with "
28052804
"DWARF JIT support."
28062805
msgstr""
2806+
"如果等於 ``2``,則啟用有 DWARF JIT 支援的 Linux ``perf`` 分析器的支援。"
28072807

28082808
#:../../c-api/init_config.rst:1903
28092809
msgid""
@@ -3420,12 +3420,3 @@ msgstr "main()"
34203420
#:../../c-api/init_config.rst:1181
34213421
msgid"argv (in module sys)"
34223422
msgstr""
3423-
3424-
#~ msgid "Builtin types;"
3425-
#~ msgstr "內建型別;"
3426-
3427-
#~ msgid "Builtin exceptions;"
3428-
#~ msgstr "內建例外;"
3429-
3430-
#~ msgid "Import the :mod:`site` module;"
3431-
#~ msgstr "引入 :mod:`site` 模組;"

‎c-api/intro.po‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,12 @@ msgid ""
10461046
" item = 0\n"
10471047
" dict[key] = item + 1"
10481048
msgstr""
1049+
"def incr_item(dict, key):\n"
1050+
" try:\n"
1051+
" item = dict[key]\n"
1052+
" except KeyError:\n"
1053+
" item = 0\n"
1054+
" dict[key] = item + 1"
10491055

10501056
#:../../c-api/intro.rst:652
10511057
msgid"Here is the corresponding C code, in all its glory::"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp