Skip to content

Commit 0afba5c

Browse files
[po] auto sync
1 parent 38e0a01 commit 0afba5c

24 files changed

+1940
-1643
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.24%", "updated_at": "2024-07-26T02:06:07Z"}
1+
{"translation": "94.86%", "updated_at": "2024-07-26T15:47:08Z"}

c-api/init_config.po

Lines changed: 423 additions & 503 deletions
Large diffs are not rendered by default.

howto/logging-cookbook.po

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-11 19:07+0000\n"
14+
"POT-Creation-Date: 2024-07-26 14:49+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -2289,12 +2289,9 @@ msgid ""
22892289
"which writes to ``sys.stderr`` makes multiple writes, each of which results "
22902290
"in a separate logged line (for example, the last three lines above). To get "
22912291
"around this problem, you need to buffer things and only output log lines "
2292-
"when newlines are seen. Let's use a slghtly better implementation of "
2292+
"when newlines are seen. Let's use a slightly better implementation of "
22932293
"``LoggerWriter``:"
22942294
msgstr ""
2295-
"如你所见,这个输出并不很理想。 那是因为下层的写入 ``sys.stderr`` "
2296-
"的代码会执行多次写入,每次写入都将产生一条单独的日志记录行(例如,上面的最后三行)。 "
2297-
"要避免这个问题,你需要使用缓冲并且只在看到换行符时才输出日志记录行。 让我们使用一个更好些的 ``LoggerWriter`` 实现:"
22982295

22992296
#: ../../howto/logging-cookbook.rst:4046
23002297
msgid ""

library/ast.po

Lines changed: 192 additions & 197 deletions
Large diffs are not rendered by default.

library/asyncio-future.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-11 19:07+0000\n"
14+
"POT-Creation-Date: 2024-07-26 14:49+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -200,18 +200,18 @@ msgstr "如果 Future 已 *取消*,方法会引发一个 :exc:`CancelledError`
200200

201201
#: ../../library/asyncio-future.rst:122
202202
msgid ""
203-
"If the Future's result isn't yet available, this method raises a "
203+
"If the Future's result isn't yet available, this method raises an "
204204
":exc:`InvalidStateError` exception."
205-
msgstr "如果 Future 的结果还不可用,此方法会引发一个 :exc:`InvalidStateError` 异常。"
205+
msgstr ""
206206

207207
#: ../../library/asyncio-future.rst:127
208208
msgid "Mark the Future as *done* and set its result."
209209
msgstr "将 Future 标记为 *完成* 并设置结果。"
210210

211211
#: ../../library/asyncio-future.rst:129 ../../library/asyncio-future.rst:136
212212
msgid ""
213-
"Raises a :exc:`InvalidStateError` error if the Future is already *done*."
214-
msgstr "如果 Future 已经 *完成* 则抛出一个 :exc:`InvalidStateError` 错误。"
213+
"Raises an :exc:`InvalidStateError` error if the Future is already *done*."
214+
msgstr ""
215215

216216
#: ../../library/asyncio-future.rst:134
217217
msgid "Mark the Future as *done* and set an exception."

library/asyncio-task.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
14+
"POT-Creation-Date: 2024-07-26 14:49+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1171,9 +1171,9 @@ msgstr "如果 Task 对象 *被取消*,此方法会引发一个 :exc:`Cancelle
11711171

11721172
#: ../../library/asyncio-task.rst:1106
11731173
msgid ""
1174-
"If the Task's result isn't yet available, this method raises a "
1174+
"If the Task's result isn't yet available, this method raises an "
11751175
":exc:`InvalidStateError` exception."
1176-
msgstr "如果 Task 对象的结果还不可用,此方法会引发一个 :exc:`InvalidStateError` 异常。"
1176+
msgstr ""
11771177

11781178
#: ../../library/asyncio-task.rst:1111
11791179
msgid "Return the exception of the Task."

library/asyncio.po

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-17 14:44+0000\n"
14+
"POT-Creation-Date: 2024-07-26 14:49+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -21,15 +21,15 @@ msgstr ""
2121
"Language: zh_CN\n"
2222
"Plural-Forms: nplurals=1; plural=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

@@ -115,10 +115,6 @@ msgid ""
115115
"async/await syntax."
116116
msgstr "通过 async/await 语法 :ref:`桥接 <asyncio-futures>` 基于回调的库和代码。"
117117

118-
#: ../../library/asyncio.rst:61
119-
msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:"
120-
msgstr "你可以在 REPL 中尝试使用 ``asyncio`` 并发上下文:"
121-
122118
#: ../../includes/wasm-notavail.rst:3
123119
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
124120
msgstr ":ref:`可用性 <availability>`: 非 Emscripten,非 WASI。"
@@ -132,10 +128,28 @@ msgstr ""
132128
"此模块在 WebAssembly 平台 ``wasm32-emscripten`` 和 ``wasm32-wasi`` 上不适用或不可用。 请参阅 "
133129
":ref:`wasm-availability` 了解详情。"
134130

131+
#: ../../library/asyncio.rst:64
132+
msgid "asyncio REPL"
133+
msgstr ""
134+
135+
#: ../../library/asyncio.rst:65
136+
msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:"
137+
msgstr "你可以在 REPL 中尝试使用 ``asyncio`` 并发上下文:"
138+
139+
#: ../../library/asyncio.rst:88
140+
msgid ""
141+
"Raises an :ref:`auditing event <auditing>` ``cpython.run_stdin`` with no "
142+
"arguments."
143+
msgstr "没有参数时,会触发 :ref:`审计事件 <auditing>` ``cpython.run_stdin`` 。"
144+
135145
#: ../../library/asyncio.rst:79
146+
msgid "(also 3.11.10, 3.10.15, 3.9.20, and 3.8.20) Emits audit events."
147+
msgstr ""
148+
149+
#: ../../library/asyncio.rst:86
136150
msgid "Reference"
137151
msgstr "参考"
138152

139-
#: ../../library/asyncio.rst:112
153+
#: ../../library/asyncio.rst:119
140154
msgid "The source code for asyncio can be found in :source:`Lib/asyncio/`."
141155
msgstr "asyncio 的源代码可以在 :source:`Lib/asyncio/` 中找到。"

library/contextlib.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-06-14 18:58+0000\n"
14+
"POT-Creation-Date: 2024-07-26 14:49+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -324,9 +324,9 @@ msgstr ""
324324

325325
#: ../../library/contextlib.rst:323
326326
msgid ""
327-
"``suppress`` now supports suppressing exceptions raised as part of an "
327+
"``suppress`` now supports suppressing exceptions raised as part of a "
328328
":exc:`BaseExceptionGroup`."
329-
msgstr "``suppress`` 现在支持抑制作为 :exc:`BaseExceptionGroup` 的组成部分被引发的异常。"
329+
msgstr ""
330330

331331
#: ../../library/contextlib.rst:329
332332
msgid ""

library/ctypes.po

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-07-05 14:49+0000\n"
16+
"POT-Creation-Date: 2024-07-26 14:49+0000\n"
1717
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1818
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -143,16 +143,12 @@ msgstr "通过操作dll对象的属性来操作这些函数。"
143143
msgid ""
144144
"Note that win32 system dlls like ``kernel32`` and ``user32`` often export "
145145
"ANSI as well as UNICODE versions of a function. The UNICODE version is "
146-
"exported with an ``W`` appended to the name, while the ANSI version is "
146+
"exported with a ``W`` appended to the name, while the ANSI version is "
147147
"exported with an ``A`` appended to the name. The win32 ``GetModuleHandle`` "
148148
"function, which returns a *module handle* for a given module name, has the "
149149
"following C prototype, and a macro is used to expose one of them as "
150150
"``GetModuleHandle`` depending on whether UNICODE is defined or not::"
151151
msgstr ""
152-
"注意:Win32 系统的动态库,比如 ``kernel32`` 和 ``user32``,通常会同时导出同一个函数的 ANSI 版本和 UNICODE "
153-
"版本。UNICODE 版本通常会在名字最后以 ``W`` 结尾,而 ANSI 版本的则以 ``A`` 结尾。 win32的 "
154-
"``GetModuleHandle`` 函数会根据一个模块名返回一个 *模块句柄*,该函数暨同时包含这样的两个版本的原型函数,并通过宏 UNICODE "
155-
"是否定义,来决定宏 ``GetModuleHandle`` 导出的是哪个具体函数。"
156152

157153
#: ../../library/ctypes.rst:121
158154
msgid ""

library/fractions.po

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
14+
"POT-Creation-Date: 2024-07-26 14:49+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -95,11 +95,9 @@ msgstr ""
9595
#: ../../library/fractions.rst:88
9696
msgid ""
9797
"The :func:`math.gcd` function is now used to normalize the *numerator* and "
98-
"*denominator*. :func:`math.gcd` always return a :class:`int` type. "
98+
"*denominator*. :func:`math.gcd` always returns an :class:`int` type. "
9999
"Previously, the GCD type depended on *numerator* and *denominator*."
100100
msgstr ""
101-
"现在会使用 :func:`math.gcd` 函数来正规化 *numerator* 和 *denominator*。 :func:`math.gcd` "
102-
"总是返回 :class:`int` 类型。 在之前版本中,GCD 的类型取决于 *numerator* 和 *denominator* 的类型。"
103101

104102
#: ../../library/fractions.rst:93
105103
msgid ""

0 commit comments

Comments
 (0)