Skip to content

Commit bc0a645

Browse files
committed
fix: resolve fuzzy entries
1 parent 5813a1b commit bc0a645

31 files changed

+267
-292
lines changed

c-api/hash.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ msgstr ":c:func:`PyHash_GetFuncDef` 所使用的雜湊函式定義。"
6464

6565
#: ../../c-api/hash.rst:56
6666
msgid "Hash function."
67-
msgstr ""
67+
msgstr "雜湊函式。"
6868

6969
#: ../../c-api/hash.rst:60
7070
msgid "Hash function name (UTF-8 encoded string)."

deprecations/c-api-pending-removal-in-3.18.po

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ msgstr "Python 3.18 中待移除的項目"
2424
msgid ""
2525
"The following private functions are deprecated and planned for removal in "
2626
"Python 3.18:"
27-
msgstr ""
27+
msgstr "以下私有函式已被棄用,並計劃在 Python 3.18 中移除:"
2828

2929
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:7
3030
msgid ":c:func:`!_PyBytes_Join`: use :c:func:`PyBytes_Join`."
@@ -39,7 +39,6 @@ msgstr ""
3939
"`PyDict_GetItemStringRef`。"
4040

4141
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:9
42-
#, fuzzy
4342
msgid ":c:func:`!_PyDict_Pop()`: use :c:func:`PyDict_Pop`."
4443
msgstr ":c:func:`!_PyDict_Pop()`:請改用 :c:func:`PyDict_Pop`。"
4544

@@ -127,15 +126,14 @@ msgstr ""
127126
"<PyUnicodeWriter_WriteSubstring>`。"
128127

129128
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:33
130-
#, fuzzy
131129
msgid ""
132130
":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace "
133131
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:"
134132
"`PyUnicodeWriter_WriteASCII(writer, str) <PyUnicodeWriter_WriteASCII>`."
135133
msgstr ""
136134
":c:func:`!_PyUnicodeWriter_WriteASCIIString`:將 "
137135
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` 替換為 :c:func:"
138-
"`PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8>`。"
136+
"`PyUnicodeWriter_WriteASCII(writer, str) <PyUnicodeWriter_WriteASCII>`。"
139137

140138
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:36
141139
msgid ""
@@ -164,14 +162,11 @@ msgid ":c:func:`!_Py_fopen_obj`: use :c:func:`Py_fopen`."
164162
msgstr ":c:func:`!_Py_fopen_obj`:請改用 :c:func:`Py_fopen`。"
165163

166164
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:44
167-
#, fuzzy
168165
msgid ""
169166
"The `pythoncapi-compat project <https://github.com/python/pythoncapi-compat/"
170167
">`__ can be used to get these new public functions on Python 3.13 and older. "
171168
"(Contributed by Victor Stinner in :gh:`128863`.)"
172169
msgstr ""
173-
"可以使用 `pythoncapi-compat 專案 <https://github.com/python/pythoncapi-"
174-
"compat/>`__\\ 來為 Python 3.13 及更早版本取得這些新的公開函式。"
175-
176-
#~ msgid "Deprecated private functions (:gh:`128863`):"
177-
#~ msgstr "被棄用的私有函式 (:gh:`128863`):"
170+
"可以使用 `pythoncapi-compat project <https://github.com/python/pythoncapi-"
171+
"compat/>`__ 來取得這些於 Python 3.13 及更早版本的新公開函式。(由 "
172+
"Victor Stinner 在 :gh:`128863` 貢獻)"

deprecations/index.po

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,14 @@ msgid ""
498498
"``bytes | bytearray``, or :class:`collections.abc.Buffer`. (Contributed by "
499499
"Shantanu Jain in :gh:`91896`.)"
500500
msgstr ""
501+
"自 Python 3.9 起已被棄用的 :class:`typing.ByteString`,計劃在 Python "
502+
"3.17 中移除。建議改用 :class:`~collections.abc.Sequence` 或 :class:`~"
503+
"collections.abc.Buffer`。在型別註釋中建議改用聯集,例如 ``bytes | "
504+
"bytearray`` 或 :class:`collections.abc.Buffer`。(Shantanu Jain 於 :gh:`91896` 貢獻。)"
501505

502506
#: ../../deprecations/pending-removal-in-3.17.rst:17
503-
#, fuzzy
504507
msgid ":mod:`collections.abc`:"
505-
msgstr ":mod:`builtins`:"
508+
msgstr ":mod:`collections.abc`:"
506509

507510
#: ../../deprecations/pending-removal-in-3.17.rst:19
508511
msgid ""
@@ -512,6 +515,10 @@ msgid ""
512515
"bytearray``, or :class:`collections.abc.Buffer`. (Contributed by Shantanu "
513516
"Jain in :gh:`91896`.)"
514517
msgstr ""
518+
":class:`collections.abc.ByteString` 計劃在 Python 3.17 中移除。建議改用 "
519+
":class:`~collections.abc.Sequence` 或 :class:`~collections.abc.Buffer`。在"
520+
"型別註釋中建議改用聯集,例如 ``bytes | bytearray`` 或 :class:`collections.abc."
521+
"Buffer`。(Shantanu Jain 於 :gh:`91896` 貢獻。)"
515522

516523
#: ../../deprecations/pending-removal-in-3.19.rst:2
517524
msgid "Pending removal in Python 3.19"
@@ -1318,7 +1325,7 @@ msgstr "Python 3.18 中待移除的項目"
13181325
msgid ""
13191326
"The following private functions are deprecated and planned for removal in "
13201327
"Python 3.18:"
1321-
msgstr ""
1328+
msgstr "以下私有函式已被棄用,並計劃在 Python 3.18 中移除:"
13221329

13231330
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:7
13241331
msgid ":c:func:`!_PyBytes_Join`: use :c:func:`PyBytes_Join`."
@@ -1333,7 +1340,6 @@ msgstr ""
13331340
"`PyDict_GetItemStringRef`。"
13341341

13351342
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:9
1336-
#, fuzzy
13371343
msgid ":c:func:`!_PyDict_Pop()`: use :c:func:`PyDict_Pop`."
13381344
msgstr ":c:func:`!_PyDict_Pop()`:請改用 :c:func:`PyDict_Pop`。"
13391345

@@ -1421,15 +1427,14 @@ msgstr ""
14211427
"<PyUnicodeWriter_WriteSubstring>`。"
14221428

14231429
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:33
1424-
#, fuzzy
14251430
msgid ""
14261431
":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace "
14271432
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:"
14281433
"`PyUnicodeWriter_WriteASCII(writer, str) <PyUnicodeWriter_WriteASCII>`."
14291434
msgstr ""
14301435
":c:func:`!_PyUnicodeWriter_WriteASCIIString`:將 "
14311436
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` 替換為 :c:func:"
1432-
"`PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8>`。"
1437+
"`PyUnicodeWriter_WriteASCII(writer, str) <PyUnicodeWriter_WriteASCII>`。"
14331438

14341439
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:36
14351440
msgid ""
@@ -1458,14 +1463,14 @@ msgid ":c:func:`!_Py_fopen_obj`: use :c:func:`Py_fopen`."
14581463
msgstr ":c:func:`!_Py_fopen_obj`:請改用 :c:func:`Py_fopen`。"
14591464

14601465
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:44
1461-
#, fuzzy
14621466
msgid ""
14631467
"The `pythoncapi-compat project <https://github.com/python/pythoncapi-compat/"
14641468
">`__ can be used to get these new public functions on Python 3.13 and older. "
14651469
"(Contributed by Victor Stinner in :gh:`128863`.)"
14661470
msgstr ""
14671471
"可以使用 `pythoncapi-compat project <https://github.com/python/pythoncapi-"
1468-
"compat/>`__ 來取得這些於 Python 3.13 及更早版本的新公開函式。"
1472+
"compat/>`__ 來取得這些於 Python 3.13 及更早版本的新公開函式。(由 "
1473+
"Victor Stinner 在 :gh:`128863` 貢獻)"
14691474

14701475
#: ../../deprecations/c-api-pending-removal-in-future.rst:4
14711476
msgid ""
@@ -1569,6 +1574,3 @@ msgstr ""
15691574
#: ../../deprecations/c-api-pending-removal-in-future.rst:41
15701575
msgid ":c:func:`PyThread_ReInitTLS`: Unneeded since Python 3.7."
15711576
msgstr ":c:func:`PyThread_ReInitTLS`:自 Python 3.7 起不再需要。"
1572-
1573-
#~ msgid "Deprecated private functions (:gh:`128863`):"
1574-
#~ msgstr "被棄用的私有函式 (:gh:`128863`):"

deprecations/pending-removal-in-3.17.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,14 @@ msgid ""
4646
"``bytes | bytearray``, or :class:`collections.abc.Buffer`. (Contributed by "
4747
"Shantanu Jain in :gh:`91896`.)"
4848
msgstr ""
49+
"自 Python 3.9 起已被棄用的 :class:`typing.ByteString`,計劃在 Python "
50+
"3.17 中移除。建議改用 :class:`~collections.abc.Sequence` 或 :class:`~"
51+
"collections.abc.Buffer`。在型別註釋中建議改用聯集,例如 ``bytes | "
52+
"bytearray`` 或 :class:`collections.abc.Buffer`。(Shantanu Jain 於 :gh:`91896` 貢獻。)"
4953

5054
#: ../../deprecations/pending-removal-in-3.17.rst:17
5155
msgid ":mod:`collections.abc`:"
52-
msgstr ""
56+
msgstr ":mod:`collections.abc`:"
5357

5458
#: ../../deprecations/pending-removal-in-3.17.rst:19
5559
msgid ""
@@ -59,3 +63,7 @@ msgid ""
5963
"bytearray``, or :class:`collections.abc.Buffer`. (Contributed by Shantanu "
6064
"Jain in :gh:`91896`.)"
6165
msgstr ""
66+
":class:`collections.abc.ByteString` 計劃在 Python 3.17 中移除。建議改用 "
67+
":class:`~collections.abc.Sequence` 或 :class:`~collections.abc.Buffer`。在"
68+
"型別註釋中建議改用聯集,例如 ``bytes | bytearray`` 或 :class:`collections.abc."
69+
"Buffer`。(Shantanu Jain 於 :gh:`91896` 貢獻。)"

glossary.po

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3387,13 +3387,12 @@ msgstr ""
33873387
"動式提式字元後輸入「``import this``」來找到它。"
33883388

33893389
#: ../../glossary.rst:24
3390-
#, fuzzy
33913390
msgid "..."
3392-
msgstr "``...``"
3391+
msgstr "..."
33933392

33943393
#: ../../glossary.rst:24
33953394
msgid "ellipsis literal"
3396-
msgstr ""
3395+
msgstr "刪節號字面值"
33973396

33983397
#: ../../glossary.rst:321
33993398
msgid "C-contiguous"

howto/enum.po

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ msgid ""
4545
"... SATURDAY = 6\n"
4646
"... SUNDAY = 7"
4747
msgstr ""
48+
">>> from enum import Enum\n"
49+
">>> class Weekday(Enum):\n"
50+
"... MONDAY = 1\n"
51+
"... TUESDAY = 2\n"
52+
"... WEDNESDAY = 3\n"
53+
"... THURSDAY = 4\n"
54+
"... FRIDAY = 5\n"
55+
"... SATURDAY = 6\n"
56+
"... SUNDAY = 7"
4857

4958
#: ../../howto/enum.rst:28
5059
msgid "Or perhaps the RGB primary colors::"
@@ -58,6 +67,11 @@ msgid ""
5867
"... GREEN = 2\n"
5968
"... BLUE = 3"
6069
msgstr ""
70+
">>> from enum import Enum\n"
71+
">>> class Color(Enum):\n"
72+
"... RED = 1\n"
73+
"... GREEN = 2\n"
74+
"... BLUE = 3"
6175

6276
#: ../../howto/enum.rst:36
6377
msgid ""

howto/remote_debugging.po

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ msgstr ""
4545

4646
#: ../../howto/remote_debugging.rst:21
4747
msgid "Linux"
48-
msgstr ""
48+
msgstr "Linux"
4949

5050
#: ../../howto/remote_debugging.rst:22
5151
msgid ""
@@ -82,11 +82,11 @@ msgstr ""
8282

8383
#: ../../howto/remote_debugging.rst:42
8484
msgid "``sudo -E !!``"
85-
msgstr ""
85+
msgstr "``sudo -E !!``"
8686

8787
#: ../../howto/remote_debugging.rst:46
8888
msgid "macOS"
89-
msgstr ""
89+
msgstr "macOS"
9090

9191
#: ../../howto/remote_debugging.rst:47
9292
msgid ""
@@ -103,7 +103,7 @@ msgstr ""
103103

104104
#: ../../howto/remote_debugging.rst:56
105105
msgid "Windows"
106-
msgstr ""
106+
msgstr "Windows"
107107

108108
#: ../../howto/remote_debugging.rst:57
109109
msgid ""
@@ -137,15 +137,15 @@ msgstr ""
137137

138138
#: ../../howto/remote_debugging.rst:69
139139
msgid "Select your user account."
140-
msgstr ""
140+
msgstr "選擇你的使用者帳戶。"
141141

142142
#: ../../howto/remote_debugging.rst:70
143143
msgid "In **Permissions**, check **Read** or **Full control** as needed."
144144
msgstr ""
145145

146146
#: ../../howto/remote_debugging.rst:71
147147
msgid "Click **Apply**, then **OK** to confirm."
148-
msgstr ""
148+
msgstr "點擊 **Apply**,然後點擊 **OK** 來確認。"
149149

150150
#: ../../howto/remote_debugging.rst:76
151151
msgid ""
@@ -251,7 +251,7 @@ msgstr ""
251251

252252
#: ../../howto/remote_debugging.rst:136
253253
msgid "Linux (ELF)"
254-
msgstr ""
254+
msgstr "Linux (ELF)"
255255

256256
#: ../../howto/remote_debugging.rst:137
257257
msgid "To find the ``PyRuntime`` structure on Linux:"
@@ -278,7 +278,7 @@ msgstr ""
278278
#: ../../howto/remote_debugging.rst:146 ../../howto/remote_debugging.rst:208
279279
#: ../../howto/remote_debugging.rst:278 ../../howto/remote_debugging.rst:547
280280
msgid "The following is an example implementation::"
281-
msgstr ""
281+
msgstr "以下是一個範例實作: ::"
282282

283283
#: ../../howto/remote_debugging.rst:148
284284
msgid ""
@@ -338,11 +338,11 @@ msgstr ""
338338

339339
#: ../../howto/remote_debugging.rst:194
340340
msgid "macOS (Mach-O)"
341-
msgstr ""
341+
msgstr "macOS (Mach-O)"
342342

343343
#: ../../howto/remote_debugging.rst:195
344344
msgid "To find the ``PyRuntime`` structure on macOS:"
345-
msgstr ""
345+
msgstr "在 macOS 上找 ``PyRuntime`` 結構:"
346346

347347
#: ../../howto/remote_debugging.rst:197
348348
msgid ""
@@ -430,11 +430,11 @@ msgstr ""
430430

431431
#: ../../howto/remote_debugging.rst:258
432432
msgid "Windows (PE)"
433-
msgstr ""
433+
msgstr "Windows (PE)"
434434

435435
#: ../../howto/remote_debugging.rst:259
436436
msgid "To find the ``PyRuntime`` structure on Windows:"
437-
msgstr ""
437+
msgstr "在 Windows 上找 ``PyRuntime`` 結構:"
438438

439439
#: ../../howto/remote_debugging.rst:261
440440
msgid ""
@@ -528,7 +528,7 @@ msgstr ""
528528

529529
#: ../../howto/remote_debugging.rst:325
530530
msgid "Reading _Py_DebugOffsets"
531-
msgstr ""
531+
msgstr "讀取 _Py_DebugOffsets"
532532

533533
#: ../../howto/remote_debugging.rst:327
534534
msgid ""

library/argparse.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,17 +1329,16 @@ msgid ""
13291329
msgstr ""
13301330

13311331
#: ../../library/argparse.rst:783
1332-
#, fuzzy
13331332
msgid ""
13341333
">>> parser = argparse.ArgumentParser()\n"
13351334
">>> parser.add_argument('--foo', action='append', default=['0'])\n"
13361335
">>> parser.parse_args('--foo 1 --foo 2'.split())\n"
13371336
"Namespace(foo=['0', '1', '2'])"
13381337
msgstr ""
13391338
">>> parser = argparse.ArgumentParser()\n"
1340-
">>> parser.add_argument('--foo', action='append')\n"
1339+
">>> parser.add_argument('--foo', action='append', default=['0'])\n"
13411340
">>> parser.parse_args('--foo 1 --foo 2'.split())\n"
1342-
"Namespace(foo=['1', '2'])"
1341+
"Namespace(foo=['0', '1', '2'])"
13431342

13441343
#: ../../library/argparse.rst:788
13451344
msgid ""
@@ -2714,7 +2713,7 @@ msgstr ""
27142713

27152714
#: ../../library/argparse.rst:1603
27162715
msgid "Beyond ``sys.argv``"
2717-
msgstr ""
2716+
msgstr "``sys.argv`` 之外"
27182717

27192718
#: ../../library/argparse.rst:1605
27202719
msgid ""

library/collections.abc.po

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,14 +311,12 @@ msgid ""
311311
msgstr ""
312312

313313
#: ../../library/collections.abc.rst:143
314-
#, fuzzy
315314
msgid ":class:`ByteString`"
316-
msgstr ":class:`Iterator`"
315+
msgstr ":class:`ByteString`"
317316

318317
#: ../../library/collections.abc.rst:143
319-
#, fuzzy
320318
msgid "Inherited :class:`Sequence` methods"
321-
msgstr ":class:`Sequence`"
319+
msgstr ":class:`Sequence` 的繼承方法"
322320

323321
#: ../../library/collections.abc.rst:146 ../../library/collections.abc.rst:151
324322
msgid ":class:`Set`"

library/concurrent.futures.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,16 +204,15 @@ msgstr ""
204204
"future 將在此方法回傳之前完成。剩餘的 future 被取消。"
205205

206206
#: ../../library/concurrent.futures.rst:104
207-
#, fuzzy
208207
msgid ""
209208
"You can avoid having to call this method explicitly if you use the executor "
210209
"as a :term:`context manager` via the :keyword:`with` statement, which will "
211210
"shutdown the :class:`Executor` (waiting as if :meth:`Executor.shutdown` were "
212211
"called with *wait* set to ``True``)::"
213212
msgstr ""
214-
"如果使用 :keyword:`with` 陳述式,那你就可以不用明確地呼叫此方法,這將會自己關"
215-
" :class:`Executor`\\如同呼叫 :meth:`Executor.shutdown` 時 *wait* 被設定"
216-
" ``True`` 般等待): ::"
213+
"如果使用 :keyword:`with` 陳述式來將 executor 用作 :term:`context manager`,那你就"
214+
"可以不用明確地呼叫此方法,這將會自己關閉 :class:`Executor`\\如同呼"
215+
"叫 :meth:`Executor.shutdown` 時 *wait* 被設定為 ``True`` 般等待): ::"
217216

218217
#: ../../library/concurrent.futures.rst:109
219218
msgid ""

0 commit comments

Comments
 (0)