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

Skip to content

Commit a3be14e

Browse files
committed
[po] auto sync bot
1 parent 5040dfb commit a3be14e

3 files changed

Lines changed: 22 additions & 15 deletions

File tree

howto/logging-cookbook.po

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# Fei Yin <[email protected]>, 2018
88
# 欢 王 <[email protected]>, 2018
99
# Meng Du <[email protected]>, 2019
10-
# Freesand Leo <[email protected]>, 2019
1110
# 非法操作 <[email protected]>, 2019
11+
# Freesand Leo <[email protected]>, 2019
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1919
"PO-Revision-Date: 2017-02-16 17:45+0000\n"
20-
"Last-Translator: 非法操作 <ultrahe@gmail.com>, 2019\n"
20+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
2121
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -218,7 +218,10 @@ msgid ""
218218
"suggestion to attach only ``QueueHandlers`` to your loggers) for the benefit"
219219
" of other developers who will use your code."
220220
msgstr ""
221-
"一种解决方案是分成两部分去处理。第一部分,针对那些对性能有要求的关键线程的日志记录附加一个:class:`QueueHandler`。日志记录器只需简单写入队列,该队列可以设置一个足够大的容量甚至不设置容量上限。通常写入队列是一个快速的操作,即使可能需要在代码中去捕获例如:exc:`queue.Full`等异常。如果你是一名处理关键线程的开发者,请务必记录这些信息(包括建议为日志处理器附加``QueueHandlers``)以便于其他开发者使用你的代码。"
221+
"一种解决方案是分成两部分去处理。第一部分,针对那些对性能有要求的关键线程的日志记录附加一个 :class:`QueueHandler`。 "
222+
"日志记录器只需简单写入队列,该队列可以设置一个足够大的容量甚至不设置容量上限。通常写入队列是一个快速的操作,即使可能需要在代码中去捕获例如 "
223+
":exc:`queue.Full` 等异常。 如果你是一名处理关键线程的开发者,请务必记录这些信息 (包括建议只为日志处理器附加 "
224+
"``QueueHandlers``) 以便于其他开发者使用你的代码。"
222225

223226
#: ../../howto/logging-cookbook.rst:357
224227
msgid ""
@@ -230,9 +233,9 @@ msgid ""
230233
"``LogRecords``, for that matter). The ``LogRecords`` are removed from the "
231234
"queue and passed to the handlers for processing."
232235
msgstr ""
233-
"另一部分是设计一个对应的 "
234-
":class:`QueueListener`。它接收一个队列和日志处理器,使用内置的线程监听从``QueueHandlers``(或其他``LogRecords``来源)发送过来的日志记录队列。``LogRecords``"
235-
" 会从队列中移除并被日志处理器处理。"
236+
"另一部分是设计一个对应的 :class:`QueueListener`。 它接收一个队列和日志处理器,使用内置的线程监听从 "
237+
"``QueueHandlers`` (或其他 ``LogRecords`` 来源) 发送过来的日志记录队列。``LogRecords`` "
238+
"会从队列中移除并被日志处理器处理。"
236239

237240
#: ../../howto/logging-cookbook.rst:365
238241
msgid ""

library/concurrent.futures.po

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2019
87
# MuSheng Chen <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2019
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1616
"PO-Revision-Date: 2017-02-16 23:03+0000\n"
17-
"Last-Translator: MuSheng Chen <sheng.2179@gmail.com>, 2019\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -80,7 +80,7 @@ msgstr "应立即收集 *iterables* 不要延迟再收集;"
8080
msgid ""
8181
"*func* is executed asynchronously and several calls to *func* may be made "
8282
"concurrently."
83-
msgstr "*func*是异步执行的以及对*func*的调用可以同时执行。"
83+
msgstr "*func* 是异步执行的且对 *func* 的调用可以并发执行。"
8484

8585
#: ../../library/concurrent.futures.rst:50
8686
msgid ""
@@ -109,9 +109,10 @@ msgid ""
109109
"*chunksize* can significantly improve performance compared to the default "
110110
"size of 1. With :class:`ThreadPoolExecutor`, *chunksize* has no effect."
111111
msgstr ""
112-
"使用:class:`ProcessPoolExecutor`时,它会将 *iterables* "
113-
"分割任务块并作为独立的任务并提交到执行池中。这些块的大概数量可以由*chunksize*指定正整数设置。对很长的迭代器来说,使用大的*chunksize*值比默认值1能显著地提高性能。*chunksize*对"
114-
" :class:`ThreadPoolExecutor`没有效果。"
112+
"使用 :class:`ProcessPoolExecutor` 时,它会将 *iterables* "
113+
"分割任务块并作为独立的任务并提交到执行池中。这些块的大概数量可以由 *chunksize* 指定正整数设置。 对很长的迭代器来说,使用大的 "
114+
"*chunksize* 值比默认值 1 能显著地提高性能。 *chunksize* 对 :class:`ThreadPoolExecutor` "
115+
"没有效果。"
115116

116117
#: ../../library/concurrent.futures.rst:67
117118
msgid "Added the *chunksize* argument."
@@ -148,8 +149,8 @@ msgid ""
148149
"(waiting as if :meth:`Executor.shutdown` were called with *wait* set to "
149150
"``True``)::"
150151
msgstr ""
151-
"如果使用:keyword:`with`语句,你就可以避免显式调用这个方法,它将会停止 "
152-
":class:`Executor`(就好像:meth:`Executor.shutdown`调用时*wait*设为``True``一样等待)::"
152+
"如果使用 :keyword:`with` 语句,你就可以避免显式调用这个方法,它将会停止 :class:`Executor` (就好像 "
153+
":meth:`Executor.shutdown` 调用时 *wait* 设为 ``True`` 一样等待)::"
153154

154155
#: ../../library/concurrent.futures.rst:99
155156
msgid "ThreadPoolExecutor"

library/html.parser.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Fred <[email protected]>, 2018
88
# Shengjing Zhu <[email protected]>, 2019
99
# walkinrain <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2019
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1718
"PO-Revision-Date: 2017-02-16 23:13+0000\n"
18-
"Last-Translator: walkinrain <walkinrain2008@163.com>, 2019\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -137,6 +138,8 @@ msgid ""
137138
"with HTML \"as deployed\" or for re-generating input with minimal changes "
138139
"(whitespace between attributes can be preserved, etc.)."
139140
msgstr ""
141+
"返回最近打开的开始标记中的文本。 结构化处理时通常应该不需要这个,但在处理“已部署”的 HTML "
142+
"或是在以最小改变来重新生成输入时可能会有用处(例如可以保留属性间的空格等)。"
140143

141144
#: ../../library/html.parser.rst:122
142145
msgid ""

0 commit comments

Comments
 (0)