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

Skip to content

Commit d451019

Browse files
[po] auto sync
1 parent 25740fc commit d451019

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

library/xml.dom.po

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,11 +1011,11 @@ msgstr "NamedNodeMap 对象"
10111011

10121012
#: ../../library/xml.dom.rst:722
10131013
msgid ":class:`NamedNodeMap` does *not* inherit from :class:`Node`."
1014-
msgstr ""
1014+
msgstr ":class:`NamedNodeMap` *不是* 继承自 :class:`Node`。"
10151015

10161016
#: ../../library/xml.dom.rst:727
10171017
msgid "The length of the attribute list."
1018-
msgstr ""
1018+
msgstr "属性列表的长度。"
10191019

10201020
#: ../../library/xml.dom.rst:732
10211021
msgid ""
@@ -1024,13 +1024,17 @@ msgid ""
10241024
"Each item is an attribute node. Get its value with the :attr:`value` "
10251025
"attribute."
10261026
msgstr ""
1027+
"返回特定带有索引号的属性。 获取属性的顺序是强制规定的,但在 DOM 的生命期内会保持一致。 其中每一项均为属性节点。 可使用 "
1028+
":attr:`value` 属性获取其值。"
10271029

10281030
#: ../../library/xml.dom.rst:736
10291031
msgid ""
10301032
"There are also experimental methods that give this class more mapping "
10311033
"behavior. You can use them or you can use the standardized "
10321034
":meth:`getAttribute\\*` family of methods on the :class:`Element` objects."
10331035
msgstr ""
1036+
"还有一些试验性方法给予这个类更多的映射行为。 你可以使用这些方法或者使用 :class:`Element` 对象上标准化的 "
1037+
":meth:`getAttribute\\*` 方法族。"
10341038

10351039
#: ../../library/xml.dom.rst:744
10361040
msgid "Comment Objects"
@@ -1040,14 +1044,15 @@ msgstr "注释对象"
10401044
msgid ""
10411045
":class:`Comment` represents a comment in the XML document. It is a subclass"
10421046
" of :class:`Node`, but cannot have child nodes."
1043-
msgstr ""
1047+
msgstr ":class:`Comment` 代表 XML 文档中的注释。 它是 :class:`Node` 的子类,但不能拥有下级节点。"
10441048

10451049
#: ../../library/xml.dom.rst:752
10461050
msgid ""
10471051
"The content of the comment as a string. The attribute contains all "
10481052
"characters between the leading ``<!-``\\ ``-`` and trailing ``-``\\ ``->``, "
10491053
"but does not include them."
10501054
msgstr ""
1055+
"注释的内容是一个字符串。 该属性包含在开头 ``<!-``\\ ``-`` 和末尾 ``-``\\ ``->`` 之间的所有字符,但不包括这两个符号。"
10511056

10521057
#: ../../library/xml.dom.rst:760
10531058
msgid "Text and CDATASection Objects"
@@ -1061,16 +1066,19 @@ msgid ""
10611066
":class:`CDATASection` objects. These two interfaces are identical, but "
10621067
"provide different values for the :attr:`nodeType` attribute."
10631068
msgstr ""
1069+
":class:`Text` 接口代表 XML 文档中的文本。 如果解析器和 DOM 实现支持 DOM 的 XML 扩展,则包裹在 CDATA "
1070+
"标记的节中的部分会被存储到 :class:`CDATASection` 对象中。 这两个接口很相似,但是提供了不同的 :attr:`nodeType` "
1071+
"属性值。"
10641072

10651073
#: ../../library/xml.dom.rst:768
10661074
msgid ""
10671075
"These interfaces extend the :class:`Node` interface. They cannot have child"
10681076
" nodes."
1069-
msgstr ""
1077+
msgstr "这些接口扩展了 :class:`Node` 接口。 它们不能拥有下级节点。"
10701078

10711079
#: ../../library/xml.dom.rst:774
10721080
msgid "The content of the text node as a string."
1073-
msgstr ""
1081+
msgstr "字符串形式的文本节点内容。"
10741082

10751083
#: ../../library/xml.dom.rst:778
10761084
msgid ""
@@ -1081,6 +1089,9 @@ msgid ""
10811089
"whether two adjacent :class:`CDATASection` nodes represent different CDATA "
10821090
"marked sections."
10831091
msgstr ""
1092+
":class:`CDATASection` 节点的使用并不表示该节点代表一个完整的 CDATA 标记节,只是表示该节点的内容是 CDATA 节的一部分。"
1093+
" 单个 CDATA 节可以由文档树中的多个节点来表示。 没有什么办法能确定两个相邻的 :class:`CDATASection` 节点是否代表不同的 "
1094+
"CDATA 标记节。"
10841095

10851096
#: ../../library/xml.dom.rst:788
10861097
msgid "ProcessingInstruction Objects"

0 commit comments

Comments
 (0)