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

Skip to content

Commit 080547b

Browse files
[po] auto sync
1 parent 4929d7c commit 080547b

4 files changed

Lines changed: 32 additions & 10 deletions

File tree

library/concurrent.futures.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ msgstr "如果 futrue 在完成前被取消则 :exc:`.CancelledError` 将被触
415415
#: ../../library/concurrent.futures.rst:353
416416
msgid ""
417417
"If the call raised an exception, this method will raise the same exception."
418-
msgstr ""
418+
msgstr "如果调用引发了一个异常,这个方法也会引发同样的异常。"
419419

420420
#: ../../library/concurrent.futures.rst:357
421421
msgid ""

library/sqlite3.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,11 @@ msgid ""
217217
"strip the preceding space: the column name would simply be \"Expiration "
218218
"date\"."
219219
msgstr ""
220+
"设置此参数可使得 SQLite 接口解析它所返回的每一列的列名。 它将在其中查找形式为 [mytype] 的字符串,然后将 'mytype' "
221+
"确定为列的类型。 它将尝试在转换器字典中查找 'mytype' 条目,然后用找到的转换器函数来返回值。 在 "
222+
":attr:`Cursor.description` 中找到的列名并不包括类型,举例来说,如果你在你的 SQL 中使用了像 ``'as "
223+
"\"Expiration date [datetime]\"'`` 这样的写法,那么我们将解析出在第一个 ``'['`` "
224+
"之前的所有内容并去除前导空格作为列名:即列名将为 \"Expiration date\"。"
220225

221226
#: ../../library/sqlite3.rst:172
222227
msgid ""

library/textwrap.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#
66
# Translators:
77
# ww song <[email protected]>, 2018
8-
# Freesand Leo <[email protected]>, 2020
98
# jaystone776 <[email protected]>, 2020
9+
# Freesand Leo <[email protected]>, 2021
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2021-07-29 07:05+0000\n"
1717
"PO-Revision-Date: 2017-02-16 23:30+0000\n"
18-
"Last-Translator: jaystone776 <1732865113@qq.com>, 2020\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -54,7 +54,7 @@ msgstr "对 *text* (字符串) 中的单独段落自动换行以使每行长度
5454
msgid ""
5555
"Optional keyword arguments correspond to the instance attributes of "
5656
":class:`TextWrapper`, documented below."
57-
msgstr ""
57+
msgstr "可选的关键字参数对应于 :class:`TextWrapper` 的实例属性,具体文档见下。"
5858

5959
#: ../../library/textwrap.rst:33
6060
msgid ""

library/xml.sax.reader.po

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,17 +195,19 @@ msgstr ""
195195

196196
#: ../../library/xml.sax.reader.rst:131
197197
msgid "Return the current :class:`~xml.sax.handler.DTDHandler`."
198-
msgstr ""
198+
msgstr "返回当前的 :class:`~xml.sax.handler.DTDHandler`。"
199199

200200
#: ../../library/xml.sax.reader.rst:136
201201
msgid ""
202202
"Set the current :class:`~xml.sax.handler.DTDHandler`. If no "
203203
":class:`~xml.sax.handler.DTDHandler` is set, DTD events will be discarded."
204204
msgstr ""
205+
"设置当前的 :class:`~xml.sax.handler.DTDHandler`。 如果没有设置 "
206+
":class:`~xml.sax.handler.DTDHandler`,DTD 事件将被德育。"
205207

206208
#: ../../library/xml.sax.reader.rst:143
207209
msgid "Return the current :class:`~xml.sax.handler.EntityResolver`."
208-
msgstr ""
210+
msgstr "返回当前的 :class:`~xml.sax.handler.EntityResolver`。"
209211

210212
#: ../../library/xml.sax.reader.rst:148
211213
msgid ""
@@ -214,20 +216,24 @@ msgid ""
214216
"external entity will result in opening the system identifier for the entity,"
215217
" and fail if it is not available."
216218
msgstr ""
219+
"设置当前的 :class:`~xml.sax.handler.EntityResolver`。 如果没有设置 "
220+
":class:`~xml.sax.handler.EntityResolver`,尝试解析一个外部实体将导致打开该实体的系统标识符,并且如果它不可用则操作将失败。"
217221

218222
#: ../../library/xml.sax.reader.rst:156
219223
msgid "Return the current :class:`~xml.sax.handler.ErrorHandler`."
220-
msgstr ""
224+
msgstr "返回当前的 :class:`~xml.sax.handler.ErrorHandler`。"
221225

222226
#: ../../library/xml.sax.reader.rst:161
223227
msgid ""
224228
"Set the current error handler. If no :class:`~xml.sax.handler.ErrorHandler`"
225229
" is set, errors will be raised as exceptions, and warnings will be printed."
226230
msgstr ""
231+
"设置当前的错误处理句柄。 如果没有设置 "
232+
":class:`~xml.sax.handler.ErrorHandler`,错误将作为异常被引发,并将打印警告信息。"
227233

228234
#: ../../library/xml.sax.reader.rst:167
229235
msgid "Allow an application to set the locale for errors and warnings."
230-
msgstr ""
236+
msgstr "允许应用程序为错误和警告设置语言区域。"
231237

232238
#: ../../library/xml.sax.reader.rst:169
233239
msgid ""
@@ -236,34 +242,45 @@ msgid ""
236242
"raise a SAX exception. Applications may request a locale change in the "
237243
"middle of a parse."
238244
msgstr ""
245+
"SAX 解析器不要求为错误和警告提供本地化信息;但是如果它们无法支持所请求的语言区域,则必须引发一个 SAX 异常。 "
246+
"应用程序可以在解析的中途请求更改语言区域。"
239247

240248
#: ../../library/xml.sax.reader.rst:176
241249
msgid ""
242250
"Return the current setting for feature *featurename*. If the feature is not"
243251
" recognized, :exc:`SAXNotRecognizedException` is raised. The well-known "
244252
"featurenames are listed in the module :mod:`xml.sax.handler`."
245253
msgstr ""
254+
"返回 *featurename* 特性的当前设置。 如果特性无法被识别,则会引发 :exc:`SAXNotRecognizedException`。 在"
255+
" :mod:`xml.sax.handler` 模块中列出了常见的特性名称。"
246256

247257
#: ../../library/xml.sax.reader.rst:183
248258
msgid ""
249259
"Set the *featurename* to *value*. If the feature is not recognized, "
250260
":exc:`SAXNotRecognizedException` is raised. If the feature or its setting is"
251261
" not supported by the parser, *SAXNotSupportedException* is raised."
252262
msgstr ""
263+
"将 *featurename* 设为 *value*。 如果特性无法被识别,则会引发 :exc:`SAXNotRecognizedException`。"
264+
" 如果特性或其设置不被解析器所支持,则会引发 *SAXNotSupportedException*。"
253265

254266
#: ../../library/xml.sax.reader.rst:190
255267
msgid ""
256268
"Return the current setting for property *propertyname*. If the property is "
257269
"not recognized, a :exc:`SAXNotRecognizedException` is raised. The well-known"
258270
" propertynames are listed in the module :mod:`xml.sax.handler`."
259271
msgstr ""
272+
"返回 *propertyname* 属性的当前设置。 如果属性无法被识别,则会引发 :exc:`SAXNotRecognizedException`。 "
273+
"在 :mod:`xml.sax.handler` 模块中列出了常见的属性名称。"
260274

261275
#: ../../library/xml.sax.reader.rst:197
262276
msgid ""
263277
"Set the *propertyname* to *value*. If the property is not recognized, "
264278
":exc:`SAXNotRecognizedException` is raised. If the property or its setting "
265279
"is not supported by the parser, *SAXNotSupportedException* is raised."
266280
msgstr ""
281+
"将 *propertyname* 设为 *value*。 如果属性无法被识别,则会引发 "
282+
":exc:`SAXNotRecognizedException`。 如果属性或其设置不被解析器所支持,则会引发 "
283+
"*SAXNotSupportedException*。"
267284

268285
#: ../../library/xml.sax.reader.rst:205
269286
msgid "IncrementalParser Objects"
@@ -273,11 +290,11 @@ msgstr "IncrementalParser 对象"
273290
msgid ""
274291
"Instances of :class:`IncrementalParser` offer the following additional "
275292
"methods:"
276-
msgstr ""
293+
msgstr ":class:`IncrementalParser` 的实例额外提供了下列方法:"
277294

278295
#: ../../library/xml.sax.reader.rst:212
279296
msgid "Process a chunk of *data*."
280-
msgstr ""
297+
msgstr "处理 *data* 的一个分块。"
281298

282299
#: ../../library/xml.sax.reader.rst:217
283300
msgid ""

0 commit comments

Comments
 (0)