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

Skip to content

Commit 92b88fb

Browse files
[po] auto sync
1 parent cc40718 commit 92b88fb

1 file changed

Lines changed: 25 additions & 18 deletions

File tree

library/xml.sax.reader.po

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

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

397397
#: ../../library/xml.sax.reader.rst:312
398398
msgid "Get the byte stream for this input source."
399-
msgstr ""
399+
msgstr "获取此输入源的字节流。"
400400

401401
#: ../../library/xml.sax.reader.rst:314
402402
msgid ""
403403
"The getEncoding method will return the character encoding for this byte "
404404
"stream, or ``None`` if unknown."
405-
msgstr ""
405+
msgstr "getEncoding 方法将返回该字节流的字符编码格式,如果未知则返回 ``None``。"
406406

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

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

418418
#: ../../library/xml.sax.reader.rst:328
419419
msgid "Get the character stream for this input source."
420-
msgstr ""
420+
msgstr "获取此输入源的字符流。"
421421

422422
#: ../../library/xml.sax.reader.rst:334
423423
msgid "The :class:`Attributes` Interface"
424-
msgstr ""
424+
msgstr ":class:`Attributes` 接口"
425425

426426
#: ../../library/xml.sax.reader.rst:336
427427
msgid ""
@@ -433,51 +433,58 @@ msgid ""
433433
":meth:`~collections.abc.Mapping.values`. The following methods are also "
434434
"provided:"
435435
msgstr ""
436+
":class:`Attributes` 对象实现了一部分 :term:`映射协议 <mapping>`,包括 "
437+
":meth:`~collections.abc.Mapping.copy`, :meth:`~collections.abc.Mapping.get`,"
438+
" :meth:`~object.__contains__`, :meth:`~collections.abc.Mapping.items`, "
439+
":meth:`~collections.abc.Mapping.keys` 和 "
440+
":meth:`~collections.abc.Mapping.values` 等方法。 还提供了下列方法:"
436441

437442
#: ../../library/xml.sax.reader.rst:346
438443
msgid "Return the number of attributes."
439-
msgstr ""
444+
msgstr "返回属性的数量。"
440445

441446
#: ../../library/xml.sax.reader.rst:351
442447
msgid "Return the names of the attributes."
443-
msgstr ""
448+
msgstr "返回属性的名称。"
444449

445450
#: ../../library/xml.sax.reader.rst:356
446451
msgid ""
447452
"Returns the type of the attribute *name*, which is normally ``'CDATA'``."
448-
msgstr ""
453+
msgstr "返回属性 *name* 的类型,通常为 ``'CDATA'``。"
449454

450455
#: ../../library/xml.sax.reader.rst:361
451456
msgid "Return the value of attribute *name*."
452-
msgstr ""
457+
msgstr "返回属性 *name* 的值。"
453458

454459
#: ../../library/xml.sax.reader.rst:370
455460
msgid "The :class:`AttributesNS` Interface"
456-
msgstr ""
461+
msgstr ":class:`AttributesNS` 接口"
457462

458463
#: ../../library/xml.sax.reader.rst:372
459464
msgid ""
460465
"This interface is a subtype of the :class:`Attributes` interface (see "
461466
"section :ref:`attributes-objects`). All methods supported by that interface"
462467
" are also available on :class:`AttributesNS` objects."
463468
msgstr ""
469+
"此接口是 :class:`Attributes` 接口(参见 :ref:`attributes-objects` 章节)的一个子类型。 "
470+
"那个接口所支持的所有方法在 :class:`AttributesNS` 对象上也都可用。"
464471

465472
#: ../../library/xml.sax.reader.rst:376
466473
msgid "The following methods are also available:"
467-
msgstr ""
474+
msgstr "下列方法也是可用的:"
468475

469476
#: ../../library/xml.sax.reader.rst:381
470477
msgid "Return the value for a qualified name."
471-
msgstr ""
478+
msgstr "返回一个限定名称的值。"
472479

473480
#: ../../library/xml.sax.reader.rst:386
474481
msgid "Return the ``(namespace, localname)`` pair for a qualified *name*."
475-
msgstr ""
482+
msgstr "返回限定名称 *name* 的 ``(namespace, localname)`` 对。"
476483

477484
#: ../../library/xml.sax.reader.rst:391
478485
msgid "Return the qualified name for a ``(namespace, localname)`` pair."
479-
msgstr ""
486+
msgstr "返回 ``(namespace, localname)`` 对的限定名称。"
480487

481488
#: ../../library/xml.sax.reader.rst:396
482489
msgid "Return the qualified names of all attributes."
483-
msgstr ""
490+
msgstr "返回所有属性的限定名称。"

0 commit comments

Comments
 (0)