Skip to content

Commit ce7e838

Browse files
committed
resolve fuzzy entries
1 parent 3fde360 commit ce7e838

Some content is hidden

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

75 files changed

+274
-1062
lines changed

c-api/exceptions.po

+1-4
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ msgstr ""
268268
#: ../../c-api/exceptions.rst:253 ../../c-api/exceptions.rst:263
269269
#: ../../c-api/exceptions.rst:271 ../../c-api/exceptions.rst:281
270270
msgid "Availability"
271-
msgstr ""
271+
msgstr "可用於"
272272

273273
#: ../../c-api/exceptions.rst:239
274274
msgid ""
@@ -1962,6 +1962,3 @@ msgstr "PyExc_UnicodeWarning(C 變數)"
19621962
#: ../../c-api/exceptions.rst:1194
19631963
msgid "PyExc_UserWarning (C var)"
19641964
msgstr "PyExc_UserWarning(C 變數)"
1965-
1966-
#~ msgid ":ref:`Availability <availability>`: Windows."
1967-
#~ msgstr ":ref:`適用 <availability>`:Windows。"

c-api/init.po

+10-48
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ msgid "Initialization, Finalization, and Threads"
2525
msgstr ""
2626

2727
#: ../../c-api/init.rst:10
28-
#, fuzzy
2928
msgid ""
3029
"See :ref:`Python Initialization Configuration <init-config>` for details on "
3130
"how to configure the interpreter prior to initialization."
32-
msgstr "也請參見 :ref:`Python 初始化設定 <init-config>`。"
31+
msgstr ""
32+
"關於如何在初始化之前設定直譯器的細節,請參見 :ref:`Python 初始化設定 <init-"
33+
"config>`。"
3334

3435
#: ../../c-api/init.rst:16
3536
msgid "Before Python Initialization"
@@ -53,29 +54,24 @@ msgid "Functions that initialize the interpreter:"
5354
msgstr ""
5455

5556
#: ../../c-api/init.rst:27
56-
#, fuzzy
5757
msgid ":c:func:`Py_Initialize`"
58-
msgstr ":c:func:`Py_IsInitialized`"
58+
msgstr ":c:func:`Py_Initialize`"
5959

6060
#: ../../c-api/init.rst:28
61-
#, fuzzy
6261
msgid ":c:func:`Py_InitializeEx`"
63-
msgstr ":c:func:`Py_IsInitialized`"
62+
msgstr ":c:func:`Py_InitializeEx`"
6463

6564
#: ../../c-api/init.rst:29
66-
#, fuzzy
6765
msgid ":c:func:`Py_InitializeFromConfig`"
68-
msgstr ":c:func:`Py_IsInitialized`"
66+
msgstr ":c:func:`Py_InitializeFromConfig`"
6967

7068
#: ../../c-api/init.rst:30
71-
#, fuzzy
7269
msgid ":c:func:`Py_BytesMain`"
73-
msgstr ":c:func:`Py_GetVersion`"
70+
msgstr ":c:func:`Py_BytesMain`"
7471

7572
#: ../../c-api/init.rst:31
76-
#, fuzzy
7773
msgid ":c:func:`Py_Main`"
78-
msgstr ":c:func:`Py_SetPath`"
74+
msgstr ":c:func:`Py_Main`"
7975

8076
#: ../../c-api/init.rst:32
8177
msgid "the runtime pre-initialization functions covered in :ref:`init-config`"
@@ -424,7 +420,7 @@ msgstr "更多詳情請見 :pep:`529`。"
424420

425421
#: ../../c-api/init.rst:238 ../../c-api/init.rst:256
426422
msgid "Availability"
427-
msgstr ""
423+
msgstr "可用於"
428424

429425
#: ../../c-api/init.rst:244
430426
msgid ""
@@ -579,11 +575,10 @@ msgid ""
579575
msgstr ""
580576

581577
#: ../../c-api/init.rst:372 ../../c-api/init.rst:386
582-
#, fuzzy
583578
msgid ""
584579
"Use :c:func:`Py_InitializeFromConfig` to customize the :ref:`Python "
585580
"Initialization Configuration <init-config>`."
586-
msgstr "也請參見 :ref:`Python 初始化設定 <init-config>`。"
581+
msgstr ""
587582

588583
#: ../../c-api/init.rst:376
589584
msgid ""
@@ -3071,36 +3066,3 @@ msgstr "Py_Initialize(C 函式)"
30713066
#: ../../c-api/init.rst:1722
30723067
msgid "close (in module os)"
30733068
msgstr "close(os 模組中)"
3074-
3075-
#~ msgid ":ref:`Availability <availability>`: Windows."
3076-
#~ msgstr ":ref:`適用 <availability>`:Windows。"
3077-
3078-
#~ msgid ":c:func:`Py_SetStandardStreamEncoding`"
3079-
#~ msgstr ":c:func:`Py_SetStandardStreamEncoding`"
3080-
3081-
#~ msgid ":c:func:`PySys_AddWarnOption`"
3082-
#~ msgstr ":c:func:`PySys_AddWarnOption`"
3083-
3084-
#~ msgid ":c:func:`PySys_AddXOption`"
3085-
#~ msgstr ":c:func:`PySys_AddXOption`"
3086-
3087-
#~ msgid "Py_SetProgramName()"
3088-
#~ msgstr "Py_SetProgramName()"
3089-
3090-
#~ msgid "PySys_SetArgv (C function)"
3091-
#~ msgstr "PySys_SetArgv(C 函式)"
3092-
3093-
#~ msgid "PySys_SetArgvEx (C function)"
3094-
#~ msgstr "PySys_SetArgvEx(C 函式)"
3095-
3096-
#~ msgid "stdin"
3097-
#~ msgstr "stdin"
3098-
3099-
#~ msgid "stdout"
3100-
#~ msgstr "stdout"
3101-
3102-
#~ msgid "sdterr"
3103-
#~ msgstr "sdterr"
3104-
3105-
#~ msgid "Py_SetPath()"
3106-
#~ msgstr "Py_SetPath()"

c-api/module.po

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ msgid "Return ``NULL`` with an exception set on error."
5555
msgstr "在失敗時回傳 ``NULL`` 並設定例外。"
5656

5757
#: ../../c-api/module.rst:50
58-
#, fuzzy
5958
msgid ""
6059
":attr:`~module.__package__` and :attr:`~module.__loader__` are now set to "
6160
"``None``."
62-
msgstr ":attr:`__package__` 和 :attr:`__loader__` 被設為 ``None``。"
61+
msgstr ""
62+
":attr:`~module.__package__` 和 :attr:`~module.__loader__` 現在被設為 "
63+
"``None``。"
6364

6465
#: ../../c-api/module.rst:57
6566
msgid ""

deprecations/index.po

+12-8
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ msgstr "Python 3.14 中待移除的項目"
2727
#: ../../deprecations/pending-removal-in-3.14.rst:4
2828
#: ../../deprecations/pending-removal-in-3.15.rst:4
2929
msgid "The import system:"
30-
msgstr ""
30+
msgstr "引入系統 (import system):"
3131

3232
#: ../../deprecations/pending-removal-in-3.14.rst:6
3333
msgid ""
@@ -36,6 +36,9 @@ msgid ""
3636
"Python 3.14, :attr:`!__loader__` will cease to be set or taken into "
3737
"consideration by the import system or the standard library."
3838
msgstr ""
39+
"在模組上設定 :attr:`~module.__loader__` 而沒有設定 :attr:`__spec__.loader "
40+
"<importlib.machinery.ModuleSpec.loader>` 的做法已被棄用。在 Python 3.14 中,"
41+
"引入系統或標準函式庫將不再設定或考慮 :attr:`!__loader__` 。"
3942

4043
#: ../../deprecations/pending-removal-in-3.14.rst:11
4144
msgid ""
@@ -299,6 +302,9 @@ msgid ""
299302
"Python 3.15, :attr:`!__cached__` will cease to be set or take into "
300303
"consideration by the import system or standard library. (:gh:`97879`)"
301304
msgstr ""
305+
"在模組上設定 :attr:`~module.__cached__` 而沒有設定 :attr:`__spec__.cached "
306+
"<importlib.machinery.ModuleSpec.cached>` 的做法已被棄用。在 Python 3.15 中,"
307+
"引入系統或標準函式庫將不再設定或考慮 :attr:`!__cached__`。(:gh:`97879`)"
302308

303309
#: ../../deprecations/pending-removal-in-3.15.rst:11
304310
msgid ""
@@ -307,6 +313,9 @@ msgid ""
307313
"Python 3.15, :attr:`!__package__` will cease to be set or take into "
308314
"consideration by the import system or standard library. (:gh:`97879`)"
309315
msgstr ""
316+
"在模組上設定 :attr:`~module.__package__` 而沒有設定 :attr:`__spec__.parent "
317+
"<importlib.machinery.ModuleSpec.parent>` 的做法已被棄用。在 Python 3.15 中,"
318+
"引入系統或標準函式庫將不再設定或考慮 :attr:`!__package__`。(:gh:`97879`)"
310319

311320
#: ../../deprecations/pending-removal-in-3.15.rst:16
312321
msgid ":mod:`ctypes`:"
@@ -690,6 +699,8 @@ msgid ""
690699
":mod:`logging`: the ``warn()`` method has been deprecated since Python 3.3, "
691700
"use :meth:`~logging.warning` instead."
692701
msgstr ""
702+
":mod:`logging`:自 Python 3.3 起,``warn()`` 方法已被棄用,請改用 :meth:"
703+
"`~logging.warning`。"
693704

694705
#: ../../deprecations/pending-removal-in-future.rst:72
695706
msgid ""
@@ -1328,10 +1339,3 @@ msgstr ""
13281339
#: ../../deprecations/c-api-pending-removal-in-future.rst:50
13291340
msgid ":c:func:`PyThread_ReInitTLS`: Unneeded since Python 3.7."
13301341
msgstr ":c:func:`PyThread_ReInitTLS`:自 Python 3.7 起不再需要。"
1331-
1332-
#~ msgid ""
1333-
#~ ":mod:`importlib`: ``__package__`` and ``__cached__`` will cease to be set "
1334-
#~ "or taken into consideration by the import system (:gh:`97879`)."
1335-
#~ msgstr ""
1336-
#~ ":mod:`importlib`:``__package__`` 和 ``__cached__`` 將不再被設定或被 "
1337-
#~ "import 系統考慮。 (:gh:`97879`)"

deprecations/pending-removal-in-3.14.po

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# SOME DESCRIPTIVE TITLE.
21
# Copyright (C) 2001-2024, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -17,12 +16,14 @@ msgstr ""
1716
"Content-Transfer-Encoding: 8bit\n"
1817

1918
#: ../../deprecations/pending-removal-in-3.14.rst:2
19+
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:2
2020
msgid "Pending Removal in Python 3.14"
2121
msgstr "Python 3.14 中待移除的項目"
2222

2323
#: ../../deprecations/pending-removal-in-3.14.rst:4
24+
#: ../../deprecations/pending-removal-in-3.15.rst:4
2425
msgid "The import system:"
25-
msgstr ""
26+
msgstr "引入系統 (import system):"
2627

2728
#: ../../deprecations/pending-removal-in-3.14.rst:6
2829
msgid ""
@@ -31,6 +32,9 @@ msgid ""
3132
"Python 3.14, :attr:`!__loader__` will cease to be set or taken into "
3233
"consideration by the import system or the standard library."
3334
msgstr ""
35+
"在模組上設定 :attr:`~module.__loader__` 而沒有設定 :attr:`__spec__.loader "
36+
"<importlib.machinery.ModuleSpec.loader>` 的做法已被棄用。在 Python 3.14 中,"
37+
"引入系統或標準函式庫將不再設定或考慮 :attr:`!__loader__` 。"
3438

3539
#: ../../deprecations/pending-removal-in-3.14.rst:11
3640
msgid ""

deprecations/pending-removal-in-3.15.po

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# SOME DESCRIPTIVE TITLE.
21
# Copyright (C) 2001-2024, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -17,12 +16,14 @@ msgstr ""
1716
"Content-Transfer-Encoding: 8bit\n"
1817

1918
#: ../../deprecations/pending-removal-in-3.15.rst:2
19+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:2
2020
msgid "Pending Removal in Python 3.15"
2121
msgstr "Python 3.15 中待移除的項目"
2222

2323
#: ../../deprecations/pending-removal-in-3.15.rst:4
24+
#: ../../deprecations/pending-removal-in-3.14.rst:4
2425
msgid "The import system:"
25-
msgstr ""
26+
msgstr "引入系統 (import system):"
2627

2728
#: ../../deprecations/pending-removal-in-3.15.rst:6
2829
msgid ""
@@ -31,6 +32,9 @@ msgid ""
3132
"Python 3.15, :attr:`!__cached__` will cease to be set or take into "
3233
"consideration by the import system or standard library. (:gh:`97879`)"
3334
msgstr ""
35+
"在模組上設定 :attr:`~module.__cached__` 而沒有設定 :attr:`__spec__.cached "
36+
"<importlib.machinery.ModuleSpec.cached>` 的做法已被棄用。在 Python 3.15 中,"
37+
"引入系統或標準函式庫將不再設定或考慮 :attr:`!__cached__`。(:gh:`97879`)"
3438

3539
#: ../../deprecations/pending-removal-in-3.15.rst:11
3640
msgid ""
@@ -39,6 +43,9 @@ msgid ""
3943
"Python 3.15, :attr:`!__package__` will cease to be set or take into "
4044
"consideration by the import system or standard library. (:gh:`97879`)"
4145
msgstr ""
46+
"在模組上設定 :attr:`~module.__package__` 而沒有設定 :attr:`__spec__.parent "
47+
"<importlib.machinery.ModuleSpec.parent>` 的做法已被棄用。在 Python 3.15 中,"
48+
"引入系統或標準函式庫將不再設定或考慮 :attr:`!__package__`。(:gh:`97879`)"
4249

4350
#: ../../deprecations/pending-removal-in-3.15.rst:16
4451
msgid ":mod:`ctypes`:"
@@ -168,10 +175,3 @@ msgstr ""
168175
"已棄用 :class:`~wave.Wave_read` 和 :class:`~wave.Wave_write` 類別的 :meth:"
169176
"`~wave.Wave_read.getmark`、:meth:`!setmark` 和 :meth:`~wave.Wave_read."
170177
"getmarkers` 方法自 Python 3.13 被棄用。"
171-
172-
#~ msgid ""
173-
#~ ":mod:`importlib`: ``__package__`` and ``__cached__`` will cease to be set "
174-
#~ "or taken into consideration by the import system (:gh:`97879`)."
175-
#~ msgstr ""
176-
#~ ":mod:`importlib`:引入系統將不再設定或考慮 ``__package__`` 和 "
177-
#~ "``__cached__`` (:gh:`97879`)。"

deprecations/pending-removal-in-future.po

+2
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ msgid ""
185185
":mod:`logging`: the ``warn()`` method has been deprecated since Python 3.3, "
186186
"use :meth:`~logging.warning` instead."
187187
msgstr ""
188+
":mod:`logging`:自 Python 3.3 起,``warn()`` 方法已被棄用,請改用 :meth:"
189+
"`~logging.warning`。"
188190

189191
#: ../../deprecations/pending-removal-in-future.rst:72
190192
msgid ""

library/_thread.po

+13-36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2022, Python Software Foundation
1+
# Copyright (C) 2001-2024, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
@@ -174,11 +173,11 @@ msgstr ""
174173

175174
#: ../../library/_thread.rst:123 ../../library/_thread.rst:148
176175
msgid "Availability"
177-
msgstr ""
176+
msgstr "可用於"
178177

179178
#: ../../library/_thread.rst:127
180179
msgid "Added support for GNU/kFreeBSD."
181-
msgstr ""
180+
msgstr "新增了對 GNU/kFreeBSD 的支援。"
182181

183182
#: ../../library/_thread.rst:133
184183
msgid ""
@@ -298,6 +297,12 @@ msgid ""
298297
"with a_lock:\n"
299298
" print(\"a_lock is locked while this executes\")"
300299
msgstr ""
300+
"import _thread\n"
301+
"\n"
302+
"a_lock = _thread.allocate_lock()\n"
303+
"\n"
304+
"with a_lock:\n"
305+
" print(\"a_lock 在執行這裡時被鎖定\")"
301306

302307
#: ../../library/_thread.rst:212
303308
msgid "**Caveats:**"
@@ -307,7 +312,7 @@ msgstr "**注意事項:**"
307312
msgid ""
308313
"Interrupts always go to the main thread (the :exc:`KeyboardInterrupt` "
309314
"exception will be received by that thread.)"
310-
msgstr ""
315+
msgstr "中斷總會跳到主執行緒(該執行緒將接收 :exc:`KeyboardInterrupt` 例外。)"
311316

312317
#: ../../library/_thread.rst:219
313318
msgid ""
@@ -318,16 +323,16 @@ msgstr ""
318323
"`_thread.exit` 函式。"
319324

320325
#: ../../library/_thread.rst:222
321-
#, fuzzy
322326
msgid ""
323327
"It is platform-dependent whether the :meth:`~threading.Lock.acquire` method "
324328
"on a lock can be interrupted (so that the :exc:`KeyboardInterrupt` exception "
325329
"will happen immediately, rather than only after the lock has been acquired "
326330
"or the operation has timed out). It can be interrupted on POSIX, but not on "
327331
"Windows."
328332
msgstr ""
329-
"無法在鎖的 :meth:`~threading.Lock.acquire` 方法上中斷執行, :exc:"
330-
"`KeyboardInterrupt` 例外會在鎖被獲取後發生。"
333+
"鎖的 :meth:`~threading.Lock.acquire` 方法是否可以中斷(如此一來 :exc:"
334+
"`KeyboardInterrupt` 例外會立即發生,而不是僅在取得鎖或操作逾時後)是取決於平"
335+
"台的。在 POSIX 上可以中斷,但在 Windows 上則不行。"
331336

332337
#: ../../library/_thread.rst:228
333338
msgid ""
@@ -374,31 +379,3 @@ msgstr "module(模組)"
374379
#: ../../library/_thread.rst:214
375380
msgid "signal"
376381
msgstr "signal(訊號)"
377-
378-
#, fuzzy
379-
#~ msgid ""
380-
#~ ":ref:`Availability <availability>`: Windows, FreeBSD, Linux, macOS, "
381-
#~ "OpenBSD, NetBSD, AIX, DragonFlyBSD, GNU/kFreeBSD."
382-
#~ msgstr ""
383-
#~ ":ref:`適用 <availability>`:Windows、FreeBSD、Linux、macOS、OpenBSD、"
384-
#~ "NetBSD、AIX、DragonFlyBSD。"
385-
386-
#~ msgid ":ref:`Availability <availability>`: Windows, pthreads."
387-
#~ msgstr ":ref:`適用 <availability>`:Windows、pthreads。"
388-
389-
#~ msgid ""
390-
#~ "Threads interact strangely with interrupts: the :exc:`KeyboardInterrupt` "
391-
#~ "exception will be received by an arbitrary thread. (When the :mod:"
392-
#~ "`signal` module is available, interrupts always go to the main thread.)"
393-
#~ msgstr ""
394-
#~ "執行緒與中斷的互動可能會有奇怪的情況:任何一個執行緒都有可能收到 :exc:"
395-
#~ "`KeyboardInterrupt` 例外。(當 :mod:`signal` 模組可用時,中斷總是會進入主"
396-
#~ "執行緒。)"
397-
398-
#~ msgid ""
399-
#~ "When the main thread exits, it does not do any of its usual cleanup "
400-
#~ "(except that :keyword:`try` ... :keyword:`finally` clauses are honored), "
401-
#~ "and the standard I/O files are not flushed."
402-
#~ msgstr ""
403-
#~ "當主執行緒退出時,它不會執行任何通常的清理操作(除非有 :keyword:"
404-
#~ "`try` ... :keyword:`finally` 子句),並且標準 I/O 檔案不會被刷新。"

0 commit comments

Comments
 (0)