Skip to content

Commit d566b6d

Browse files
[po] auto sync
1 parent f5b4f7e commit d566b6d

38 files changed

+570
-351
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.48%", "updated_at": "2024-08-04T02:08:07Z"}
1+
{"translation": "95.75%", "updated_at": "2024-08-05T08:47:29Z"}

c-api/file.po

Lines changed: 5 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-08-02 14:51+0000\n"
14+
"POT-Creation-Date: 2024-08-03 23:51+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"
@@ -141,8 +141,10 @@ msgid "This function is safe to call before :c:func:`Py_Initialize`."
141141
msgstr "此函数可以安全地在 :c:func:`Py_Initialize` 之前调用。"
142142

143143
#: ../../c-api/file.rst:90
144-
msgid "Raises an auditing event setopencodehook with no arguments."
145-
msgstr ""
144+
msgid ""
145+
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
146+
"arguments."
147+
msgstr "引发一个 :ref:`审计事件 <auditing>` ``setopencodehook``,不附带任何参数。"
146148

147149
#: ../../c-api/file.rst:100
148150
msgid ""

c-api/init.po

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-08-02 14:51+0000\n"
15+
"POT-Creation-Date: 2024-08-03 23:51+0000\n"
1616
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -694,8 +694,10 @@ msgstr ""
694694

695695
#: ../../c-api/init.rst:421
696696
msgid ""
697-
"Raises an auditing event cpython._PySys_ClearAuditHooks with no arguments."
697+
"Raises an :ref:`auditing event <auditing>` "
698+
"``cpython._PySys_ClearAuditHooks`` with no arguments."
698699
msgstr ""
700+
"引发一个 :ref:`审计事件 <auditing>` ``cpython._PySys_ClearAuditHooks``,不附带任何参数。"
699701

700702
#: ../../c-api/init.rst:427
701703
msgid ""
@@ -1656,8 +1658,10 @@ msgstr "创建一个新的解释器状态对象。 不需要持有全局解释
16561658

16571659
#: ../../c-api/init.rst:1227
16581660
msgid ""
1659-
"Raises an auditing event cpython.PyInterpreterState_New with no arguments."
1661+
"Raises an :ref:`auditing event <auditing>` "
1662+
"``cpython.PyInterpreterState_New`` with no arguments."
16601663
msgstr ""
1664+
"引发一个 :ref:`审计事件 <auditing>` ``cpython.PyInterpreterState_New``,不附带任何参数。"
16611665

16621666
#: ../../c-api/init.rst:1232
16631667
msgid ""
@@ -1667,8 +1671,10 @@ msgstr "重置解释器状态对象中的所有信息。 必须持有全局解
16671671

16681672
#: ../../c-api/init.rst:1235
16691673
msgid ""
1670-
"Raises an auditing event cpython.PyInterpreterState_Clear with no arguments."
1674+
"Raises an :ref:`auditing event <auditing>` "
1675+
"``cpython.PyInterpreterState_Clear`` with no arguments."
16711676
msgstr ""
1677+
"引发一个 :ref:`审计事件 <auditing>` ``cpython.PyInterpreterState_Clear``,不附带任何参数。"
16721678

16731679
#: ../../c-api/init.rst:1240
16741680
msgid ""

library/_thread.po

Lines changed: 5 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-08-02 14:51+0000\n"
14+
"POT-Creation-Date: 2024-08-03 23:51+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"
@@ -89,9 +89,11 @@ msgstr "当函数引发 :exc:`SystemExit` 异常时,它会被静默地忽略
8989

9090
#: ../../library/_thread.rst:60
9191
msgid ""
92-
"Raises an auditing event _thread.start_new_thread with arguments function, "
93-
"args, kwargs."
92+
"Raises an :ref:`auditing event <auditing>` ``_thread.start_new_thread`` with"
93+
" arguments ``function``, ``args``, ``kwargs``."
9494
msgstr ""
95+
"引发一个 :ref:`审计事件 <auditing>` ``_thread.start_new_thread``,附带参数 ``function``, "
96+
"``args``, ``kwargs``。"
9597

9698
#: ../../library/_thread.rst:62
9799
msgid ":func:`sys.unraisablehook` is now used to handle unhandled exceptions."

library/array.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-08-02 14:51+0000\n"
15+
"POT-Creation-Date: 2024-08-03 23:51+0000\n"
1616
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -272,8 +272,11 @@ msgstr ""
272272

273273
#: ../../library/array.rst:96
274274
msgid ""
275-
"Raises an auditing event array.__new__ with arguments typecode, initializer."
275+
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
276+
"``typecode``, ``initializer``."
276277
msgstr ""
278+
"引发一个带参数 ``typecode`` 和 ``initializer`` 的 :ref:`审计事件 <auditing>` "
279+
"``array.__new__``。"
277280

278281
#: ../../library/array.rst:101
279282
msgid "The typecode character used to create the array."

library/asyncio.po

Lines changed: 5 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-08-02 14:51+0000\n"
14+
"POT-Creation-Date: 2024-08-03 23:51+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"
@@ -137,8 +137,10 @@ msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:"
137137
msgstr "你可以在 REPL 中尝试使用 ``asyncio`` 并发上下文:"
138138

139139
#: ../../library/asyncio.rst:77
140-
msgid "Raises an auditing event cpython.run_stdin with no arguments."
141-
msgstr ""
140+
msgid ""
141+
"Raises an :ref:`auditing event <auditing>` ``cpython.run_stdin`` with no "
142+
"arguments."
143+
msgstr "没有参数时,会触发 :ref:`审计事件 <auditing>` ``cpython.run_stdin`` 。"
142144

143145
#: ../../library/asyncio.rst:79
144146
msgid "(also 3.11.10, 3.10.15, 3.9.20, and 3.8.20) Emits audit events."

library/ctypes.po

Lines changed: 47 additions & 66 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-08-02 14:51+0000\n"
16+
"POT-Creation-Date: 2024-08-03 23:51+0000\n"
1717
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1818
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1735,13 +1735,7 @@ msgstr ""
17351735
"一个将 Python C API 函数作为属性公开出来的 :class:`PyDLL` 实例。 请注意所有这些函数都应返回 C "
17361736
":c:expr:`int`,当然也并非总是如此,因此您必须分配正确的 :attr:`!restype` 属性才能使用这些函数。"
17371737

1738-
#: ../../library/ctypes.rst:1580
1739-
msgid ""
1740-
"Loading a library through any of these objects raises an auditing event "
1741-
"ctypes.dlopen with string argument name, the name used to load the library."
1742-
msgstr ""
1743-
1744-
#: ../../library/ctypes.rst:1582
1738+
#: ../../library/ctypes.rst:1580 ../../library/ctypes.rst:1582
17451739
msgid ""
17461740
"Loading a library through any of these objects raises an :ref:`auditing "
17471741
"event <auditing>` ``ctypes.dlopen`` with string argument ``name``, the name "
@@ -1750,14 +1744,7 @@ msgstr ""
17501744
"通过这些对象中的任何一个加载库都将引发一个 :ref:`审计事件 <auditing>` ``ctypes.dlopen`` 并附带字符串参数 "
17511745
"``name``,即用于加载库的名称。"
17521746

1753-
#: ../../library/ctypes.rst:1586
1754-
msgid ""
1755-
"Accessing a function on a loaded library raises an auditing event "
1756-
"ctypes.dlsym with arguments library (the library object) and name (the "
1757-
"symbol's name as a string or integer)."
1758-
msgstr ""
1759-
1760-
#: ../../library/ctypes.rst:1588
1747+
#: ../../library/ctypes.rst:1586 ../../library/ctypes.rst:1588
17611748
msgid ""
17621749
"Accessing a function on a loaded library raises an auditing event "
17631750
"``ctypes.dlsym`` with arguments ``library`` (the library object) and "
@@ -1766,14 +1753,7 @@ msgstr ""
17661753
"在加载的库上访问一个函数将引发一个审计事件 ``ctypes.dlsym`` 并附带参数 ``library`` (库对象) 和 ``name`` "
17671754
"(以字符串或整数表示的符号名称)."
17681755

1769-
#: ../../library/ctypes.rst:1592
1770-
msgid ""
1771-
"In cases when only the library handle is available rather than the object, "
1772-
"accessing a function raises an auditing event ctypes.dlsym/handle with "
1773-
"arguments handle (the raw library handle) and name."
1774-
msgstr ""
1775-
1776-
#: ../../library/ctypes.rst:1594
1756+
#: ../../library/ctypes.rst:1592 ../../library/ctypes.rst:1594
17771757
msgid ""
17781758
"In cases when only the library handle is available rather than the object, "
17791759
"accessing a function raises an auditing event ``ctypes.dlsym/handle`` with "
@@ -1905,16 +1885,7 @@ msgid ""
19051885
"the passed arguments."
19061886
msgstr "此异常会在外部函数无法对某个传入参数执行转换时被引发。"
19071887

1908-
#: ../../library/ctypes.rst:1683
1909-
msgid ""
1910-
"On Windows, when a foreign function call raises a system exception (for "
1911-
"example, due to an access violation), it will be captured and replaced with "
1912-
"a suitable Python exception. Further, an auditing event ctypes.set_exception"
1913-
" with argument code will be raised, allowing an audit hook to replace the "
1914-
"exception with its own."
1915-
msgstr ""
1916-
1917-
#: ../../library/ctypes.rst:1685
1888+
#: ../../library/ctypes.rst:1683 ../../library/ctypes.rst:1685
19181889
msgid ""
19191890
"On Windows, when a foreign function call raises a system exception (for "
19201891
"example, due to an access violation), it will be captured and replaced with "
@@ -1925,13 +1896,7 @@ msgstr ""
19251896
"在 Windows 上,当外部函数调用引发一个系统异常时(例如由于访问冲突),它将被捕获并被替换为适当的 Python 异常。 "
19261897
"此外,还将引发一个审计事件 ``ctypes.set_exception`` 并附带参数 ``code``,以允许审计钩子将原异常替换为它自己的异常。"
19271898

1928-
#: ../../library/ctypes.rst:1691
1929-
msgid ""
1930-
"Some ways to invoke foreign function calls may raise an auditing event "
1931-
"ctypes.call_function with arguments function pointer and arguments."
1932-
msgstr ""
1933-
1934-
#: ../../library/ctypes.rst:1693
1899+
#: ../../library/ctypes.rst:1691 ../../library/ctypes.rst:1693
19351900
msgid ""
19361901
"Some ways to invoke foreign function calls may raise an auditing event "
19371902
"``ctypes.call_function`` with arguments ``function pointer`` and "
@@ -2162,8 +2127,10 @@ msgid ""
21622127
msgstr "以整数形式返回内存缓冲区地址。 *obj* 必须为一个 ctypes 类型的实例。"
21632128

21642129
#: ../../library/ctypes.rst:1886
2165-
msgid "Raises an auditing event ctypes.addressof with argument obj."
2166-
msgstr ""
2130+
msgid ""
2131+
"Raises an :ref:`auditing event <auditing>` ``ctypes.addressof`` with "
2132+
"argument ``obj``."
2133+
msgstr "引发一个 :ref:`审计事件 <auditing>` ``ctypes.addressof``,附带参数 ``obj``。"
21672134

21682135
#: ../../library/ctypes.rst:1891
21692136
msgid ""
@@ -2225,9 +2192,11 @@ msgstr ""
22252192

22262193
#: ../../library/ctypes.rst:1930
22272194
msgid ""
2228-
"Raises an auditing event ctypes.create_string_buffer with arguments init, "
2229-
"size."
2195+
"Raises an :ref:`auditing event <auditing>` ``ctypes.create_string_buffer`` "
2196+
"with arguments ``init``, ``size``."
22302197
msgstr ""
2198+
"引发一个 :ref:`审计事件 <auditing>` ``ctypes.create_string_buffer``,附带参数 ``init``, "
2199+
"``size``。"
22312200

22322201
#: ../../library/ctypes.rst:1935
22332202
msgid ""
@@ -2254,9 +2223,11 @@ msgstr ""
22542223

22552224
#: ../../library/ctypes.rst:1947
22562225
msgid ""
2257-
"Raises an auditing event ctypes.create_unicode_buffer with arguments init, "
2258-
"size."
2226+
"Raises an :ref:`auditing event <auditing>` ``ctypes.create_unicode_buffer`` "
2227+
"with arguments ``init``, ``size``."
22592228
msgstr ""
2229+
"引发一个 :ref:`审计事件 <auditing>` ``ctypes.create_unicode_buffer``,附带参数 ``init``, "
2230+
"``size``。"
22602231

22612232
#: ../../library/ctypes.rst:1952
22622233
msgid ""
@@ -2326,8 +2297,10 @@ msgid ""
23262297
msgstr "返回调用线程中系统 :data:`errno` 变量的 ctypes 私有副本的当前值。"
23272298

23282299
#: ../../library/ctypes.rst:2005
2329-
msgid "Raises an auditing event ctypes.get_errno with no arguments."
2330-
msgstr ""
2300+
msgid ""
2301+
"Raises an :ref:`auditing event <auditing>` ``ctypes.get_errno`` with no "
2302+
"arguments."
2303+
msgstr "引发一个 :ref:`审计事件 <auditing>` ``ctypes.get_errno``,不附带任何参数。"
23312304

23322305
#: ../../library/ctypes.rst:2009
23332306
msgid ""
@@ -2336,8 +2309,10 @@ msgid ""
23362309
msgstr "仅限 Windows:返回调用线程中系统 :data:`!LastError` 变量的 ctypes 私有副本的当前值。"
23372310

23382311
#: ../../library/ctypes.rst:2012
2339-
msgid "Raises an auditing event ctypes.get_last_error with no arguments."
2340-
msgstr ""
2312+
msgid ""
2313+
"Raises an :ref:`auditing event <auditing>` ``ctypes.get_last_error`` with no"
2314+
" arguments."
2315+
msgstr "引发一个 :ref:`审计事件 <auditing>` ``ctypes.get_last_error``,不附带任何参数。"
23412316

23422317
#: ../../library/ctypes.rst:2016
23432318
msgid ""
@@ -2394,8 +2369,10 @@ msgid ""
23942369
msgstr "设置调用线程中系统 :data:`errno` 变量的 ctypes 私有副本的当前值为 *value* 并返回原来的值。"
23952370

23962371
#: ../../library/ctypes.rst:2057
2397-
msgid "Raises an auditing event ctypes.set_errno with argument errno."
2398-
msgstr ""
2372+
msgid ""
2373+
"Raises an :ref:`auditing event <auditing>` ``ctypes.set_errno`` with "
2374+
"argument ``errno``."
2375+
msgstr "引发一个 :ref:`审计事件 <auditing>` ``ctypes.set_errno`` 附带参数 ``errno``。"
23992376

24002377
#: ../../library/ctypes.rst:2062
24012378
msgid ""
@@ -2407,8 +2384,10 @@ msgstr ""
24072384
"并返回原来的值。"
24082385

24092386
#: ../../library/ctypes.rst:2066
2410-
msgid "Raises an auditing event ctypes.set_last_error with argument error."
2411-
msgstr ""
2387+
msgid ""
2388+
"Raises an :ref:`auditing event <auditing>` ``ctypes.set_last_error`` with "
2389+
"argument ``error``."
2390+
msgstr "引发一个 :ref:`审计事件 <auditing>` ``ctypes.set_last_error``,附带参数 ``error``。"
24122391

24132392
#: ../../library/ctypes.rst:2071
24142393
msgid ""
@@ -2423,8 +2402,11 @@ msgid ""
24232402
msgstr "返回位于 *void \\*ptr* 的字节串。 如果指定了 *size*,它将被用作字节串的大小,否则将假定字节串以零值结尾。"
24242403

24252404
#: ../../library/ctypes.rst:2081
2426-
msgid "Raises an auditing event ctypes.string_at with arguments ptr, size."
2405+
msgid ""
2406+
"Raises an :ref:`auditing event <auditing>` ``ctypes.string_at`` with "
2407+
"arguments ``ptr``, ``size``."
24272408
msgstr ""
2409+
"引发一个 :ref:`审计事件 <auditing>` ``ctypes.string_at``,附带参数 ``ptr``, ``size``。"
24282410

24292411
#: ../../library/ctypes.rst:2086
24302412
msgid ""
@@ -2452,8 +2434,11 @@ msgid ""
24522434
msgstr "返回位于 *void \\*ptr* 的宽字符串。 如果指定了 *size*,它将被用作字符串的字符数量,否则将假定字符串以零值结尾。"
24532435

24542436
#: ../../library/ctypes.rst:2104
2455-
msgid "Raises an auditing event ctypes.wstring_at with arguments ptr, size."
2437+
msgid ""
2438+
"Raises an :ref:`auditing event <auditing>` ``ctypes.wstring_at`` with "
2439+
"arguments ``ptr``, ``size``."
24562440
msgstr ""
2441+
"引发一个 :ref:`审计事件 <auditing>` ``ctypes.wstring_at``,附带参数 ``ptr``, ``size``。"
24572442

24582443
#: ../../library/ctypes.rst:2110
24592444
msgid "Data types"
@@ -2491,9 +2476,11 @@ msgstr ""
24912476

24922477
#: ../../library/ctypes.rst:2133 ../../library/ctypes.rst:2143
24932478
msgid ""
2494-
"Raises an auditing event ctypes.cdata/buffer with arguments pointer, size, "
2495-
"offset."
2479+
"Raises an :ref:`auditing event <auditing>` ``ctypes.cdata/buffer`` with "
2480+
"arguments ``pointer``, ``size``, ``offset``."
24962481
msgstr ""
2482+
"引发一个 :ref:`审计事件 <auditing>` ``ctypes.cdata/buffer`` 附带参数 ``pointer``, "
2483+
"``size``, ``offset``。"
24972484

24982485
#: ../../library/ctypes.rst:2137
24992486
msgid ""
@@ -2511,13 +2498,7 @@ msgid ""
25112498
"*address* which must be an integer."
25122499
msgstr "此方法会使用 *address* 所指定的内存返回一个 ctypes 类型的实例,该参数必须为一个整数。"
25132500

2514-
#: ../../library/ctypes.rst:2150
2515-
msgid ""
2516-
"This method, and others that indirectly call this method, raises an auditing"
2517-
" event ctypes.cdata with argument address."
2518-
msgstr ""
2519-
2520-
#: ../../library/ctypes.rst:2152
2501+
#: ../../library/ctypes.rst:2150 ../../library/ctypes.rst:2152
25212502
msgid ""
25222503
"This method, and others that indirectly call this method, raises an "
25232504
":ref:`auditing event <auditing>` ``ctypes.cdata`` with argument ``address``."

library/ensurepip.po

Lines changed: 5 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-08-02 14:51+0000\n"
14+
"POT-Creation-Date: 2024-08-03 23:51+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"
@@ -229,8 +229,10 @@ msgid ""
229229
msgstr "*verbosity* 控制初始创建操作对 :data:`sys.stdout` 的输出信息级别。"
230230

231231
#: ../../library/ensurepip.rst:125
232-
msgid "Raises an auditing event ensurepip.bootstrap with argument root."
233-
msgstr ""
232+
msgid ""
233+
"Raises an :ref:`auditing event <auditing>` ``ensurepip.bootstrap`` with "
234+
"argument ``root``."
235+
msgstr "引发一个 :ref:`审计事件 <auditing>` ``ensurepip.bootstrap`` 附带参数 ``root``。"
234236

235237
#: ../../library/ensurepip.rst:129
236238
msgid ""

0 commit comments

Comments
 (0)