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

Skip to content

Commit 991f5df

Browse files
committed
[po] auto sync bot
1 parent 36360eb commit 991f5df

2 files changed

Lines changed: 17 additions & 8 deletions

File tree

library/asyncio-dev.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ msgstr "Debug 模式"
4949
msgid ""
5050
"By default asyncio runs in production mode. In order to ease the "
5151
"development asyncio has a *debug mode*."
52-
msgstr "默认情况下,asyncio以生产模式运行。为了简化开发,asyncio有一个*debug 模式* 。"
52+
msgstr "默认情况下,asyncio以生产模式运行。为了简化开发,asyncio还有一种*debug 模式* 。"
5353

5454
#: ../../library/asyncio-dev.rst:24
5555
msgid "There are several ways to enable asyncio debug mode:"
@@ -129,7 +129,7 @@ msgid ""
129129
" execution duration in seconds that is considered \"slow\"."
130130
msgstr ""
131131
"执行时间超过100毫秒的回调将会载入日志。属性:attr:`loop.slow_callback_duration` "
132-
"可用于设置以秒为单位的最小执行持续时间被视为“缓慢”。"
132+
"可用于设置以秒为单位的最小执行持续时间,这被视为“缓慢”。"
133133

134134
#: ../../library/asyncio-dev.rst:68
135135
msgid "Concurrency and Multithreading"
@@ -184,6 +184,9 @@ msgid ""
184184
" different OS thread without blocking the OS thread that the event loop runs"
185185
" in."
186186
msgstr ""
187+
"方法 :meth:`loop.run_in_executor` 可以和 "
188+
":class:`concurrent.futures.ThreadPoolExecutor` "
189+
"一起使用,用于在一个不同的操作系统线程中执行阻塞代码,并避免阻塞运行事件循环的那个操作系统线程。"
187190

188191
#: ../../library/asyncio-dev.rst:114
189192
msgid "Running Blocking Code"
@@ -232,6 +235,9 @@ msgid ""
232235
"instead of ``await coro()``) or the coroutine is not scheduled with "
233236
":meth:`asyncio.create_task`, asyncio will emit a :exc:`RuntimeWarning`::"
234237
msgstr ""
238+
"当 coroutine 函数被调用时,如果没有使用 await(等待)命令,即: ``coro()`` 而不是 ``await coro()``) 或者"
239+
" coroutine 没有计划与 方法 :meth:`asyncio.create_task`一起使用,asyncio 将会发出一条 "
240+
":exc:`RuntimeWarning`:: 警告。"
235241

236242
#: ../../library/asyncio-dev.rst:161 ../../library/asyncio-dev.rst:206
237243
msgid "Output::"
@@ -269,4 +275,4 @@ msgstr "未处理异常的例子::"
269275
msgid ""
270276
":ref:`Enable the debug mode <asyncio-debug-mode>` to get the traceback where"
271277
" the task was created::"
272-
msgstr ""
278+
msgstr ":ref:`激活调试模式 <asyncio-debug-mode>` 以获取任务创建处的跟踪信息::"

library/winreg.po

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# focusheart <[email protected]>, 2019
99
# cdarlint <[email protected]>, 2019
1010
# Meng Du <[email protected]>, 2019
11+
# 钢 彭 <[email protected]>, 2019
1112
#
1213
#, fuzzy
1314
msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617
"Report-Msgid-Bugs-To: \n"
1718
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1819
"PO-Revision-Date: 2017-02-16 23:35+0000\n"
19-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
20+
"Last-Translator: 钢 彭 <szhairui@gmail.com>, 2019\n"
2021
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -26,7 +27,7 @@ msgstr ""
2627

2728
#: ../../library/winreg.rst:2
2829
msgid ":mod:`winreg` --- Windows registry access"
29-
msgstr ""
30+
msgstr ":mod:`winreg` --- Windows 注册表访问"
3031

3132
#: ../../library/winreg.rst:12
3233
msgid ""
@@ -35,26 +36,28 @@ msgid ""
3536
"is used to ensure that the handles are closed correctly, even if the "
3637
"programmer neglects to explicitly close them."
3738
msgstr ""
39+
"这些函数将 Windows 注册表 API 暴露给 Python。为了确保即便程序员忽略了显式关闭句柄,该句柄依然能够正确关闭,它使用了一个 "
40+
":ref:`handle 对象 <handle-object>` 而不是整数来作为注册表句柄。"
3841

3942
#: ../../library/winreg.rst:19
4043
msgid ""
4144
"Several functions in this module used to raise a :exc:`WindowsError`, which "
4245
"is now an alias of :exc:`OSError`."
43-
msgstr ""
46+
msgstr "该模块种的几个函数被用于引发 :exc:`WindowsError`,此处它们是 :exc:`OSError`的别名。"
4447

4548
#: ../../library/winreg.rst:26
4649
msgid "Functions"
4750
msgstr "函数"
4851

4952
#: ../../library/winreg.rst:28
5053
msgid "This module offers the following functions:"
51-
msgstr ""
54+
msgstr "该模块提供了下列函数:"
5255

5356
#: ../../library/winreg.rst:33
5457
msgid ""
5558
"Closes a previously opened registry key. The *hkey* argument specifies a "
5659
"previously opened key."
57-
msgstr ""
60+
msgstr "关闭之前打开的注册表关键字。参数 *hkey* 指之前打开的那个关键字。"
5861

5962
#: ../../library/winreg.rst:38
6063
msgid ""

0 commit comments

Comments
 (0)