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

Skip to content

Commit 3e0d688

Browse files
committed
[po] auto sync bot
1 parent b075a12 commit 3e0d688

28 files changed

Lines changed: 73 additions & 54 deletions

library/asyncio-eventloop.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-09-21 09:14+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: Fred <fred.wei@foxmail.com>, 2018\n"
13+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
@@ -234,7 +234,7 @@ msgstr ""
234234
#: ../../library/asyncio-eventloop.rst:993
235235
#: ../../library/asyncio-eventloop.rst:1355
236236
msgid "Example::"
237-
msgstr ""
237+
msgstr "示例::"
238238

239239
#: ../../library/asyncio-eventloop.rst:172
240240
msgid "Scheduling callbacks"

library/asyncio-sync.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-09-18 09:12+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1314
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
@@ -138,7 +139,7 @@ msgstr ""
138139

139140
#: ../../library/asyncio-sync.rst:99
140141
msgid "Example::"
141-
msgstr ""
142+
msgstr "示例::"
142143

143144
#: ../../library/asyncio-sync.rst:124
144145
msgid "Wait until the event is set."

library/asyncio-task.po

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -287,20 +287,20 @@ msgstr "并发运行任务"
287287
msgid ""
288288
"Run :ref:`awaitable objects <asyncio-awaitables>` in the *aws* sequence "
289289
"*concurrently*."
290-
msgstr ""
290+
msgstr "*并发* 运行 *aws* 序列中的 :ref:`可等待对象 <asyncio-awaitables>`。"
291291

292292
#: ../../library/asyncio-task.rst:307
293293
msgid ""
294294
"If any awaitable in *aws* is a coroutine, it is automatically scheduled as a"
295295
" Task."
296-
msgstr ""
296+
msgstr "如果 *aws* 中的某个可等待对象为协程,它将自动作为一个任务加入日程。"
297297

298298
#: ../../library/asyncio-task.rst:310
299299
msgid ""
300300
"If all awaitables are completed successfully, the result is an aggregate "
301301
"list of returned values. The order of result values corresponds to the "
302302
"order of awaitables in *aws*."
303-
msgstr ""
303+
msgstr "如果所有可等待对象都成功完成,结果将是一个由所有返回值聚合而成的列表。结果值的顺序与 *aws* 中可等待对象的顺序一致。"
304304

305305
#: ../../library/asyncio-task.rst:314
306306
msgid ""
@@ -309,18 +309,20 @@ msgid ""
309309
"awaitables in the *aws* sequence **won't be cancelled** and will continue to"
310310
" run."
311311
msgstr ""
312+
"如果 *return_exceptions* 为 ``False`` (默认),所引发的首个异常会立即传播给等待 ``gather()`` "
313+
"的任务。*aws* 序列中的其他可等待对象 **不会被取消** 并将继续运行。"
312314

313315
#: ../../library/asyncio-task.rst:319
314316
msgid ""
315317
"If *return_exceptions* is ``True``, exceptions are treated the same as "
316318
"successful results, and aggregated in the result list."
317-
msgstr ""
319+
msgstr "如果 *return_exceptions* 为 ``True``,异常会和成功的结果一样处理,并聚合至结果列表。"
318320

319321
#: ../../library/asyncio-task.rst:322
320322
msgid ""
321323
"If ``gather()`` is *cancelled*, all submitted awaitables (that have not "
322324
"completed yet) are also *cancelled*."
323-
msgstr ""
325+
msgstr "如果 ``gather()`` *被取消*,所有被提交 (尚未完成) 的可等待对象也会 *被取消*。"
324326

325327
#: ../../library/asyncio-task.rst:325
326328
msgid ""
@@ -329,39 +331,42 @@ msgid ""
329331
"cancelled in this case. This is to prevent the cancellation of one "
330332
"submitted Task/Future to cause other Tasks/Futures to be cancelled."
331333
msgstr ""
334+
"如果 *aws* 序列中的任一 Task 或 Future 对象 *被取消*,它将被当作引发了 :exc:`CancelledError` 一样处理 "
335+
"-- 在此情况下 ``gather()`` 调用 **不会** 被取消。这是为了防止一个已提交的 Task/Future 被取消导致其他 "
336+
"Tasks/Future 也被取消。"
332337

333338
#: ../../library/asyncio-task.rst:333 ../../library/asyncio-task.rst:439
334339
#: ../../library/asyncio-task.rst:561
335340
msgid "Example::"
336-
msgstr ""
341+
msgstr "示例::"
337342

338343
#: ../../library/asyncio-task.rst:367
339344
msgid ""
340345
"If the *gather* itself is cancelled, the cancellation is propagated "
341346
"regardless of *return_exceptions*."
342-
msgstr ""
347+
msgstr "如果 *gather* 本身被取消,则无论 *return_exceptions* 取值为何,消息都会被传播。"
343348

344349
#: ../../library/asyncio-task.rst:373
345350
msgid "Shielding From Cancellation"
346-
msgstr ""
351+
msgstr "屏蔽取消操作"
347352

348353
#: ../../library/asyncio-task.rst:377
349354
msgid ""
350355
"Protect an :ref:`awaitable object <asyncio-awaitables>` from being "
351356
":meth:`cancelled <Task.cancel>`."
352-
msgstr ""
357+
msgstr "保护一个 :ref:`可等待对象 <asyncio-awaitables>` 防止其被 :meth:`取消 <Task.cancel>`。"
353358

354359
#: ../../library/asyncio-task.rst:380 ../../library/asyncio-task.rst:417
355360
msgid "If *aw* is a coroutine it is automatically scheduled as a Task."
356-
msgstr ""
361+
msgstr "如果 *aw* 是一个协程,它将自动作为任务加入日程。"
357362

358363
#: ../../library/asyncio-task.rst:382
359364
msgid "The statement::"
360-
msgstr ""
365+
msgstr "以下语句::"
361366

362367
#: ../../library/asyncio-task.rst:386
363368
msgid "is equivalent to::"
364-
msgstr ""
369+
msgstr "相当于::"
365370

366371
#: ../../library/asyncio-task.rst:390
367372
msgid ""
@@ -371,19 +376,21 @@ msgid ""
371376
"still cancelled, so the \"await\" expression still raises a "
372377
":exc:`CancelledError`."
373378
msgstr ""
379+
"*不同之处* 在于如果包含它的协程被取消,在 ``something()`` 中运行的任务不会被取消。从 ``something()`` "
380+
"的角度看来,取消操作并没有发生。然而其调用者已被取消,因此 \"await\" 表达式仍然会引发 :exc:`CancelledError`。"
374381

375382
#: ../../library/asyncio-task.rst:396
376383
msgid ""
377384
"If ``something()`` is cancelled by other means (i.e. from within itself) "
378385
"that would also cancel ``shield()``."
379-
msgstr ""
386+
msgstr "如果通过其他方式取消 ``something()`` (例如在其内部操作) 则 ``shield()`` 也会取消。"
380387

381388
#: ../../library/asyncio-task.rst:399
382389
msgid ""
383390
"If it is desired to completely ignore cancellation (not recommended) the "
384391
"``shield()`` function should be combined with a try/except clause, as "
385392
"follows::"
386-
msgstr ""
393+
msgstr "如果希望完全忽略取消操作 (不推荐) 则 ``shield()`` 函数需要配合一个 try/except 代码段,如下所示::"
387394

388395
#: ../../library/asyncio-task.rst:410
389396
msgid "Timeouts"

library/colorsys.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1314
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
@@ -73,4 +74,4 @@ msgstr ""
7374

7475
#: ../../library/colorsys.rst:59
7576
msgid "Example::"
76-
msgstr ""
77+
msgstr "示例::"

library/dis.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-10-06 09:21+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: SKY H. <sky19960802@gmail.com>, 2018\n"
13+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
@@ -135,7 +135,7 @@ msgstr ""
135135

136136
#: ../../library/dis.rst:99
137137
msgid "Example::"
138-
msgstr ""
138+
msgstr "示例::"
139139

140140
#: ../../library/dis.rst:112
141141
msgid "Analysis functions"

library/functools.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-09-15 09:11+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: zc Jin <zhengcao.jin@gmail.com>, 2018\n"
13+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
@@ -59,7 +59,7 @@ msgstr ""
5959

6060
#: ../../library/functools.rst:37 ../../library/functools.rst:225
6161
msgid "Example::"
62-
msgstr ""
62+
msgstr "示例::"
6363

6464
#: ../../library/functools.rst:41
6565
msgid ""

library/imaplib.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-09-15 09:11+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1314
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
@@ -447,7 +448,7 @@ msgstr ""
447448

448449
#: ../../library/imaplib.rst:410
449450
msgid "Example::"
450-
msgstr ""
451+
msgstr "示例::"
451452

452453
#: ../../library/imaplib.rst:421
453454
msgid ""

library/imghdr.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1314
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
@@ -190,4 +191,4 @@ msgstr ""
190191

191192
#: ../../library/imghdr.rst:76
192193
msgid "Example::"
193-
msgstr ""
194+
msgstr "示例::"

library/linecache.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1314
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
@@ -83,4 +84,4 @@ msgstr ""
8384

8485
#: ../../library/linecache.rst:60
8586
msgid "Example::"
86-
msgstr ""
87+
msgstr "示例::"

library/locale.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: 操旭 <caoxu3000@126.com>, 2017\n"
13+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
@@ -718,7 +718,7 @@ msgstr ""
718718

719719
#: ../../library/locale.rst:497
720720
msgid "Example::"
721-
msgstr ""
721+
msgstr "示例::"
722722

723723
#: ../../library/locale.rst:510
724724
msgid "Background, details, hints, tips and caveats"

0 commit comments

Comments
 (0)