Skip to content

Commit 047bde1

Browse files
mattwang44claude
andcommitted
Translate fuzzy entries from upstream sync
Update every fuzzy entry introduced by the 3.15 sync (578 entries in 127 files) by minimally adapting the existing translation to the new msgid. reference/grammar.po keeps its translated comments line by line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e127512 commit 047bde1

127 files changed

Lines changed: 1394 additions & 1836 deletions

File tree

Some content is hidden

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

‎about.po‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ msgid "Contributors to the Python documentation"
8181
msgstr "Python 文件的貢獻者們"
8282

8383
#: ../../about.rst:34
84-
#, fuzzy
8584
msgid ""
8685
"Many people have contributed to the Python language, the Python standard "
8786
"library, and the Python documentation. See the `CPython GitHub repository "
8887
"<https://github.com/python/cpython/graphs/contributors>`__ for a partial "
8988
"list of contributors."
9089
msgstr ""
91-
"許多人都曾為 Python 這門語言、Python 標準函式庫和 Python 說明文件貢獻過。"
92-
"Python 所發佈的原始碼中含有部份貢獻者的清單,請見 :source:`Misc/ACKS` 。"
90+
"許多人都曾為 Python 這門語言、Python 標準函式庫和 Python 說明文件貢獻過。部份"
91+
"貢獻者的清單請見 `CPython GitHub 儲存庫 <https://github.com/python/cpython/"
92+
"graphs/contributors>`__。"
9393

9494
#: ../../about.rst:39
9595
msgid ""

‎bugs.po‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,12 @@ msgstr ""
132132
"translations/translating/#translation-coordinators>`_"
133133

134134
#: ../../bugs.rst:50
135-
#, fuzzy
136135
msgid ""
137136
"A list of GitHub pages for documentation translation and their coordination "
138137
"teams."
139138
msgstr ""
140-
"一份 GitHub 網頁的清單,裡面有各個說明文件翻譯團隊的連結,以及他們的主要聯絡"
141-
"人。"
139+
"一份 GitHub 網頁的清單,裡面有各個說明文件翻譯團隊的連結,以及他們的協調團"
140+
"隊。"
142141

143142
#: ../../bugs.rst:56
144143
msgid "Using the Python issue tracker"

‎builtins/exceptions.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1647,7 +1647,6 @@ msgid "The class hierarchy for built-in exceptions is:"
16471647
msgstr "內建例外的類別階層如下:"
16481648

16491649
#: ../../builtins/exceptions.rst:1107
1650-
#, fuzzy
16511650
msgid ""
16521651
"BaseException\n"
16531652
" ├── BaseExceptionGroup\n"
@@ -1735,6 +1734,7 @@ msgstr ""
17351734
" ├── EOFError\n"
17361735
" ├── ExceptionGroup [BaseExceptionGroup]\n"
17371736
" ├── ImportError\n"
1737+
" │ └── ImportCycleError\n"
17381738
" │ └── ModuleNotFoundError\n"
17391739
" ├── LookupError\n"
17401740
" │ ├── IndexError\n"

‎builtins/functions.po‎

Lines changed: 25 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,14 +1119,13 @@ msgstr ""
11191119
"閱 :ref:`typesmapping`。"
11201120

11211121
#: ../../builtins/functions.rst:500
1122-
#, fuzzy
11231122
msgid ""
11241123
"For other containers see the built-in :class:`frozendict`, :class:`list`, :"
11251124
"class:`set`, and :class:`tuple` classes, as well as the :mod:`collections` "
11261125
"module."
11271126
msgstr ""
1128-
"關於其他容器,請參閱內建的 :class:`frozenset`、:class:`list`、:class:`tuple` "
1129-
"和 :class:`dict` 類別,以及 :mod:`collections` 模組。"
1127+
"關於其他容器,請參閱內建的 :class:`frozendict`、:class:`list`、:class:`set` "
1128+
"和 :class:`tuple` 類別,以及 :mod:`collections` 模組。"
11301129

11311130
#: ../../builtins/functions.rst:507
11321131
msgid ""
@@ -1641,22 +1640,20 @@ msgstr ""
16411640
"發 :exc:`TypeError`。"
16421641

16431642
#: ../../builtins/functions.rst:889
1644-
#, fuzzy
16451643
msgid ""
16461644
"Create a new frozen dictionary. The :class:`frozendict` object is a built-"
16471645
"in class. See also :ref:`typesmapping` for documentation about this class."
16481646
msgstr ""
1649-
"建立一個新的字典。:class:`dict` 物件是字典類別。關於此類別的說明文件,亦請參"
1650-
"閱 :ref:`typesmapping`。"
1647+
"建立一個新的凍結字典。:class:`frozendict` 物件是一個內建類別。關於此類別的說"
1648+
"明文件,亦請參閱 :ref:`typesmapping`。"
16511649

16521650
#: ../../builtins/functions.rst:892
1653-
#, fuzzy
16541651
msgid ""
16551652
"For other containers see the built-in :class:`dict`, :class:`list`, :class:"
16561653
"`set`, and :class:`tuple` classes, as well as the :mod:`collections` module."
16571654
msgstr ""
1658-
"其他容器型別,請參見內建的 :class:`list`、:class:`set` 和 :class:`tuple` "
1659-
"class,以及 :mod:`collections` module。"
1655+
"關於其他容器,請參閱內建的 :class:`dict`、:class:`list`、:class:`set` "
1656+
"和 :class:`tuple` 類別,以及 :mod:`collections` 模組。"
16601657

16611658
#: ../../builtins/functions.rst:902
16621659
msgid ""
@@ -2033,7 +2030,6 @@ msgid "*classinfo* can be a :ref:`types-union`."
20332030
msgstr "*classinfo* 可以是一個 :ref:`types-union`。"
20342031

20352032
#: ../../builtins/functions.rst:1143
2036-
#, fuzzy
20372033
msgid ""
20382034
"Return ``True`` if *cls* is a subclass (direct, indirect, or :term:`virtual "
20392035
"<abstract base class>`) of *classinfo*. A class is considered a subclass of "
@@ -2042,11 +2038,10 @@ msgid ""
20422038
"is a subclass of any entry in *classinfo*. In any other case, a :exc:"
20432039
"`TypeError` exception is raised."
20442040
msgstr ""
2045-
"如果 *class* 是 *classinfo* 的 subclass(直接、間接或 :term:`virtual "
2046-
"<abstract base class>`),則回傳 ``True``。*classinfo* 可以是 class 物件的 "
2047-
"tuple(或遞迴地其他類似 tuple)或是一個 :ref:`types-union`,此時若 *class* "
2048-
"是 *classinfo* 中任一元素的 subclass 時則回傳 ``True``。其他情況,會引發 :"
2049-
"exc:`TypeError`。"
2041+
"如果 *cls* 是 *classinfo* 的 subclass(直接、間接或 :term:`virtual <abstract "
2042+
"base class>`),則回傳 ``True``。*classinfo* 可以是 class 物件的 tuple(或遞"
2043+
"迴地其他類似 tuple)或是一個 :ref:`types-union`,此時若 *cls* 是 *classinfo* "
2044+
"中任一元素的 subclass 時則回傳 ``True``。其他情況,會引發 :exc:`TypeError`。"
20502045

20512046
#: ../../builtins/functions.rst:1158
20522047
msgid ""
@@ -2390,7 +2385,6 @@ msgstr ""
23902385
"閉,除非 *closefd* 被設為 ``False``。)"
23912386

23922387
#: ../../builtins/functions.rst:1401
2393-
#, fuzzy
23942388
msgid ""
23952389
"*mode* is an optional string that specifies the mode in which the file is "
23962390
"opened. It defaults to ``'r'`` which means open for reading in text mode. "
@@ -2407,9 +2401,10 @@ msgstr ""
24072401
"以文字模式開啟並讀取。其他常見模式有:寫入 ``'w'``\\ (會捨去已經存在的檔"
24082402
"案)、唯一性建立 ``'x'``、追加寫入 ``'a'``\\ (在\\ *一些* Unix 系統上,無論"
24092403
"目前的檔案指標在什麼位置,*所有* 寫入都會追加到檔案末尾)。在文字模式,如果沒"
2410-
"有指定 *encoding*,則根據電腦平臺來決定使用的編碼:呼叫 :func:`locale."
2411-
"getencoding` 來取得目前的本地編碼。(要讀取和寫入原始 bytes,請使用二進位制模"
2412-
"式且不要指定 *encoding*。)可用的模式有:"
2404+
"有指定 *encoding*,預設會使用 UTF-8;如果停用了 :ref:`Python UTF-8 模式 "
2405+
"<utf8-mode>`,則會呼叫 :func:`locale.getencoding` 來取得目前的本地編碼。(要"
2406+
"讀取和寫入原始 bytes,請使用二進位制模式且不要指定 *encoding*。)可用的模式"
2407+
"有:"
24132408

24142409
#: ../../builtins/functions.rst:1419
24152410
msgid "Character"
@@ -2486,7 +2481,6 @@ msgstr ""
24862481
"容。"
24872482

24882483
#: ../../builtins/functions.rst:1434
2489-
#, fuzzy
24902484
msgid ""
24912485
"As mentioned in the :ref:`io-overview`, Python distinguishes between binary "
24922486
"and text I/O. Files opened in binary mode (including ``'b'`` in the *mode* "
@@ -2499,8 +2493,8 @@ msgstr ""
24992493
"如\\ :ref:`io-overview`\\ 中所述,Python 能區分二進制和文字的 I/O。在二進制模"
25002494
"式下開啟的檔案(*mode* 引數中含有 ``'b'``)會將其內容以 :class:`bytes` 物件回"
25012495
"傳,而不進行任何解碼。在文字模式(預設情況,或當 *mode* 引數中含有 "
2502-
"``'t'``),檔案的內容會以 :class:`str` 回傳,其位元組已經先被解碼,使用的是取"
2503-
"決於平台的編碼系統或是給定的 *encoding*。"
2496+
"``'t'``),檔案的內容會以 :class:`str` 回傳,其位元組已經先被解碼,使用的是預"
2497+
"設的編碼系統或是給定的 *encoding*。"
25042498

25052499
#: ../../builtins/functions.rst:1444
25062500
msgid ""
@@ -2553,7 +2547,6 @@ msgstr ""
25532547
"衝。其他文字檔則使用上述的二進制檔案緩衝策略。"
25542548

25552549
#: ../../builtins/functions.rst:1467
2556-
#, fuzzy
25572550
msgid ""
25582551
"*encoding* is the name of the encoding used to decode or encode the file. "
25592552
"This should only be used in text mode. The default encoding is UTF-8; if :"
@@ -2564,12 +2557,13 @@ msgid ""
25642557
"module for the list of supported encodings."
25652558
msgstr ""
25662559
"*encoding* 是用於解碼或編碼檔案的編碼系統之名稱。它只應該在文字模式下使用。預"
2567-
"設的編碼系統會取決於平台(根據 :func:`locale.getencoding` 回傳的內容),但 "
2568-
"Python 支援的任何 :term:`text encoding`\\ (文字編碼)都是可以使用的。關於支"
2569-
"援的編碼系統清單,請參閱 :mod:`codecs` module。"
2560+
"設的編碼系統是 UTF-8;如果停用了 :ref:`Python UTF-8 模式 <utf8-mode>`,預設的"
2561+
"編碼系統會取決於平台(根據 :func:`locale.getencoding` 回傳的內容)。Python 支"
2562+
"援的任何 :term:`text encoding`\\ (文字編碼)都是可以使用的,而 "
2563+
"``encoding=\"locale\"`` 會明確指定使用目前的本地編碼。關於支援的編碼系統清"
2564+
"單,請參閱 :mod:`codecs` module。"
25702565

25712566
#: ../../builtins/functions.rst:1475
2572-
#, fuzzy
25732567
msgid ""
25742568
"*errors* is an optional string that specifies how encoding and decoding "
25752569
"errors are to be handled—this cannot be used in binary mode. A variety of "
@@ -2578,9 +2572,9 @@ msgid ""
25782572
"standard names can be found in :ref:`error-handlers`."
25792573
msgstr ""
25802574
"*errors* 是一個選擇性的字串,用於指定要如何處理編碼和解碼的錯誤——它不能在二進"
2581-
"制模式下使用。有許多不同的標準錯誤處理程式(error handler,在\\ :ref:`error-"
2582-
"handlers`\\ 有列出清單),不過任何已註冊到 :func:`codecs.register_error` 的錯"
2583-
"誤處理程式名稱也都是有效的。標準的名稱包括:"
2575+
"制模式下使用。有許多不同的標準錯誤處理程式 (error handler),不過任何已註冊"
2576+
"到 :func:`codecs.register_error` 的錯誤處理程式名稱也都是有效的。標準的名稱可"
2577+
"以在\\ :ref:`error-handlers`\\ 中找到。"
25842578

25852579
#: ../../builtins/functions.rst:1487
25862580
msgid ""
@@ -3275,11 +3269,10 @@ msgstr ""
32753269
"MISSING"
32763270

32773271
#: ../../builtins/functions.rst:1877
3278-
#, fuzzy
32793272
msgid ""
32803273
"The optional *repr* argument can be used to specify a different "
32813274
"representation::"
3282-
msgstr "選擇性參數 *source* 可以被用來以不同的方式初始化陣列:"
3275+
msgstr "選擇性引數 *repr* 可以被用來指定不同的表示法: ::"
32833276

32843277
#: ../../builtins/functions.rst:1879
32853278
msgid ""

‎builtins/stdtypes.po‎

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,9 +1573,8 @@ msgstr ""
15731573
"點;請使用 :func:`int` 進行顯式轉換。"
15741574

15751575
#: ../../builtins/stdtypes.rst:899
1576-
#, fuzzy
15771576
msgid "Iteration-related types"
1578-
msgstr "疊代器型別"
1577+
msgstr "與疊代相關的型別"
15791578

15801579
#: ../../builtins/stdtypes.rst:907
15811580
msgid ""
@@ -1589,9 +1588,8 @@ msgstr ""
15891588
"的描述。"
15901589

15911590
#: ../../builtins/stdtypes.rst:913
1592-
#, fuzzy
15931591
msgid "Iterables"
1594-
msgstr "literals(字面值)"
1592+
msgstr "可疊代物件"
15951593

15961594
#: ../../builtins/stdtypes.rst:915
15971595
msgid ""
@@ -1618,9 +1616,8 @@ msgstr ""
16181616
"的 :c:member:`~PyTypeObject.tp_iter` 插槽。"
16191617

16201618
#: ../../builtins/stdtypes.rst:934
1621-
#, fuzzy
16221619
msgid "Iterators"
1623-
msgstr "iterator(疊代器)"
1620+
msgstr "疊代器"
16241621

16251622
#: ../../builtins/stdtypes.rst:936
16261623
msgid ""
@@ -1672,9 +1669,8 @@ msgstr ""
16721669
"它必須在後續呼叫中繼續這樣做。不遵守此屬性的實作被認為是有問題的。"
16731670

16741671
#: ../../builtins/stdtypes.rst:968
1675-
#, fuzzy
16761672
msgid "Generator types"
1677-
msgstr "疊代器型別"
1673+
msgstr "產生器型別"
16781674

16791675
#: ../../builtins/stdtypes.rst:970
16801676
msgid ""
@@ -1773,9 +1769,8 @@ msgstr ""
17731769
"['three of clubs', 'ace of hearts']"
17741770

17751771
#: ../../builtins/stdtypes.rst:1023
1776-
#, fuzzy
17771772
msgid "Generator iterators"
1778-
msgstr "unary operator(一元運算子)"
1773+
msgstr "產生器疊代器"
17791774

17801775
#: ../../builtins/stdtypes.rst:1025
17811776
msgid ""
@@ -8117,9 +8112,8 @@ msgid ""
81178112
msgstr ""
81188113

81198114
#: ../../builtins/stdtypes.rst:5611
8120-
#, fuzzy
81218115
msgid "Mapping types --- :class:`!dict`, :class:`!frozendict`"
8122-
msgstr "數值型別 --- :class:`int`、:class:`float`、:class:`complex`"
8116+
msgstr "對映型別 --- :class:`!dict`、:class:`!frozendict`"
81238117

81248118
#: ../../builtins/stdtypes.rst:5621
81258119
msgid ""
@@ -8698,9 +8692,8 @@ msgstr ""
86988692
"500"
86998693

87008694
#: ../../builtins/stdtypes.rst:6016
8701-
#, fuzzy
87028695
msgid "Frozen dictionaries"
8703-
msgstr "dictionary(字典)"
8696+
msgstr "凍結字典"
87048697

87058698
#: ../../builtins/stdtypes.rst:6022
87068699
msgid ""

‎c-api/arg.po‎

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,14 @@ msgid "``B`` (:class:`int`) [unsigned char]"
461461
msgstr "``B`` (:class:`int`) [unsigned char]"
462462

463463
#: ../../c-api/arg.rst:251
464-
#, fuzzy
465464
msgid ""
466465
"Convert a Python integer to a tiny integer without overflow checking, stored "
467466
"in a C :c:expr:`unsigned char`. Convert a Python integer to a C :c:expr:"
468467
"`unsigned char`."
469468
msgstr ""
470-
"將一個 Python 整數轉換成 tiny integer,轉換過程無溢位檢查,儲存在 C 的 :c:"
471-
"expr:`unsigned char`。"
469+
"將一個 Python 整數轉換成 tiny integer,轉換過程無溢位檢查,儲存在 C "
470+
"的 :c:expr:`unsigned char`。將一個 Python 整數轉換成 C 的 :c:expr:`unsigned "
471+
"char`。"
472472

473473
#: ../../c-api/arg.rst:255 ../../c-api/arg.rst:676
474474
msgid "``h`` (:class:`int`) [short int]"
@@ -483,9 +483,8 @@ msgid "``H`` (:class:`int`) [unsigned short int]"
483483
msgstr "``H`` (:class:`int`) [unsigned short int]"
484484

485485
#: ../../c-api/arg.rst:259
486-
#, fuzzy
487486
msgid "Convert a Python integer to a C :c:expr:`unsigned short int`."
488-
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`short int`。"
487+
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`unsigned short int`。"
489488

490489
#: ../../c-api/arg.rst:261 ../../c-api/arg.rst:670
491490
msgid "``i`` (:class:`int`) [int]"
@@ -500,9 +499,8 @@ msgid "``I`` (:class:`int`) [unsigned int]"
500499
msgstr "``I`` (:class:`int`) [unsigned int]"
501500

502501
#: ../../c-api/arg.rst:265
503-
#, fuzzy
504502
msgid "Convert a Python integer to a C :c:expr:`unsigned int`."
505-
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`long int`。"
503+
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`unsigned int`。"
506504

507505
#: ../../c-api/arg.rst:267 ../../c-api/arg.rst:679
508506
msgid "``l`` (:class:`int`) [long int]"
@@ -517,9 +515,8 @@ msgid "``k`` (:class:`int`) [unsigned long]"
517515
msgstr "``k`` (:class:`int`) [unsigned long]"
518516

519517
#: ../../c-api/arg.rst:271
520-
#, fuzzy
521518
msgid "Convert a Python integer to a C :c:expr:`unsigned long`."
522-
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`long long`。"
519+
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`unsigned long`。"
523520

524521
#: ../../c-api/arg.rst:273 ../../c-api/arg.rst:282
525522
msgid "Use :meth:`~object.__index__` if available."
@@ -538,9 +535,8 @@ msgid "``K`` (:class:`int`) [unsigned long long]"
538535
msgstr "``K`` (:class:`int`) [unsigned long long]"
539536

540537
#: ../../c-api/arg.rst:280
541-
#, fuzzy
542538
msgid "Convert a Python integer to a C :c:expr:`unsigned long long`."
543-
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`long long`。"
539+
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`unsigned long long`。"
544540

545541
#: ../../c-api/arg.rst:285 ../../c-api/arg.rst:702
546542
msgid "``n`` (:class:`int`) [:c:type:`Py_ssize_t`]"

‎c-api/bytes.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,10 +631,9 @@ msgid "*size* can be negative to shrink the writer."
631631
msgstr ""
632632

633633
#: ../../c-api/bytes.rst:443
634-
#, fuzzy
635634
msgid ""
636635
"Similar to :c:func:`PyBytesWriter_Grow`, but update also the *buf* pointer."
637-
msgstr "和 :c:func:`PyBytes_Size` 類似,但不進行錯誤檢查。"
636+
msgstr "和 :c:func:`PyBytesWriter_Grow` 類似,但也會更新 *buf* 指標。"
638637

639638
#: ../../c-api/bytes.rst:446
640639
msgid ""

0 commit comments

Comments
 (0)