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

Skip to content

Commit 154e2b0

Browse files
[po] auto sync
1 parent 8c2efd1 commit 154e2b0

2 files changed

Lines changed: 19 additions & 11 deletions

File tree

library/asynchat.po

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,53 +191,53 @@ msgid ""
191191
"Sets the terminating condition to be recognized on the channel. ``term`` "
192192
"may be any of three types of value, corresponding to three different ways to"
193193
" handle incoming protocol data."
194-
msgstr ""
194+
msgstr "设置可在通道上被识别的终结条件。 ``term`` 可以是三种类型值中的任意一种 ,对应于处理入站协议数据的三种不同方式。"
195195

196196
#: ../../library/asynchat.rst:137
197197
msgid "term"
198-
msgstr ""
198+
msgstr "term"
199199

200200
#: ../../library/asynchat.rst:137
201201
msgid "Description"
202202
msgstr "描述"
203203

204204
#: ../../library/asynchat.rst:139
205205
msgid "*string*"
206-
msgstr ""
206+
msgstr "*string*"
207207

208208
#: ../../library/asynchat.rst:139
209209
msgid ""
210210
"Will call :meth:`found_terminator` when the string is found in the input "
211211
"stream"
212-
msgstr ""
212+
msgstr "当在输入流中发现该字符串时将会调用 :meth:`found_terminator`"
213213

214214
#: ../../library/asynchat.rst:142
215215
msgid "*integer*"
216-
msgstr ""
216+
msgstr "*integer*"
217217

218218
#: ../../library/asynchat.rst:142
219219
msgid ""
220220
"Will call :meth:`found_terminator` when the indicated number of characters "
221221
"have been received"
222-
msgstr ""
222+
msgstr "当接收到指定数量的字符时将会调用 :meth:`found_terminator`"
223223

224224
#: ../../library/asynchat.rst:146
225225
msgid "``None``"
226226
msgstr "``None``"
227227

228228
#: ../../library/asynchat.rst:146
229229
msgid "The channel continues to collect data forever"
230-
msgstr ""
230+
msgstr "通道会不断地持续收集数据"
231231

232232
#: ../../library/asynchat.rst:150
233233
msgid ""
234234
"Note that any data following the terminator will be available for reading by"
235235
" the channel after :meth:`found_terminator` is called."
236-
msgstr ""
236+
msgstr "请注意终结器之后的任何数据将可在 :meth:`found_terminator` 被调用后由通道来读取。"
237237

238238
#: ../../library/asynchat.rst:157
239239
msgid "asynchat Example"
240-
msgstr ""
240+
msgstr "asynchat 示例"
241241

242242
#: ../../library/asynchat.rst:159
243243
msgid ""
@@ -248,6 +248,9 @@ msgid ""
248248
"at the end of the HTTP headers, and a flag indicates that the headers are "
249249
"being read."
250250
msgstr ""
251+
"下面的例子片段显示了如何通过 :class:`async_chat` 来读取 HTTP 请求。 Web 服务器可以为每个入站的客户端连接创建 "
252+
":class:`http_request_handler` 对象。 请注意在初始时通道终结器会被设置为匹配 HTTP "
253+
"标头末尾的空行,并且会用一个旗标来指明标头正在被读取。"
251254

252255
#: ../../library/asynchat.rst:166
253256
msgid ""
@@ -256,10 +259,14 @@ msgid ""
256259
"Length:`` header is used to set a numeric terminator to read the right "
257260
"amount of data from the channel."
258261
msgstr ""
262+
"一旦完成了标头的读取,如果请求类型为 POST (表明输入流中存在更多的数据) 则会使用 ``Content-Length:`` "
263+
"标头来设置一个数值终结器以从通道读取适当数量的数据。"
259264

260265
#: ../../library/asynchat.rst:171
261266
msgid ""
262267
"The :meth:`handle_request` method is called once all relevant input has been"
263268
" marshalled, after setting the channel terminator to ``None`` to ensure that"
264269
" any extraneous data sent by the web client are ignored. ::"
265270
msgstr ""
271+
"一旦完成了对所有相关输入的处理,将会在设置通道终结器为 ``None`` 以确保忽略掉 Web 客户端所发送的任何无关数据之后调用 "
272+
":meth:`handle_request` 方法。 ::"

library/signal.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Menghua Xiao <[email protected]>, 2018
88
# cdarlint <[email protected]>, 2019
99
# Meng Du <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2020
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2020-12-21 04:56+0000\n"
1718
"PO-Revision-Date: 2017-02-16 23:26+0000\n"
18-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\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"
@@ -169,7 +170,7 @@ msgstr ""
169170
#: ../../library/signal.rst:190 ../../library/signal.rst:196
170171
#: ../../library/signal.rst:447 ../../library/signal.rst:454
171172
msgid ":ref:`Availability <availability>`: Unix."
172-
msgstr ":ref:`Availability <availability>`: Unix."
173+
msgstr ":ref:`可用性 <availability>`: Unix"
173174

174175
#: ../../library/signal.rst:106
175176
msgid "Interrupt from keyboard (CTRL + BREAK)."

0 commit comments

Comments
 (0)