Skip to content

Commit 8fe3e97

Browse files
sync with cpython d5abd02f
1 parent 0d32110 commit 8fe3e97

Some content is hidden

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

42 files changed

+168
-155
lines changed

c-api/exceptions.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-08-30 18:24+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:05+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -60,7 +60,7 @@ msgstr ""
6060

6161
#: ../../c-api/exceptions.rst:37
6262
msgid ""
63-
"The error indicator is **not** the result of :func:`sys.exc_info()`. The "
63+
"The error indicator is **not** the result of :func:`sys.exc_info`. The "
6464
"former corresponds to an exception that is not yet caught (and is therefore "
6565
"still propagating), while the latter returns an exception after it is caught "
6666
"(and has therefore stopped propagating)."

c-api/import.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-03-07 17:26+0000\n"
11+
"POT-Creation-Date: 2024-08-30 18:24+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -206,7 +206,7 @@ msgstr ""
206206

207207
#: ../../c-api/import.rst:176
208208
msgid ""
209-
"Uses :func:`!imp.source_from_cache()` in calculating the source path if only "
209+
"Uses :func:`!imp.source_from_cache` in calculating the source path if only "
210210
"the bytecode path is provided."
211211
msgstr ""
212212

deprecations/index.po

Lines changed: 7 additions & 5 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-08-26 00:03+0000\n"
10+
"POT-Creation-Date: 2024-08-30 18:24+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"
@@ -185,8 +185,9 @@ msgid "``read_text()``"
185185
msgstr "``read_text()``"
186186

187187
#: ../../deprecations/pending-removal-in-3.13.rst:51
188+
#, fuzzy
188189
msgid ""
189-
"Use :func:`importlib.resources.files()` instead. Refer to `importlib-"
190+
"Use :func:`importlib.resources.files` instead. Refer to `importlib-"
190191
"resources: Migrating from Legacy <https://importlib-resources.readthedocs.io/"
191192
"en/latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)"
192193
msgstr ""
@@ -474,12 +475,13 @@ msgstr ""
474475
"代方案。*任何東西*\\ 都比 CGI 更好的來介接一個帶有請求處理器的網頁伺服器。"
475476

476477
#: ../../deprecations/pending-removal-in-3.15.rst:9
478+
#, fuzzy
477479
msgid ""
478480
":class:`locale`: :func:`locale.getdefaultlocale` was deprecated in Python "
479481
"3.11 and originally planned for removal in Python 3.13 (:gh:`90817`), but "
480-
"removal has been postponed to Python 3.15. Use :func:`locale.setlocale()`, :"
481-
"func:`locale.getencoding()` and :func:`locale.getlocale()` instead. "
482-
"(Contributed by Hugo van Kemenade in :gh:`111187`.)"
482+
"removal has been postponed to Python 3.15. Use :func:`locale.setlocale`, :"
483+
"func:`locale.getencoding` and :func:`locale.getlocale` instead. (Contributed "
484+
"by Hugo van Kemenade in :gh:`111187`.)"
483485
msgstr ""
484486
":class:`locale`::func:`locale.getdefaultlocale` 已在 Python 3.11 中被棄用,"
485487
"原本計劃在 Python 3.13 中移除 (:gh:`90817`),但被延後至 Python 3.15。請改用 :"

deprecations/pending-removal-in-3.13.po

Lines changed: 3 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-07-25 00:04+0000\n"
9+
"POT-Creation-Date: 2024-08-30 18:24+0000\n"
1010
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1111
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1212
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -180,8 +180,9 @@ msgid "``read_text()``"
180180
msgstr "``read_text()``"
181181

182182
#: ../../deprecations/pending-removal-in-3.13.rst:51
183+
#, fuzzy
183184
msgid ""
184-
"Use :func:`importlib.resources.files()` instead. Refer to `importlib-"
185+
"Use :func:`importlib.resources.files` instead. Refer to `importlib-"
185186
"resources: Migrating from Legacy <https://importlib-resources.readthedocs.io/"
186187
"en/latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)"
187188
msgstr ""

deprecations/pending-removal-in-3.15.po

Lines changed: 5 additions & 4 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-08-17 00:03+0000\n"
10+
"POT-Creation-Date: 2024-08-30 18:24+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"
@@ -32,12 +32,13 @@ msgstr ""
3232
"代方案。*任何東西*\\ 都比 CGI 更好的來介接一個帶有請求處理器的網頁伺服器。"
3333

3434
#: ../../deprecations/pending-removal-in-3.15.rst:9
35+
#, fuzzy
3536
msgid ""
3637
":class:`locale`: :func:`locale.getdefaultlocale` was deprecated in Python "
3738
"3.11 and originally planned for removal in Python 3.13 (:gh:`90817`), but "
38-
"removal has been postponed to Python 3.15. Use :func:`locale.setlocale()`, :"
39-
"func:`locale.getencoding()` and :func:`locale.getlocale()` instead. "
40-
"(Contributed by Hugo van Kemenade in :gh:`111187`.)"
39+
"removal has been postponed to Python 3.15. Use :func:`locale.setlocale`, :"
40+
"func:`locale.getencoding` and :func:`locale.getlocale` instead. (Contributed "
41+
"by Hugo van Kemenade in :gh:`111187`.)"
4142
msgstr ""
4243
":class:`locale`::func:`locale.getdefaultlocale` 已在 Python 3.11 中被棄用,"
4344
"原本計劃在 Python 3.13 中移除 (:gh:`90817`),但被延後至 Python 3.15。請改用 :"

howto/descriptor.po

Lines changed: 4 additions & 4 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-06-13 00:03+0000\n"
10+
"POT-Creation-Date: 2024-08-30 18:24+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:36+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -410,9 +410,9 @@ msgstr ""
410410
msgid ""
411411
"Descriptors are a powerful, general purpose protocol. They are the "
412412
"mechanism behind properties, methods, static methods, class methods, and :"
413-
"func:`super()`. They are used throughout Python itself. Descriptors "
414-
"simplify the underlying C code and offer a flexible set of new tools for "
415-
"everyday Python programs."
413+
"func:`super`. They are used throughout Python itself. Descriptors simplify "
414+
"the underlying C code and offer a flexible set of new tools for everyday "
415+
"Python programs."
416416
msgstr ""
417417

418418
#: ../../howto/descriptor.rst:522

howto/enum.po

Lines changed: 4 additions & 4 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-06-20 00:03+0000\n"
11+
"POT-Creation-Date: 2024-08-30 18:24+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"
@@ -24,8 +24,8 @@ msgstr ""
2424
#: ../../howto/enum.rst:9
2525
msgid ""
2626
"An :class:`Enum` is a set of symbolic names bound to unique values. They "
27-
"are similar to global variables, but they offer a more useful :func:"
28-
"`repr()`, grouping, type-safety, and a few other features."
27+
"are similar to global variables, but they offer a more useful :func:`repr`, "
28+
"grouping, type-safety, and a few other features."
2929
msgstr ""
3030

3131
#: ../../howto/enum.rst:13
@@ -148,7 +148,7 @@ msgstr ""
148148
#: ../../howto/enum.rst:167
149149
msgid ""
150150
"In cases where the actual values of the members do not matter, you can save "
151-
"yourself some work and use :func:`auto()` for the values::"
151+
"yourself some work and use :func:`auto` for the values::"
152152
msgstr ""
153153

154154
#: ../../howto/enum.rst:186

howto/instrumentation.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: 2023-10-12 00:03+0000\n"
10+
"POT-Creation-Date: 2024-08-30 18:24+0000\n"
1111
"PO-Revision-Date: 2023-08-17 22:17+0800\n"
1212
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -289,9 +289,10 @@ msgid "The arguments are the same as for :c:func:`!function__entry`."
289289
msgstr "引數與 :c:func:`!function__entry` 相同。"
290290

291291
#: ../../howto/instrumentation.rst:309
292+
#, fuzzy
292293
msgid ""
293294
"Fires when the Python interpreter starts a garbage collection cycle. "
294-
"``arg0`` is the generation to scan, like :func:`gc.collect()`."
295+
"``arg0`` is the generation to scan, like :func:`gc.collect`."
295296
msgstr ""
296297
"當 Python 直譯器開始垃圾回收 (garbage collection) 週期時觸發。``arg0`` 是要掃"
297298
"描的一代 (generation),如 :func:`gc.collect()`。"

library/ast.po

Lines changed: 3 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-07-28 00:03+0000\n"
9+
"POT-Creation-Date: 2024-08-30 18:24+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1271,11 +1271,12 @@ msgstr ""
12711271
"PyCF_ONLY_AST)``。"
12721272

12731273
#: ../../library/ast.rst:2171
1274+
#, fuzzy
12741275
msgid ""
12751276
"If ``type_comments=True`` is given, the parser is modified to check and "
12761277
"return type comments as specified by :pep:`484` and :pep:`526`. This is "
12771278
"equivalent to adding :data:`ast.PyCF_TYPE_COMMENTS` to the flags passed to :"
1278-
"func:`compile()`. This will report syntax errors for misplaced type "
1279+
"func:`compile`. This will report syntax errors for misplaced type "
12791280
"comments. Without this flag, type comments will be ignored, and the "
12801281
"``type_comment`` field on selected AST nodes will always be ``None``. In "
12811282
"addition, the locations of ``# type: ignore`` comments will be returned as "

library/asyncio-runner.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: 2023-07-17 17:39+0800\n"
11+
"POT-Creation-Date: 2024-08-30 18:24+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"
@@ -133,7 +133,7 @@ msgstr ""
133133

134134
#: ../../library/asyncio-runner.rst:92
135135
msgid ""
136-
"Basically, :func:`asyncio.run()` example can be rewritten with the runner "
136+
"Basically, :func:`asyncio.run` example can be rewritten with the runner "
137137
"usage::"
138138
msgstr ""
139139

library/compileall.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-08-30 18:24+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:41+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -128,7 +128,7 @@ msgstr ""
128128
#: ../../library/compileall.rst:92
129129
msgid ""
130130
"Use *N* workers to compile the files within the given directory. If ``0`` is "
131-
"used, then the result of :func:`os.cpu_count()` will be used."
131+
"used, then the result of :func:`os.cpu_count` will be used."
132132
msgstr ""
133133

134134
#: ../../library/compileall.rst:98

library/contextvars.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-05-09 00:03+0000\n"
8+
"POT-Creation-Date: 2024-08-30 18:24+0000\n"
99
"PO-Revision-Date: 2018-07-15 18:56+0800\n"
1010
"Last-Translator: \n"
1111
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -31,7 +31,7 @@ msgstr ""
3131
#: ../../library/contextvars.rst:17
3232
msgid ""
3333
"Context managers that have state should use Context Variables instead of :"
34-
"func:`threading.local()` to prevent their state from bleeding to other code "
34+
"func:`threading.local` to prevent their state from bleeding to other code "
3535
"unexpectedly, when used in concurrent code."
3636
msgstr ""
3737

@@ -181,7 +181,7 @@ msgstr ""
181181
msgid ""
182182
"Every thread will have a different top-level :class:`~contextvars.Context` "
183183
"object. This means that a :class:`ContextVar` object behaves in a similar "
184-
"fashion to :func:`threading.local()` when values are assigned in different "
184+
"fashion to :func:`threading.local` when values are assigned in different "
185185
"threads."
186186
msgstr ""
187187

library/functions.po

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.12\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2024-08-04 00:03+0000\n"
13+
"POT-Creation-Date: 2024-08-30 18:24+0000\n"
1414
"PO-Revision-Date: 2024-05-06 17:06+0800\n"
1515
"Last-Translator: KNChiu <y9760210@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -512,10 +512,11 @@ msgid "The parameter is now positional-only."
512512
msgstr "現在為僅限位置參數。"
513513

514514
#: ../../library/functions.rst:161
515+
#, fuzzy
515516
msgid ""
516517
"This function drops you into the debugger at the call site. Specifically, "
517518
"it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight "
518-
"through. By default, ``sys.breakpointhook()`` calls :func:`pdb.set_trace()` "
519+
"through. By default, ``sys.breakpointhook()`` calls :func:`pdb.set_trace` "
519520
"expecting no arguments. In this case, it is purely a convenience function "
520521
"so you don't have to explicitly import :mod:`pdb` or type as much code to "
521522
"enter the debugger. However, :func:`sys.breakpointhook` can be set to some "
@@ -2036,6 +2037,7 @@ msgstr ""
20362037
"閉,除非 *closefd* 被設為 ``False``。)"
20372038

20382039
#: ../../library/functions.rst:1263
2040+
#, fuzzy
20392041
msgid ""
20402042
"*mode* is an optional string that specifies the mode in which the file is "
20412043
"opened. It defaults to ``'r'`` which means open for reading in text mode. "
@@ -2044,7 +2046,7 @@ msgid ""
20442046
"(which on *some* Unix systems, means that *all* writes append to the end of "
20452047
"the file regardless of the current seek position). In text mode, if "
20462048
"*encoding* is not specified the encoding used is platform-dependent: :func:"
2047-
"`locale.getencoding()` is called to get the current locale encoding. (For "
2049+
"`locale.getencoding` is called to get the current locale encoding. (For "
20482050
"reading and writing raw bytes use binary mode and leave *encoding* "
20492051
"unspecified.) The available modes are:"
20502052
msgstr ""

library/functools.po

Lines changed: 3 additions & 3 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-14 00:03+0000\n"
10+
"POT-Creation-Date: 2024-08-30 18:24+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:02+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -49,8 +49,8 @@ msgstr ""
4949
msgid ""
5050
"Returns the same as ``lru_cache(maxsize=None)``, creating a thin wrapper "
5151
"around a dictionary lookup for the function arguments. Because it never "
52-
"needs to evict old values, this is smaller and faster than :func:"
53-
"`lru_cache()` with a size limit."
52+
"needs to evict old values, this is smaller and faster than :func:`lru_cache` "
53+
"with a size limit."
5454
msgstr ""
5555

5656
#: ../../library/functools.rst:39 ../../library/functools.rst:291

library/getpass.po

Lines changed: 3 additions & 3 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-08-30 18:24+0000\n"
1111
"PO-Revision-Date: 2022-02-11 12:04+0800\n"
1212
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -98,6 +98,6 @@ msgstr ""
9898
"將引發一個例外。"
9999

100100
#: ../../library/getpass.rst:52
101-
msgid ""
102-
"In general, this function should be preferred over :func:`os.getlogin()`."
101+
#, fuzzy
102+
msgid "In general, this function should be preferred over :func:`os.getlogin`."
103103
msgstr "大部分情況下,此函式應該要比 :func:`os.getlogin()` 優先使用。"

0 commit comments

Comments
 (0)