Skip to content

Commit 275eb84

Browse files
committed
Address asyncio runner translation review
1 parent caa0d84 commit 275eb84

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

library/asyncio-runner.po

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgstr ""
1919

2020
#: ../../library/asyncio-runner.rst:6
2121
msgid "Runners"
22-
msgstr "Runners (執行器)"
22+
msgstr "Runner"
2323

2424
#: ../../library/asyncio-runner.rst:8
2525
msgid "**Source code:** :source:`Lib/asyncio/runners.py`"
@@ -40,7 +40,7 @@ msgstr ""
4040

4141
#: ../../library/asyncio-runner.rst:23
4242
msgid "Running an asyncio Program"
43-
msgstr "運行一個 asyncio 程式"
43+
msgstr "執行 asyncio 程式"
4444

4545
#: ../../library/asyncio-runner.rst:27
4646
msgid "Execute *coro* in an asyncio event loop and return the result."
@@ -55,7 +55,7 @@ msgid ""
5555
"This function runs the awaitable, taking care of managing the asyncio event "
5656
"loop, *finalizing asynchronous generators*, and closing the executor."
5757
msgstr ""
58-
"這個函式負責運行被傳入的可等待物件、管理 asyncio 的事件迴圈、*終結非同步產生"
58+
"這個函式負責執行傳入的可等待物件、管理 asyncio 的事件迴圈、*最終化非同步產生"
5959
"器*\\ 以及關閉執行器。"
6060

6161
#: ../../library/asyncio-runner.rst:35 ../../library/asyncio-runner.rst:131
@@ -119,12 +119,12 @@ msgstr ""
119119

120120
#: ../../library/asyncio-runner.rst:64
121121
msgid "Updated to use :meth:`loop.shutdown_default_executor`."
122-
msgstr "更新為使用\\ :meth:`loop.shutdown_default_executor`。"
122+
msgstr "更新為使用 :meth:`loop.shutdown_default_executor`。"
123123

124124
#: ../../library/asyncio-runner.rst:69
125125
msgid ""
126126
"*debug* is ``None`` by default to respect the global debug mode settings."
127-
msgstr "*debug* 預設為 ``None``,以遵循全域除錯模式設定。"
127+
msgstr "*debug* 預設為 ``None``,以遵循全域偵錯模式設定。"
128128

129129
#: ../../library/asyncio-runner.rst:73
130130
msgid "Added *loop_factory* parameter."
@@ -145,7 +145,7 @@ msgstr ""
145145

146146
#: ../../library/asyncio-runner.rst:87
147147
msgid "Runner context manager"
148-
msgstr "執行器情境管理器"
148+
msgstr "Runner 情境管理器"
149149

150150
#: ../../library/asyncio-runner.rst:91
151151
msgid ""
@@ -158,7 +158,7 @@ msgid ""
158158
"Sometimes several top-level async functions should be called in the "
159159
"same :ref:`event loop <asyncio-event-loop>` and :class:`contextvars.Context`."
160160
msgstr ""
161-
"有時需要在相同的\\ :ref:`事件迴圈 <asyncio-event-loop>` "
161+
"有時需要在相同的 :ref:`事件迴圈 <asyncio-event-loop>` "
162162
"和 :class:`contextvars.Context` 中呼叫數個頂層非同步函式。"
163163

164164
#: ../../library/asyncio-runner.rst:101
@@ -169,15 +169,15 @@ msgid ""
169169
"event loop with :func:`asyncio.set_event_loop` if *loop_factory* is ``None``."
170170
msgstr ""
171171
"*loop_factory* 可用來覆寫事件迴圈的建立方式。*loop_factory* 必須負責將建立的"
172-
"迴圈設定為目前的事件迴圈。若 *loop_factory* 為 ``None``,預設會使用"
173-
"\\ :func:`asyncio.new_event_loop`,並以\\ :func:`asyncio.set_event_loop` 將其"
174-
"設定為目前的事件迴圈。"
172+
"迴圈設定為目前的事件迴圈。若 *loop_factory* 為 ``None``,預設會使"
173+
" :func:`asyncio.new_event_loop`,並以 :func:`asyncio.set_event_loop` 將其設"
174+
"定為目前的事件迴圈。"
175175

176176
#: ../../library/asyncio-runner.rst:106
177177
msgid ""
178178
"Basically, :func:`asyncio.run` example can be rewritten with the runner "
179179
"usage::"
180-
msgstr "基本上,:func:`asyncio.run`\\ 的範例可以改寫為使用執行器: ::"
180+
msgstr "基本上,:func:`asyncio.run` 的範例可以改寫為使用 Runner: ::"
181181

182182
#: ../../library/asyncio-runner.rst:108
183183
msgid ""
@@ -209,29 +209,29 @@ msgid ""
209209
"custom :class:`contextvars.Context` for the code to run in. The runner's "
210210
"default context is used if context is ``None``."
211211
msgstr ""
212-
"可選的僅限關鍵字引數 *context*,可用來指定程式碼執行時所使用的自訂"
213-
"\\ :class:`contextvars.Context`。如果 context 為 ``None``,則使用執行器的預設"
214-
"情境。"
212+
"可選的僅限關鍵字引數 *context*,可用來指定程式碼執行時所使用的自"
213+
" :class:`contextvars.Context`。如果 context 為 ``None``,則使用 Runner 的預"
214+
"設情境。"
215215

216216
#: ../../library/asyncio-runner.rst:129
217217
msgid "Returns the awaitable's result or raises an exception."
218218
msgstr "回傳可等待物件的結果,或引發例外。"
219219

220220
#: ../../library/asyncio-runner.rst:140
221221
msgid "Close the runner."
222-
msgstr "關閉執行器。"
222+
msgstr "關閉 Runner。"
223223

224224
#: ../../library/asyncio-runner.rst:142
225225
msgid ""
226226
"Finalize asynchronous generators, shutdown default executor, close the event "
227227
"loop and release embedded :class:`contextvars.Context`."
228228
msgstr ""
229-
"最終化非同步產生器、關閉預設執行器與事件迴圈,並釋放內嵌的"
230-
"\\ :class:`contextvars.Context`。"
229+
"最終化非同步產生器、關閉預設執行器與事件迴圈,並釋放內嵌"
230+
" :class:`contextvars.Context`。"
231231

232232
#: ../../library/asyncio-runner.rst:147
233233
msgid "Return the event loop associated with the runner instance."
234-
msgstr "回傳與執行器實例關聯的事件迴圈。"
234+
msgstr "回傳與 Runner 實例關聯的事件迴圈。"
235235

236236
#: ../../library/asyncio-runner.rst:151
237237
msgid ""
@@ -245,8 +245,8 @@ msgid ""
245245
"Embedded *loop* and *context* are created at the :keyword:`with` body "
246246
"entering or the first call of :meth:`run` or :meth:`get_loop`."
247247
msgstr ""
248-
"內嵌的 *loop* 和 *context* 會在進入\\ :keyword:`with`\\ 陳述式主體,或第一次"
249-
"呼叫\\ :meth:`run`\\\\ :meth:`get_loop`\\ 時建立。"
248+
"內嵌的 *loop* 和 *context* 會在進入 :keyword:`with` 陳述式主體,或第一次呼"
249+
" :meth:`run` :meth:`get_loop` 時建立。"
250250

251251
#: ../../library/asyncio-runner.rst:159
252252
msgid "Handling Keyboard Interruption"

0 commit comments

Comments
 (0)