Skip to content

Commit 9e9c33e

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 7f86c769
1 parent 1d3818d commit 9e9c33e

File tree

17 files changed

+51
-46
lines changed

17 files changed

+51
-46
lines changed

c-api/weakref.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-07-29 00:03+0000\n"
11+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1212
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
1313
"Last-Translator: Leon H.\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -54,7 +54,7 @@ msgid ""
5454
"a callable object that receives notification when *ob* is garbage collected; "
5555
"it should accept a single parameter, which will be the weak reference object "
5656
"itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a "
57-
"weakly referencable object, or if *callback* is not callable, ``None``, or "
57+
"weakly referenceable object, or if *callback* is not callable, ``None``, or "
5858
"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
5959
msgstr ""
6060

@@ -66,7 +66,7 @@ msgid ""
6666
"can be a callable object that receives notification when *ob* is garbage "
6767
"collected; it should accept a single parameter, which will be the weak "
6868
"reference object itself. *callback* may also be ``None`` or ``NULL``. If "
69-
"*ob* is not a weakly referencable object, or if *callback* is not callable, "
69+
"*ob* is not a weakly referenceable object, or if *callback* is not callable, "
7070
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
7171
msgstr ""
7272

extending/extending.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-02-12 00:03+0000\n"
11+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:34+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -759,7 +759,7 @@ msgid ""
759759
"memory it occupies cannot be reused until the program terminates. This is "
760760
"called a :dfn:`memory leak`. On the other hand, if a program calls :c:func:"
761761
"`free` for a block and then continues to use the block, it creates a "
762-
"conflict with re-use of the block through another :c:func:`malloc` call. "
762+
"conflict with reuse of the block through another :c:func:`malloc` call. "
763763
"This is called :dfn:`using freed memory`. It has the same bad consequences "
764764
"as referencing uninitialized data --- core dumps, wrong results, mysterious "
765765
"crashes."

extending/newtypes.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
11+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:34+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -530,7 +530,7 @@ msgstr ""
530530

531531
#: ../../extending/newtypes.rst:548
532532
msgid ""
533-
"For an object to be weakly referencable, the extension type must set the "
533+
"For an object to be weakly referenceable, the extension type must set the "
534534
"``Py_TPFLAGS_MANAGED_WEAKREF`` bit of the :c:member:`~PyTypeObject.tp_flags` "
535535
"field. The legacy :c:member:`~PyTypeObject.tp_weaklistoffset` field should "
536536
"be left as zero."

howto/mro.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-04-15 12:57+0000\n"
11+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -436,7 +436,7 @@ msgstr ""
436436
#: ../../howto/mro.rst:428
437437
msgid ""
438438
"As a general rule, hierarchies such as the previous one should be avoided, "
439-
"since it is unclear if F should override E or viceversa. Python 2.3 solves "
439+
"since it is unclear if F should override E or vice-versa. Python 2.3 solves "
440440
"the ambiguity by raising an exception in the creation of class G, "
441441
"effectively stopping the programmer from generating ambiguous hierarchies. "
442442
"The reason for that is that the C3 algorithm fails when the merge::"

library/curses.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:42+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1071,7 +1071,7 @@ msgid "Clear the window."
10711071
msgstr ""
10721072

10731073
#: ../../library/curses.rst:925
1074-
msgid "Return a tuple ``(y, x)`` of co-ordinates of upper-left corner."
1074+
msgid "Return a tuple ``(y, x)`` of coordinates of upper-left corner."
10751075
msgstr ""
10761076

10771077
#: ../../library/curses.rst:930

library/numbers.po

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.12\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
12+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1313
"PO-Revision-Date: 2022-11-16 04:57+0800\n"
1414
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -138,12 +138,14 @@ msgstr ""
138138
"operations) 的抽象方法:``<<``、``>>``、``&``、``^``、``|``、``~``。"
139139

140140
#: ../../library/numbers.rst:88
141-
msgid "Notes for type implementors"
141+
#, fuzzy
142+
msgid "Notes for type implementers"
142143
msgstr "給型別實作者的註記"
143144

144145
#: ../../library/numbers.rst:90
146+
#, fuzzy
145147
msgid ""
146-
"Implementors should be careful to make equal numbers equal and hash them to "
148+
"Implementers should be careful to make equal numbers equal and hash them to "
147149
"the same values. This may be subtle if there are two different extensions of "
148150
"the real numbers. For example, :class:`fractions.Fraction` implements :func:"
149151
"`hash` as follows::"

library/optparse.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:07+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2134,7 +2134,7 @@ msgstr ""
21342134

21352135
#: ../../library/optparse.rst:1741
21362136
msgid ""
2137-
"If you want to re-use this callback for several similar options (set a flag, "
2137+
"If you want to reuse this callback for several similar options (set a flag, "
21382138
"but blow up if ``-b`` has already been seen), it needs a bit of work: the "
21392139
"error message and the flag that it sets must be generalized. ::"
21402140
msgstr ""

library/ssl.po

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
9+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1010
"PO-Revision-Date: 2024-05-01 14:51+0800\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -995,17 +995,19 @@ msgstr ""
995995
"SSLv2 伺服器的 sockets。"
996996

997997
#: ../../library/ssl.rst:762
998+
#, fuzzy
998999
msgid ""
999-
"Prevents re-use of the same DH key for distinct SSL sessions. This improves "
1000+
"Prevents reuse of the same DH key for distinct SSL sessions. This improves "
10001001
"forward secrecy but requires more computational resources. This option only "
10011002
"applies to server sockets."
10021003
msgstr ""
10031004
"防止對不同的 SSL 會談重複使用相同的 DH 密鑰。這會加強向前保密但需要更多的運算"
10041005
"資源。此選項只適用於伺服器 sockets。"
10051006

10061007
#: ../../library/ssl.rst:770
1008+
#, fuzzy
10071009
msgid ""
1008-
"Prevents re-use of the same ECDH key for distinct SSL sessions. This "
1010+
"Prevents reuse of the same ECDH key for distinct SSL sessions. This "
10091011
"improves forward secrecy but requires more computational resources. This "
10101012
"option only applies to server sockets."
10111013
msgstr ""

library/textwrap.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1111
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -167,7 +167,7 @@ msgstr ""
167167

168168
#: ../../library/textwrap.rst:157
169169
msgid ""
170-
"You can re-use the same :class:`TextWrapper` object many times, and you can "
170+
"You can reuse the same :class:`TextWrapper` object many times, and you can "
171171
"change any of its options through direct assignment to instance attributes "
172172
"between uses."
173173
msgstr ""

library/turtle.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
11+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1212
"PO-Revision-Date: 2018-05-23 16:13+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -152,7 +152,7 @@ msgstr ""
152152
#: ../../library/turtle.rst:113
153153
msgid ""
154154
"The home position is at the center of the turtle's screen. If you ever need "
155-
"to know them, get the turtle's x-y co-ordinates with::"
155+
"to know them, get the turtle's x-y coordinates with::"
156156
msgstr ""
157157

158158
#: ../../library/turtle.rst:118

tutorial/venv.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-19 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1111
"PO-Revision-Date: 2022-10-16 05:35+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -80,11 +80,12 @@ msgid "Creating Virtual Environments"
8080
msgstr "建立虛擬環境"
8181

8282
#: ../../tutorial/venv.rst:38
83+
#, fuzzy
8384
msgid ""
8485
"The module used to create and manage virtual environments is called :mod:"
8586
"`venv`. :mod:`venv` will install the Python version from which the command "
8687
"was run (as reported by the :option:`--version` option). For instance, "
87-
"excuting the command with ``python3.12`` will install version 3.12."
88+
"executing the command with ``python3.12`` will install version 3.12."
8889
msgstr ""
8990
"用來建立與管理虛擬環境的模組叫做 :mod:`venv`。:mod:`venv` 將安裝執行命令的 "
9091
"Python 版本(如 :option:`--version` 選項所報告的)。例如使用 ``python3.12`` "

whatsnew/2.2.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
9+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:19+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1244,7 +1244,7 @@ msgstr ""
12441244

12451245
#: ../../whatsnew/2.2.rst:1065
12461246
msgid ""
1247-
"Another low-level API, primarily of interest to implementors of Python "
1247+
"Another low-level API, primarily of interest to implementers of Python "
12481248
"debuggers and development tools, was added. :c:func:"
12491249
"`PyInterpreterState_Head` and :c:func:`PyInterpreterState_Next` let a caller "
12501250
"walk through all the existing interpreter objects; :c:func:"

whatsnew/2.7.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
9+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:20+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1949,7 +1949,7 @@ msgstr ""
19491949
msgid ""
19501950
"Python 3.1 includes the :mod:`importlib` package, a re-implementation of the "
19511951
"logic underlying Python's :keyword:`import` statement. :mod:`importlib` is "
1952-
"useful for implementors of Python interpreters and to users who wish to "
1952+
"useful for implementers of Python interpreters and to users who wish to "
19531953
"write new importers that can participate in the import process. Python 2.7 "
19541954
"doesn't contain the complete :mod:`importlib` package, but instead has a "
19551955
"tiny subset that contains a single function, :func:`~importlib."
@@ -2385,14 +2385,14 @@ msgid ""
23852385
"ElementTree's code for converting trees to a string has been significantly "
23862386
"reworked, making it roughly twice as fast in many cases. The :meth:"
23872387
"`ElementTree.write() <xml.etree.ElementTree.ElementTree.write>` and :meth:"
2388-
"`Element.write` methods now have a *method* parameter that can be \"xml\" "
2389-
"(the default), \"html\", or \"text\". HTML mode will output empty elements "
2390-
"as ``<empty></empty>`` instead of ``<empty/>``, and text mode will skip over "
2391-
"elements and only output the text chunks. If you set the :attr:`~xml.etree."
2392-
"ElementTree.Element.tag` attribute of an element to ``None`` but leave its "
2393-
"children in place, the element will be omitted when the tree is written out, "
2394-
"so you don't need to do more extensive rearrangement to remove a single "
2395-
"element."
2388+
"`Element.write` methods now have a *method* parameter that can be "
2389+
"\"xml\" (the default), \"html\", or \"text\". HTML mode will output empty "
2390+
"elements as ``<empty></empty>`` instead of ``<empty/>``, and text mode will "
2391+
"skip over elements and only output the text chunks. If you set the :attr:"
2392+
"`~xml.etree.ElementTree.Element.tag` attribute of an element to ``None`` but "
2393+
"leave its children in place, the element will be omitted when the tree is "
2394+
"written out, so you don't need to do more extensive rearrangement to remove "
2395+
"a single element."
23962396
msgstr ""
23972397

23982398
#: ../../whatsnew/2.7.rst:2044

whatsnew/3.12.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-23 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1731,7 +1731,7 @@ msgid ""
17311731
"`DeprecationWarning` when it can detect being called from a multithreaded "
17321732
"process. There has always been a fundamental incompatibility with the POSIX "
17331733
"platform when doing so. Even if such code *appeared* to work. We added the "
1734-
"warning to to raise awareness as issues encounted by code doing this are "
1734+
"warning to raise awareness as issues encountered by code doing this are "
17351735
"becoming more frequent. See the :func:`os.fork` documentation for more "
17361736
"details along with `this discussion on fork being incompatible with threads "
17371737
"<https://discuss.python.org/t/33555>`_ for *why* we're now surfacing this "

whatsnew/3.4.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
10+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:20+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3353,7 +3353,7 @@ msgstr ""
33533353
#: ../../whatsnew/3.4.rst:2415
33543354
msgid ""
33553355
"Because :mod:`unittest.TestSuite` now drops references to tests after they "
3356-
"are run, test harnesses that re-use a :class:`~unittest.TestSuite` to re-run "
3356+
"are run, test harnesses that reuse a :class:`~unittest.TestSuite` to re-run "
33573357
"a set of tests may fail. Test suites should not be re-used in this fashion "
33583358
"since it means state is retained between test runs, breaking the test "
33593359
"isolation that :mod:`unittest` is designed to provide. However, if the lack "

whatsnew/3.6.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.12\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
8+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
99
"PO-Revision-Date: 2018-07-15 18:56+0800\n"
1010
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1111
"tw)\n"
@@ -3065,9 +3065,9 @@ msgid ""
30653065
"may start expecting import system replacements to raise that more specific "
30663066
"exception when appropriate, rather than the less-specific :exc:"
30673067
"`ImportError`. To provide future compatibility with such consumers, "
3068-
"implementors of alternative import systems that completely replace :func:"
3068+
"implementers of alternative import systems that completely replace :func:"
30693069
"`__import__` will need to update their implementations to raise the new "
3070-
"subclass when a module can't be found at all. Implementors of compliant "
3070+
"subclass when a module can't be found at all. Implementers of compliant "
30713071
"plugins to the default import system shouldn't need to make any changes, as "
30723072
"the default import system will raise the new subclass when appropriate."
30733073
msgstr ""

whatsnew/3.9.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-04-29 00:04+0000\n"
10+
"POT-Creation-Date: 2024-05-27 00:03+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1270,7 +1270,7 @@ msgstr ""
12701270
#: ../../whatsnew/3.9.rst:892
12711271
msgid ""
12721272
"Deprecated the ``split()`` method of :class:`!_tkinter.TkappType` in favour "
1273-
"of the ``splitlist()`` method which has more consistent and predicable "
1273+
"of the ``splitlist()`` method which has more consistent and predictable "
12741274
"behavior. (Contributed by Serhiy Storchaka in :issue:`38371`.)"
12751275
msgstr ""
12761276

0 commit comments

Comments
 (0)