Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7a87c09

Browse files
Add translation in library/asyncio-runner:33-40#683 (#760)
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parent1b481b4 commit7a87c09

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎library/asyncio-runner.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,16 @@ msgid ""
5757
"This function cannot be called when another asyncio event loop is running in "
5858
"the same thread."
5959
msgstr""
60+
"當另一個非同步事件迴圈在同一執行緒中執行時,無法呼叫此函式。"
6061

6162
#:../../library/asyncio-runner.rst:36../../library/asyncio-runner.rst:83
6263
msgid""
6364
"If *debug* is ``True``, the event loop will be run in debug mode. ``False`` "
6465
"disables debug mode explicitly. ``None`` is used to respect the global :ref:"
6566
"`asyncio-debug-mode` settings."
6667
msgstr""
68+
"如果 *debug* 為 ``True``,事件迴圈會以除錯模式執行。``False`` 則會關閉除錯模式。"
69+
"``None`` 則會優先使用\\ :ref:`除錯模式 <asyncio-debug-mode>`\\ 的全域設定。"
6770

6871
#:../../library/asyncio-runner.rst:40
6972
msgid""
@@ -73,6 +76,10 @@ msgid ""
7376
"programs, and should ideally only be called once. It is recommended to use "
7477
"*loop_factory* to configure the event loop instead of policies."
7578
msgstr""
79+
"如果 *loop_factory* 不為 ``None``,它會被用於建立一個新的事件迴圈;"
80+
"否則會改用 :func:`asyncio.new_event_loop`。迴圈會在最後關閉。這個函式應該要作為"
81+
"asyncio 程式的主要進入點,且理想上僅會被呼叫一次。推薦使用 *loop_factory* 來設定"
82+
"事件迴圈時而不是使用 policies(政策)。"
7683

7784
#:../../library/asyncio-runner.rst:46
7885
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp