Skip to content

Commit 216df63

Browse files
committed
fix: resolve fuzzy entries
1 parent 83cbec1 commit 216df63

38 files changed

+228
-539
lines changed

c-api/exceptions.po

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,14 +1339,12 @@ msgid ":exc:`ProcessLookupError`"
13391339
msgstr ":exc:`ProcessLookupError`"
13401340

13411341
#: ../../c-api/exceptions.rst:1100
1342-
#, fuzzy
13431342
msgid ":c:data:`PyExc_PythonFinalizationError`"
1344-
msgstr ":c:data:`PyExc_ConnectionError`"
1343+
msgstr ":c:data:`PyExc_PythonFinalizationError`"
13451344

13461345
#: ../../c-api/exceptions.rst:1100
1347-
#, fuzzy
13481346
msgid ":exc:`PythonFinalizationError`"
1349-
msgstr ":exc:`ConnectionError`"
1347+
msgstr ":exc:`PythonFinalizationError`"
13501348

13511349
#: ../../c-api/exceptions.rst:1102
13521350
msgid ":c:data:`PyExc_RecursionError`"

c-api/object.po

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,75 +48,75 @@ msgstr ""
4848

4949
#: ../../c-api/object.rst:22 ../../c-api/object.rst:27
5050
msgid "``0``"
51-
msgstr ""
51+
msgstr "``0``"
5252

5353
#: ../../c-api/object.rst:22
5454
msgid ":py:data:`None`"
55-
msgstr ""
55+
msgstr ":py:data:`None`"
5656

5757
#: ../../c-api/object.rst:23 ../../c-api/object.rst:28
5858
msgid "``1``"
59-
msgstr ""
59+
msgstr "``1``"
6060

6161
#: ../../c-api/object.rst:23
6262
msgid ":py:data:`False`"
63-
msgstr ""
63+
msgstr ":py:data:`False`"
6464

6565
#: ../../c-api/object.rst:24
6666
msgid "``2``"
67-
msgstr ""
67+
msgstr "``2``"
6868

6969
#: ../../c-api/object.rst:24
7070
msgid ":py:data:`True`"
71-
msgstr ""
71+
msgstr ":py:data:`True`"
7272

7373
#: ../../c-api/object.rst:25
7474
msgid "``3``"
75-
msgstr ""
75+
msgstr "``3``"
7676

7777
#: ../../c-api/object.rst:25
7878
msgid ":py:data:`Ellipsis`"
79-
msgstr ""
79+
msgstr ":py:data:`Ellipsis`"
8080

8181
#: ../../c-api/object.rst:26
8282
msgid "``4``"
83-
msgstr ""
83+
msgstr "``4``"
8484

8585
#: ../../c-api/object.rst:26
8686
msgid ":py:data:`NotImplemented`"
87-
msgstr ""
87+
msgstr ":py:data:`NotImplemented`"
8888

8989
#: ../../c-api/object.rst:27
9090
msgid "``5``"
91-
msgstr ""
91+
msgstr "``5``"
9292

9393
#: ../../c-api/object.rst:28
9494
msgid "``6``"
95-
msgstr ""
95+
msgstr "``6``"
9696

9797
#: ../../c-api/object.rst:29
9898
msgid "``7``"
99-
msgstr ""
99+
msgstr "``7``"
100100

101101
#: ../../c-api/object.rst:29
102102
msgid "``''``"
103-
msgstr ""
103+
msgstr "``''``"
104104

105105
#: ../../c-api/object.rst:30
106106
msgid "``8``"
107-
msgstr ""
107+
msgstr "``8``"
108108

109109
#: ../../c-api/object.rst:30
110110
msgid "``b''``"
111-
msgstr ""
111+
msgstr "``b''``"
112112

113113
#: ../../c-api/object.rst:31
114114
msgid "``9``"
115-
msgstr ""
115+
msgstr "``9``"
116116

117117
#: ../../c-api/object.rst:31
118118
msgid "``()``"
119-
msgstr ""
119+
msgstr "``()``"
120120

121121
#: ../../c-api/object.rst:34
122122
msgid ""

c-api/unicode.po

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ msgstr ""
700700

701701
#: ../../c-api/unicode.rst:521
702702
msgid "``T``"
703-
msgstr ""
703+
msgstr "``T``"
704704

705705
#: ../../c-api/unicode.rst:523
706706
msgid ""
@@ -710,7 +710,7 @@ msgstr ""
710710

711711
#: ../../c-api/unicode.rst:526
712712
msgid "``#T``"
713-
msgstr ""
713+
msgstr "``#T``"
714714

715715
#: ../../c-api/unicode.rst:528
716716
msgid ""
@@ -720,12 +720,11 @@ msgstr ""
720720

721721
#: ../../c-api/unicode.rst:531
722722
msgid "``N``"
723-
msgstr ""
723+
msgstr "``N``"
724724

725725
#: ../../c-api/unicode.rst:532 ../../c-api/unicode.rst:537
726-
#, fuzzy
727726
msgid ":c:expr:`PyTypeObject*`"
728-
msgstr ":c:expr:`PyObject*`"
727+
msgstr ":c:expr:`PyTypeObject*`"
729728

730729
#: ../../c-api/unicode.rst:533
731730
msgid ""
@@ -735,7 +734,7 @@ msgstr ""
735734

736735
#: ../../c-api/unicode.rst:536
737736
msgid "``#N``"
738-
msgstr ""
737+
msgstr "``#N``"
739738

740739
#: ../../c-api/unicode.rst:538
741740
msgid ""

faq/extending.po

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ msgstr "我可以在 C++ 中建立自己的函式嗎?"
5151
#: ../../faq/extending.rst:28
5252
#, fuzzy
5353
msgid ""
54-
"Yes, using the C compatibility features found in C++. Place ``extern "
55-
"\"C\" { ... }`` around the Python include files and put ``extern \"C\"`` "
56-
"before each function that is going to be called by the Python interpreter. "
57-
"Global or static C++ objects with constructors are probably not a good idea."
54+
"Yes, using the C compatibility features found in C++. Place ``extern \"C\" "
55+
"{ ... }`` around the Python include files and put ``extern \"C\"`` before "
56+
"each function that is going to be called by the Python interpreter. Global "
57+
"or static C++ objects with constructors are probably not a good idea."
5858
msgstr ""
5959
"是的,使用 C++ 中的 C 相容性功能。將 ``extern \"C\" { ... }`` 放在 Python 包"
6060
"含檔案周圍,並將 ``extern \"C\"`` 放在每個將由 Python 直譯器呼叫的函式之前。"
@@ -474,14 +474,12 @@ msgstr ""
474474
"目錄包含編譯 Python 擴充所需的各種檔案。"
475475

476476
#: ../../faq/extending.rst:252
477-
#, fuzzy
478477
msgid "For Red Hat, install the python3-devel RPM to get the necessary files."
479-
msgstr "在 Red Hat 上,請安裝 python-devel RPM 來取得必要的檔案。"
478+
msgstr "在 Red Hat 上,請安裝 python3-devel RPM 來取得必要的檔案。"
480479

481480
#: ../../faq/extending.rst:254
482-
#, fuzzy
483481
msgid "For Debian, run ``apt-get install python3-dev``."
484-
msgstr "對於 Debian,運行 ``apt-get install python-dev``。"
482+
msgstr "對於 Debian,運行 ``apt-get install python3-dev``。"
485483

486484
#: ../../faq/extending.rst:257
487485
msgid "How do I tell \"incomplete input\" from \"invalid input\"?"

faq/gui.po

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# SOME DESCRIPTIVE TITLE.
21
# Copyright (C) 2001-2022, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
@@ -139,22 +138,3 @@ msgstr ""
139138
"最常見的原因是,繫結到的小工具並沒有「鍵盤焦點 (keyboard focus)」。請查看 Tk "
140139
"說明文件中關於焦點命令的敘述。通常,點擊一個小工具,會讓它得到鍵盤焦點(但不"
141140
"適用於標籤;請參閱 takefocus 選項)。"
142-
143-
#~ msgid ""
144-
#~ "To get truly stand-alone applications, the Tcl scripts that form the "
145-
#~ "library have to be integrated into the application as well. One tool "
146-
#~ "supporting that is SAM (stand-alone modules), which is part of the Tix "
147-
#~ "distribution (https://tix.sourceforge.net/)."
148-
#~ msgstr ""
149-
#~ "要得到真正獨立的應用程式,必須將構成函式庫的 Tcl 腳本也整合到應用程式中。"
150-
#~ "一個可支援該方法的工具是 SAM(stand-alone modules,獨立模組),它是 Tix 發"
151-
#~ "行版的一部分 (https://tix.sourceforge.net/)。"
152-
153-
#~ msgid ""
154-
#~ "Build Tix with SAM enabled, perform the appropriate call to :c:func:`!"
155-
#~ "Tclsam_init`, etc. inside Python's :file:`Modules/tkappinit.c`, and link "
156-
#~ "with libtclsam and libtksam (you might include the Tix libraries as well)."
157-
#~ msgstr ""
158-
#~ "請在 SAM 被啟用的情況下建置 Tix,對 Python 的 :file:`Modules/tkappinit.c` "
159-
#~ "中的 :c:func:`!Tclsam_init` 等函式執行適當的呼叫,並與 libtclsam 和 "
160-
#~ "libtksam 連結(你可能也會 include Tix 函式庫)。"

glossary.po

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,6 @@ msgid "sequence"
25332533
msgstr "sequence(序列)"
25342534

25352535
#: ../../glossary.rst:1117
2536-
#, fuzzy
25372536
msgid ""
25382537
"An :term:`iterable` which supports efficient element access using integer "
25392538
"indices via the :meth:`~object.__getitem__` special method and defines a :"
@@ -2549,8 +2548,8 @@ msgstr ""
25492548
"個 :meth:`~object.__len__` method 來回傳該序列的長度。一些內建序列型別包括 :"
25502549
"class:`list`、:class:`str`、:class:`tuple` 和 :class:`bytes`。請注意,雖然 :"
25512550
"class:`dict` 也支援 :meth:`~object.__getitem__` 和 :meth:`!__len__`,但它被視"
2552-
"為對映 (mapping) 而不是序列,因為其查找方式是使用任意的 :term:`immutable` "
2553-
"鍵,而不是整數。"
2551+
"為對映 (mapping) 而不是序列,因為其查找方式是使用任意的 :term:`hashable` 鍵,"
2552+
"而不是整數。"
25542553

25552554
#: ../../glossary.rst:1126
25562555
msgid ""

howto/argparse.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,6 @@ msgstr ""
858858
" print(answer)"
859859

860860
#: ../../howto/argparse.rst:434
861-
#, fuzzy
862861
msgid ""
863862
"$ python prog.py 4 -v 3\n"
864863
"usage: prog.py [-h] [-v {0,1,2}] square\n"
@@ -887,7 +886,7 @@ msgstr ""
887886
"\n"
888887
"options:\n"
889888
" -h, --help show this help message and exit\n"
890-
" -v {0,1,2}, --verbosity {0,1,2}\n"
889+
" -v, --verbosity {0,1,2}\n"
891890
" increase output verbosity"
892891

893892
#: ../../howto/argparse.rst:450

howto/free-threading-extensions.po

Lines changed: 37 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,23 @@ msgid ""
128128
" return m;\n"
129129
"}"
130130
msgstr ""
131+
"static struct PyModuleDef moduledef = {\n"
132+
" PyModuleDef_HEAD_INIT,\n"
133+
" ...\n"
134+
"};\n"
135+
"\n"
136+
"PyMODINIT_FUNC\n"
137+
"PyInit_mymodule(void)\n"
138+
"{\n"
139+
" PyObject *m = PyModule_Create(&moduledef);\n"
140+
" if (m == NULL) {\n"
141+
" return NULL;\n"
142+
" }\n"
143+
"#ifdef Py_GIL_DISABLED\n"
144+
" PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);\n"
145+
"#endif\n"
146+
" return m;\n"
147+
"}"
131148

132149
#: ../../howto/free-threading-extensions.rst:93
133150
msgid "General API Guidelines"
@@ -172,7 +189,7 @@ msgstr ""
172189

173190
#: ../../howto/free-threading-extensions.rst:120
174191
msgid "``PyDict_Next``"
175-
msgstr ""
192+
msgstr "``PyDict_Next``"
176193

177194
#: ../../howto/free-threading-extensions.rst:122
178195
msgid ""
@@ -221,69 +238,69 @@ msgstr ""
221238

222239
#: ../../howto/free-threading-extensions.rst:152
223240
msgid ":c:func:`PyList_GetItem`"
224-
msgstr ""
241+
msgstr ":c:func:`PyList_GetItem`"
225242

226243
#: ../../howto/free-threading-extensions.rst:152
227244
msgid ":c:func:`PyList_GetItemRef`"
228-
msgstr ""
245+
msgstr ":c:func:`PyList_GetItemRef`"
229246

230247
#: ../../howto/free-threading-extensions.rst:154
231248
msgid ":c:func:`PyDict_GetItem`"
232-
msgstr ""
249+
msgstr ":c:func:`PyDict_GetItem`"
233250

234251
#: ../../howto/free-threading-extensions.rst:154
235252
#: ../../howto/free-threading-extensions.rst:156
236253
msgid ":c:func:`PyDict_GetItemRef`"
237-
msgstr ""
254+
msgstr ":c:func:`PyDict_GetItemRef`"
238255

239256
#: ../../howto/free-threading-extensions.rst:156
240257
msgid ":c:func:`PyDict_GetItemWithError`"
241-
msgstr ""
258+
msgstr ":c:func:`PyDict_GetItemWithError`"
242259

243260
#: ../../howto/free-threading-extensions.rst:158
244261
msgid ":c:func:`PyDict_GetItemString`"
245-
msgstr ""
262+
msgstr ":c:func:`PyDict_GetItemString`"
246263

247264
#: ../../howto/free-threading-extensions.rst:158
248265
msgid ":c:func:`PyDict_GetItemStringRef`"
249-
msgstr ""
266+
msgstr ":c:func:`PyDict_GetItemStringRef`"
250267

251268
#: ../../howto/free-threading-extensions.rst:160
252269
msgid ":c:func:`PyDict_SetDefault`"
253-
msgstr ""
270+
msgstr ":c:func:`PyDict_SetDefault`"
254271

255272
#: ../../howto/free-threading-extensions.rst:160
256273
msgid ":c:func:`PyDict_SetDefaultRef`"
257-
msgstr ""
274+
msgstr ":c:func:`PyDict_SetDefaultRef`"
258275

259276
#: ../../howto/free-threading-extensions.rst:162
260277
msgid ":c:func:`PyDict_Next`"
261-
msgstr ""
278+
msgstr ":c:func:`PyDict_Next`"
262279

263280
#: ../../howto/free-threading-extensions.rst:162
264281
msgid "none (see :ref:`PyDict_Next`)"
265282
msgstr ""
266283

267284
#: ../../howto/free-threading-extensions.rst:164
268285
msgid ":c:func:`PyWeakref_GetObject`"
269-
msgstr ""
286+
msgstr ":c:func:`PyWeakref_GetObject`"
270287

271288
#: ../../howto/free-threading-extensions.rst:164
272289
#: ../../howto/free-threading-extensions.rst:166
273290
msgid ":c:func:`PyWeakref_GetRef`"
274-
msgstr ""
291+
msgstr ":c:func:`PyWeakref_GetRef`"
275292

276293
#: ../../howto/free-threading-extensions.rst:166
277294
msgid ":c:func:`PyWeakref_GET_OBJECT`"
278-
msgstr ""
295+
msgstr ":c:func:`PyWeakref_GET_OBJECT`"
279296

280297
#: ../../howto/free-threading-extensions.rst:168
281298
msgid ":c:func:`PyImport_AddModule`"
282-
msgstr ""
299+
msgstr ":c:func:`PyImport_AddModule`"
283300

284301
#: ../../howto/free-threading-extensions.rst:168
285302
msgid ":c:func:`PyImport_AddModuleRef`"
286-
msgstr ""
303+
msgstr ":c:func:`PyImport_AddModuleRef`"
287304

288305
#: ../../howto/free-threading-extensions.rst:171
289306
msgid ""
@@ -336,15 +353,15 @@ msgstr ""
336353

337354
#: ../../howto/free-threading-extensions.rst:210
338355
msgid ":c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release`"
339-
msgstr ""
356+
msgstr ":c:func:`PyGILState_Ensure` 和 :c:func:`PyGILState_Release`"
340357

341358
#: ../../howto/free-threading-extensions.rst:211
342359
msgid ":c:func:`PyEval_SaveThread` and :c:func:`PyEval_RestoreThread`"
343-
msgstr ""
360+
msgstr ":c:func:`PyEval_SaveThread` 和 :c:func:`PyEval_RestoreThread`"
344361

345362
#: ../../howto/free-threading-extensions.rst:212
346363
msgid ":c:macro:`Py_BEGIN_ALLOW_THREADS` and :c:macro:`Py_END_ALLOW_THREADS`"
347-
msgstr ""
364+
msgstr ":c:macro:`Py_BEGIN_ALLOW_THREADS` 和 :c:macro:`Py_END_ALLOW_THREADS`"
348365

349366
#: ../../howto/free-threading-extensions.rst:214
350367
msgid ""
@@ -435,7 +452,7 @@ msgstr ""
435452

436453
#: ../../howto/free-threading-extensions.rst:271
437454
msgid "Windows"
438-
msgstr ""
455+
msgstr "Windows"
439456

440457
#: ../../howto/free-threading-extensions.rst:273
441458
msgid ""

0 commit comments

Comments
 (0)