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

Skip to content

Commit c10ef88

Browse files
[po] auto sync
1 parent 7974da2 commit c10ef88

2 files changed

Lines changed: 28 additions & 20 deletions

File tree

library/pyexpat.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# eric R <[email protected]>, 2019
88
# Menghua Xiao <[email protected]>, 2019
99
# ppcfish <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2021
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2021-01-01 16:02+0000\n"
1718
"PO-Revision-Date: 2019-09-01 03:16+0000\n"
18-
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\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"
@@ -25,7 +26,7 @@ msgstr ""
2526

2627
#: ../../library/pyexpat.rst:2
2728
msgid ":mod:`xml.parsers.expat` --- Fast XML parsing using Expat"
28-
msgstr ""
29+
msgstr ":mod:`xml.parsers.expat` --- 使用 Expat 的快速 XML 解析"
2930

3031
#: ../../library/pyexpat.rst:21
3132
msgid ""

library/xml.sax.reader.po

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -378,42 +378,42 @@ msgid ""
378378
"The SAX parser will ignore this if there is also a character stream "
379379
"specified, but it will use a byte stream in preference to opening a URI "
380380
"connection itself."
381-
msgstr ""
381+
msgstr "如果还指定了一个字符流被则 SAX 解析器会忽略此设置,但它将优先使用字节流而不是自己打开一个 URI 连接。"
382382

383383
#: ../../library/xml.sax.reader.rst:302
384384
msgid ""
385385
"If the application knows the character encoding of the byte stream, it "
386386
"should set it with the setEncoding method."
387-
msgstr ""
387+
msgstr "如果应用程序知道字节流的字符编码格式,它应当使用 setEncoding 方法来设置它。"
388388

389389
#: ../../library/xml.sax.reader.rst:308
390390
msgid "Get the byte stream for this input source."
391-
msgstr ""
391+
msgstr "获取此输入源的字节流。"
392392

393393
#: ../../library/xml.sax.reader.rst:310
394394
msgid ""
395395
"The getEncoding method will return the character encoding for this byte "
396396
"stream, or ``None`` if unknown."
397-
msgstr ""
397+
msgstr "getEncoding 方法将返回该字节流的字符编码格式,如果未知则返回 ``None``。"
398398

399399
#: ../../library/xml.sax.reader.rst:316
400400
msgid "Set the character stream (a :term:`text file`) for this input source."
401-
msgstr ""
401+
msgstr "设置此输入源的字符流 (为 :term:`text file` 对象)。"
402402

403403
#: ../../library/xml.sax.reader.rst:318
404404
msgid ""
405405
"If there is a character stream specified, the SAX parser will ignore any "
406406
"byte stream and will not attempt to open a URI connection to the system "
407407
"identifier."
408-
msgstr ""
408+
msgstr "如果指定了一个字符流,SAX 解析器将忽略任何字节流并且不会尝试打开一个指向系统标识符的 URI 连接。"
409409

410410
#: ../../library/xml.sax.reader.rst:324
411411
msgid "Get the character stream for this input source."
412-
msgstr ""
412+
msgstr "获取此输入源的字符流。"
413413

414414
#: ../../library/xml.sax.reader.rst:330
415415
msgid "The :class:`Attributes` Interface"
416-
msgstr ""
416+
msgstr ":class:`Attributes` 接口"
417417

418418
#: ../../library/xml.sax.reader.rst:332
419419
msgid ""
@@ -425,51 +425,58 @@ msgid ""
425425
":meth:`~collections.abc.Mapping.values`. The following methods are also "
426426
"provided:"
427427
msgstr ""
428+
":class:`Attributes` 对象实现了一部分 :term:`映射协议 <mapping>`,包括 "
429+
":meth:`~collections.abc.Mapping.copy`, :meth:`~collections.abc.Mapping.get`,"
430+
" :meth:`~object.__contains__`, :meth:`~collections.abc.Mapping.items`, "
431+
":meth:`~collections.abc.Mapping.keys` 和 "
432+
":meth:`~collections.abc.Mapping.values` 等方法。 还提供了下列方法:"
428433

429434
#: ../../library/xml.sax.reader.rst:342
430435
msgid "Return the number of attributes."
431-
msgstr ""
436+
msgstr "返回属性的数量。"
432437

433438
#: ../../library/xml.sax.reader.rst:347
434439
msgid "Return the names of the attributes."
435-
msgstr ""
440+
msgstr "返回属性的名称。"
436441

437442
#: ../../library/xml.sax.reader.rst:352
438443
msgid ""
439444
"Returns the type of the attribute *name*, which is normally ``'CDATA'``."
440-
msgstr ""
445+
msgstr "返回属性 *name* 的类型,通常为 ``'CDATA'``。"
441446

442447
#: ../../library/xml.sax.reader.rst:357
443448
msgid "Return the value of attribute *name*."
444-
msgstr ""
449+
msgstr "返回属性 *name* 的值。"
445450

446451
#: ../../library/xml.sax.reader.rst:366
447452
msgid "The :class:`AttributesNS` Interface"
448-
msgstr ""
453+
msgstr ":class:`AttributesNS` 接口"
449454

450455
#: ../../library/xml.sax.reader.rst:368
451456
msgid ""
452457
"This interface is a subtype of the :class:`Attributes` interface (see "
453458
"section :ref:`attributes-objects`). All methods supported by that interface"
454459
" are also available on :class:`AttributesNS` objects."
455460
msgstr ""
461+
"此接口是 :class:`Attributes` 接口(参见 :ref:`attributes-objects` 章节)的一个子类型。 "
462+
"那个接口所支持的所有方法在 :class:`AttributesNS` 对象上也都可用。"
456463

457464
#: ../../library/xml.sax.reader.rst:372
458465
msgid "The following methods are also available:"
459-
msgstr ""
466+
msgstr "下列方法也是可用的:"
460467

461468
#: ../../library/xml.sax.reader.rst:377
462469
msgid "Return the value for a qualified name."
463-
msgstr ""
470+
msgstr "返回一个限定名称的值。"
464471

465472
#: ../../library/xml.sax.reader.rst:382
466473
msgid "Return the ``(namespace, localname)`` pair for a qualified *name*."
467-
msgstr ""
474+
msgstr "返回限定名称 *name* 的 ``(namespace, localname)`` 对。"
468475

469476
#: ../../library/xml.sax.reader.rst:387
470477
msgid "Return the qualified name for a ``(namespace, localname)`` pair."
471-
msgstr ""
478+
msgstr "返回 ``(namespace, localname)`` 对的限定名称。"
472479

473480
#: ../../library/xml.sax.reader.rst:392
474481
msgid "Return the qualified names of all attributes."
475-
msgstr ""
482+
msgstr "返回所有属性的限定名称。"

0 commit comments

Comments
 (0)