Skip to content

Commit b9bb09e

Browse files
sync with cpython 8d1f1571
1 parent cc5e1d9 commit b9bb09e

21 files changed

+148
-125
lines changed

c-api/init_config.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-08-23 00:03+0000\n"
11+
"POT-Creation-Date: 2024-07-23 00:04+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -595,7 +595,7 @@ msgstr ""
595595
msgid ""
596596
"The :c:func:`PyConfig_Read` function only parses :c:member:`PyConfig.argv` "
597597
"arguments once: :c:member:`PyConfig.parse_argv` is set to ``2`` after "
598-
"arguments are parsed. Since Python arguments are strippped from :c:member:"
598+
"arguments are parsed. Since Python arguments are stripped from :c:member:"
599599
"`PyConfig.argv`, parsing arguments twice would parse the application options "
600600
"as Python options."
601601
msgstr ""

howto/logging-cookbook.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-07-23 00:04+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:36+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1949,7 +1949,7 @@ msgid ""
19491949
"which writes to ``sys.stderr`` makes multiple writes, each of which results "
19501950
"in a separate logged line (for example, the last three lines above). To get "
19511951
"around this problem, you need to buffer things and only output log lines "
1952-
"when newlines are seen. Let's use a slghtly better implementation of "
1952+
"when newlines are seen. Let's use a slightly better implementation of "
19531953
"``LoggerWriter``:"
19541954
msgstr ""
19551955

library/ast.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-07-21 00:04+0000\n"
9+
"POT-Creation-Date: 2024-07-23 00:04+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -646,9 +646,10 @@ msgid ""
646646
msgstr "``type_comment`` 是一個可選字串,其中的註解為型別註釋。"
647647

648648
#: ../../library/ast.rst:881
649+
#, fuzzy
649650
msgid ""
650651
"An assignment with a type annotation. ``target`` is a single node and can be "
651-
"a :class:`Name`, a :class:`Attribute` or a :class:`Subscript`. "
652+
"a :class:`Name`, an :class:`Attribute` or a :class:`Subscript`. "
652653
"``annotation`` is the annotation, such as a :class:`Constant` or :class:"
653654
"`Name` node. ``value`` is a single optional node."
654655
msgstr ""
@@ -1165,9 +1166,10 @@ msgid "A ``return`` statement."
11651166
msgstr "一個 ``return`` 陳述式。"
11661167

11671168
#: ../../library/ast.rst:2004
1169+
#, fuzzy
11681170
msgid ""
11691171
"A ``yield`` or ``yield from`` expression. Because these are expressions, "
1170-
"they must be wrapped in a :class:`Expr` node if the value sent back is not "
1172+
"they must be wrapped in an :class:`Expr` node if the value sent back is not "
11711173
"used."
11721174
msgstr ""
11731175
"一個 ``yield`` 或 ``yield from`` 運算式。因為這些是運算式,所以如果不使用發送"

library/asyncio-future.po

Lines changed: 5 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: 2023-07-29 10:36+0000\n"
10+
"POT-Creation-Date: 2024-07-23 00:04+0000\n"
1111
"PO-Revision-Date: 2022-01-25 01:29+0800\n"
1212
"Last-Translator: Matt Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -212,8 +212,9 @@ msgstr ""
212212
"`CancelledError` 例外。"
213213

214214
#: ../../library/asyncio-future.rst:122
215+
#, fuzzy
215216
msgid ""
216-
"If the Future's result isn't yet available, this method raises a :exc:"
217+
"If the Future's result isn't yet available, this method raises an :exc:"
217218
"`InvalidStateError` exception."
218219
msgstr ""
219220
"如果 Future 的結果還不可用,此方法會引發一個 :exc:`InvalidStateError` 例外。"
@@ -223,8 +224,9 @@ msgid "Mark the Future as *done* and set its result."
223224
msgstr "將 Future 標記為 *done* 並設定其結果。"
224225

225226
#: ../../library/asyncio-future.rst:129 ../../library/asyncio-future.rst:136
227+
#, fuzzy
226228
msgid ""
227-
"Raises a :exc:`InvalidStateError` error if the Future is already *done*."
229+
"Raises an :exc:`InvalidStateError` error if the Future is already *done*."
228230
msgstr "如果 Future 已經 *done* 則引發一個 :exc:`InvalidStateError` 錯誤。"
229231

230232
#: ../../library/asyncio-future.rst:134

library/asyncio-task.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-05-09 00:03+0000\n"
9+
"POT-Creation-Date: 2024-07-23 00:04+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:39+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1051,7 +1051,7 @@ msgstr ""
10511051

10521052
#: ../../library/asyncio-task.rst:1106
10531053
msgid ""
1054-
"If the Task's result isn't yet available, this method raises a :exc:"
1054+
"If the Task's result isn't yet available, this method raises an :exc:"
10551055
"`InvalidStateError` exception."
10561056
msgstr ""
10571057

library/asyncio.po

Lines changed: 23 additions & 9 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-07-23 00:04+0000\n"
1313
"PO-Revision-Date: 2021-11-23 12:40+0800\n"
1414
"Last-Translator: Matt Wang <[email protected]>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -21,15 +21,15 @@ msgstr ""
2121
"Plural-Forms: nplurals=1; plural=0;\n"
2222
"X-Generator: Poedit 3.0\n"
2323

24-
#: ../../library/asyncio.rst:80
24+
#: ../../library/asyncio.rst:87
2525
msgid "High-level APIs"
2626
msgstr "高階 API"
2727

28-
#: ../../library/asyncio.rst:92
28+
#: ../../library/asyncio.rst:99
2929
msgid "Low-level APIs"
3030
msgstr "低階 API"
3131

32-
#: ../../library/asyncio.rst:103
32+
#: ../../library/asyncio.rst:110
3333
msgid "Guides and Tutorials"
3434
msgstr "指南與教學"
3535

@@ -127,10 +127,6 @@ msgstr ""
127127
"透過 async/await 語法來\\ :ref:`橋接 <asyncio-futures>`\\ 基於回呼 (callback-"
128128
"based) 的函式庫與程式碼。"
129129

130-
#: ../../library/asyncio.rst:61
131-
msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:"
132-
msgstr "你能在 REPL 中對一個 ``asyncio`` 的並行情境 (context) 進行實驗:"
133-
134130
#: ../../includes/wasm-notavail.rst:3
135131
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
136132
msgstr ":ref:`適用 <availability>`:非 Emscripten、非 WASI。"
@@ -144,10 +140,28 @@ msgstr ""
144140
"此模組在 WebAssembly 平台 ``wasm32-emscripten`` 和 ``wasm32-wasi`` 上不起作用"
145141
"或無法使用。有關更多資訊,請參閱 :ref:`wasm-availability`。"
146142

143+
#: ../../library/asyncio.rst:64
144+
msgid "asyncio REPL"
145+
msgstr ""
146+
147+
#: ../../library/asyncio.rst:65
148+
msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:"
149+
msgstr "你能在 REPL 中對一個 ``asyncio`` 的並行情境 (context) 進行實驗:"
150+
151+
#: ../../library/asyncio.rst:88
152+
msgid ""
153+
"Raises an :ref:`auditing event <auditing>` ``cpython.run_stdin`` with no "
154+
"arguments."
155+
msgstr ""
156+
147157
#: ../../library/asyncio.rst:79
158+
msgid "(also 3.11.10, 3.10.15, 3.9.20, and 3.8.20) Emits audit events."
159+
msgstr ""
160+
161+
#: ../../library/asyncio.rst:86
148162
msgid "Reference"
149163
msgstr "參閱"
150164

151-
#: ../../library/asyncio.rst:112
165+
#: ../../library/asyncio.rst:119
152166
msgid "The source code for asyncio can be found in :source:`Lib/asyncio/`."
153167
msgstr "asyncio 的原始碼可以在 :source:`Lib/asyncio/` 中找到。"

library/contextlib.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-06-06 00:03+0000\n"
10+
"POT-Creation-Date: 2024-07-23 00:04+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:41+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -270,7 +270,7 @@ msgstr ""
270270

271271
#: ../../library/contextlib.rst:323
272272
msgid ""
273-
"``suppress`` now supports suppressing exceptions raised as part of an :exc:"
273+
"``suppress`` now supports suppressing exceptions raised as part of a :exc:"
274274
"`BaseExceptionGroup`."
275275
msgstr ""
276276

library/ctypes.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-07-23 00:04+0000\n"
1111
"PO-Revision-Date: 2023-04-26 02:59+0800\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -120,7 +120,7 @@ msgstr ""
120120
msgid ""
121121
"Note that win32 system dlls like ``kernel32`` and ``user32`` often export "
122122
"ANSI as well as UNICODE versions of a function. The UNICODE version is "
123-
"exported with an ``W`` appended to the name, while the ANSI version is "
123+
"exported with a ``W`` appended to the name, while the ANSI version is "
124124
"exported with an ``A`` appended to the name. The win32 ``GetModuleHandle`` "
125125
"function, which returns a *module handle* for a given module name, has the "
126126
"following C prototype, and a macro is used to expose one of them as "

library/fractions.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-07-20 00:03+0000\n"
10+
"POT-Creation-Date: 2024-07-23 00:04+0000\n"
1111
"PO-Revision-Date: 2016-01-31 07:18+0000\n"
1212
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -84,7 +84,7 @@ msgstr ""
8484
#: ../../library/fractions.rst:88
8585
msgid ""
8686
"The :func:`math.gcd` function is now used to normalize the *numerator* and "
87-
"*denominator*. :func:`math.gcd` always return a :class:`int` type. "
87+
"*denominator*. :func:`math.gcd` always returns an :class:`int` type. "
8888
"Previously, the GCD type depended on *numerator* and *denominator*."
8989
msgstr ""
9090

library/http.server.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-05-09 00:03+0000\n"
9+
"POT-Creation-Date: 2024-07-23 00:04+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:03+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -461,7 +461,7 @@ msgstr ""
461461
msgid ""
462462
"If the request was mapped to a file, it is opened. Any :exc:`OSError` "
463463
"exception in opening the requested file is mapped to a ``404``, ``'File not "
464-
"found'`` error. If there was a ``'If-Modified-Since'`` header in the "
464+
"found'`` error. If there was an ``'If-Modified-Since'`` header in the "
465465
"request, and the file was not modified after this time, a ``304``, ``'Not "
466466
"Modified'`` response is sent. Otherwise, the content type is guessed by "
467467
"calling the :meth:`guess_type` method, which in turn uses the "

0 commit comments

Comments
 (0)