Skip to content

Translate the part of asyncio-dev (#392) #392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions library/asyncio-dev.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
"PO-Revision-Date: 2022-06-11 15:29+0800\n"
"PO-Revision-Date: 2023-02-18 14:17+0800\n"
"Last-Translator: Matt Wang <mattwang44gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand All @@ -18,7 +18,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.1\n"
"X-Generator: Poedit 3.2.2\n"

#: ../../library/asyncio-dev.rst:7
msgid "Developing with asyncio"
Expand Down Expand Up @@ -146,10 +146,10 @@ msgid ""
"``await`` expression, the running Task gets suspended, and the event loop "
"executes the next Task."
msgstr ""
"事件迴圈在執行緒中運行(通常是主執行緒),並在其執行緒中執行所有回呼和 "
"Tasks(任務)。當一個 Task 在事件迴圈中運行時,沒有其他 Task 可以在同一個執行"
"緒中運行。當一個 Task 執行一個 ``await`` 運算式時,正在執行的 Task 會被暫停,"
"而事件迴圈會執行下一個 Task。"
"事件迴圈在執行緒中運行(通常是主執行緒),並在其執行緒中執行所有回呼和 Tasks"
"(任務)。當一個 Task 在事件迴圈中運行時,沒有其他 Task 可以在同一個執行緒中"
"運行。當一個 Task 執行一個 ``await`` 運算式時,正在執行的 Task 會被暫停,而事"
"件迴圈會執行下一個 Task。"

#: ../../library/asyncio-dev.rst:76
msgid ""
Expand Down Expand Up @@ -273,6 +273,8 @@ msgid ""
"separate thread for handling logs or use non-blocking IO. For example, see :"
"ref:`blocking-handlers`."
msgstr ""
"網路日誌記錄可能會阻塞事件迴圈。建議使用獨立的執行緒來處理日誌或使用非阻塞 "
"IO,範例請參見 :ref:`blocking-handlers`。"

#: ../../library/asyncio-dev.rst:159
msgid "Detect never-awaited coroutines"
Expand Down