Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c712e70

Browse files
[po] auto sync
1 parent 8d3816c commit c712e70

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.75%", "updated_at": "2023-11-03T23:57:50Z"}
1+
{"translation": "91.77%", "updated_at": "2023-11-04T01:18:35Z"}

library/asyncio-eventloop.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,9 @@ msgid ""
907907
"Unixes. If the :ref:`socket.SO_REUSEPORT <socket-unix-constants>` constant "
908908
"is not defined then this capability is unsupported."
909909
msgstr ""
910+
"*reuse_port* 告知内核允许此端点绑定到其他现有端点所绑定的相同端口上,只要它们在创建时都设置了这个旗标。 这个选项在 Windows 和某些"
911+
" Unix 上将不受支持。 如果 :ref:`socket.SO_REUSEPORT <socket-unix-constants>` "
912+
"常量未被定义那么该功能就是不受支持的。"
910913

911914
#: ../../library/asyncio-eventloop.rst:587
912915
msgid ""
@@ -948,6 +951,8 @@ msgid ""
948951
"security concern for UDP. Explicitly passing ``reuse_address=True`` will "
949952
"raise an exception."
950953
msgstr ""
954+
"*reuse_address* 形参已不再受支持,因为使用 :ref:`socket.SO_REUSEADDR <socket-unix-"
955+
"constants>` 对于 UDP 会造成显著的安全问题。 显式地传入 ``reuse_address=True`` 将引发异常。"
951956

952957
#: ../../library/asyncio-eventloop.rst:614
953958
msgid ""
@@ -964,6 +969,9 @@ msgid ""
964969
"unix-constants>` is used instead, which specifically prevents processes with"
965970
" differing UIDs from assigning sockets to the same socket address."
966971
msgstr ""
972+
"对于受支持的平台,可以使用 *reuse_port* 作为类似功能的替代。 通过 *reuse_port*,将会改用 "
973+
":ref:`socket.SO_REUSEPORT <socket-unix-constants>`,它能防止具有不同 UID "
974+
"的进程将套接字赋给相同的套接字地址。"
967975

968976
#: ../../library/asyncio-eventloop.rst:625
969977
msgid "Added support for Windows."
@@ -1159,6 +1167,8 @@ msgid ""
11591167
"option :ref:`socket.TCP_NODELAY <socket-unix-constants>` is set by default "
11601168
"for all TCP connections."
11611169
msgstr ""
1170+
"增加了 *ssl_handshake_timeout* 和 *start_serving* 形参。 套接字选项 "
1171+
":ref:`socket.TCP_NODELAY <socket-unix-constants>` 会默认为所有 TCP 连接设置。"
11621172

11631173
#: ../../library/asyncio-eventloop.rst:772
11641174
msgid ""
@@ -2270,7 +2280,7 @@ msgstr "用于表示已经连进来的客户端连接会保持打开的状态。
22702280
msgid ""
22712281
"The server is closed asynchronously; use the :meth:`wait_closed` coroutine "
22722282
"to wait until the server is closed (and no more connections are active)."
2273-
msgstr ""
2283+
msgstr "服务器是被异步关闭的;使用 :meth:`wait_closed` 协程来等待服务器关闭(将不再有激活的连接)。"
22742284

22752285
#: ../../library/asyncio-eventloop.rst:1630
22762286
msgid "Return the event loop associated with the server object."

library/sys.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,8 @@ msgid ""
100100
"Raises an :ref:`auditing event <auditing>` ``sys.addaudithook`` with no "
101101
"arguments."
102102
msgstr ""
103-
"调用 :func:`sys.addaudithook` 时它自身将引发一个名为 ``sys.addaudithook`` 的审计事件且不附带参数。 "
104-
"如果任何现有的钩子引发了派生自 :class:`RuntimeError` 的异常,则新的钩子不会被添加并且该异常会被抑制。 "
105-
"其结果就是,调用者无法确保他们的钩子已经被添加,除非他们控制了全部现有的钩子。"
103+
"Raises an :ref:`auditing event <auditing>` ``sys.addaudithook`` with no "
104+
"arguments."
106105

107106
#: ../../library/sys.rst:49
108107
msgid ""
@@ -290,6 +289,8 @@ msgid ""
290289
":func:`settrace` or :func:`setprofile` to avoid infinite recursion. "
291290
":func:`!call_tracing` enables explicit recursion of the tracing function."
292291
msgstr ""
292+
"在调用由 :func:`settrace` 或 :func:`setprofile` 设置的跟踪函数时跟踪将暂停以避免无限递归。 "
293+
":func:`!call_tracing` 会启用跟踪函数的显式递归。"
293294

294295
#: ../../library/sys.rst:185
295296
msgid ""
@@ -2146,6 +2147,8 @@ msgid ""
21462147
":func:`settrace`. To trace calls with :func:`!setprofile` inside a tracing "
21472148
"function (e.g. in a debugger breakpoint), see :func:`call_tracing`."
21482149
msgstr ""
2150+
":func:`!setprofile` 使用与 :func:`settrace` 相同的跟踪机制。 要在跟踪函数内部使用 "
2151+
":func:`!setprofile` 来跟踪调用(例如在调试器断点内),请参阅 :func:`call_tracing`。"
21492152

21502153
#: ../../library/sys.rst:1483
21512154
msgid ""
@@ -2308,6 +2311,7 @@ msgid ""
23082311
"Tracing is disabled while calling the trace function (e.g. a function set by"
23092312
" :func:`!settrace`). For recursive tracing see :func:`call_tracing`."
23102313
msgstr ""
2314+
"在调用跟踪函数(例如由 :func:`!settrace` 设置的函数)时将禁用跟踪。 有关递归跟踪请参阅 :func:`call_tracing`。"
23112315

23122316
#: ../../library/sys.rst:1578
23132317
msgid ""

0 commit comments

Comments
 (0)