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

Skip to content

Commit f992356

Browse files
[po] auto sync
1 parent 29faf07 commit f992356

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

library/xml.dom.po

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -804,27 +804,29 @@ msgid ""
804804
"You need to explicitly insert it with one of the other methods such as "
805805
":meth:`insertBefore` or :meth:`appendChild`."
806806
msgstr ""
807+
"创建并返回一个新的带有命名空间的元素。 *tagName* 可以带有前缀。 当元素被创建时不会被插入到文档中。 你需要通过某个其他方法例如 "
808+
":meth:`insertBefore` 或 :meth:`appendChild` 来显式地插入它。"
807809

808810
#: ../../library/xml.dom.rst:532
809811
msgid ""
810812
"Create and return a text node containing the data passed as a parameter. As"
811813
" with the other creation methods, this one does not insert the node into the"
812814
" tree."
813-
msgstr ""
815+
msgstr "创建并返回一个包含作为形参被传入的数据的文本节点。 与其他创建方法一样,此方法不会将节点插入到树中。"
814816

815817
#: ../../library/xml.dom.rst:539
816818
msgid ""
817819
"Create and return a comment node containing the data passed as a parameter."
818820
" As with the other creation methods, this one does not insert the node into"
819821
" the tree."
820-
msgstr ""
822+
msgstr "创建并返回一个作为形参被传入的数据的注释节点。 与其他创建方法一样,此方法不会将节点插入到树中。"
821823

822824
#: ../../library/xml.dom.rst:546
823825
msgid ""
824826
"Create and return a processing instruction node containing the *target* and "
825827
"*data* passed as parameters. As with the other creation methods, this one "
826828
"does not insert the node into the tree."
827-
msgstr ""
829+
msgstr "创建并返回一个包含作为形参被传入的 *target* 和 *data* 的处理指令节点。 与其他创建方法一样,此方法不会将节点插入到树中。"
828830

829831
#: ../../library/xml.dom.rst:553
830832
msgid ""
@@ -833,6 +835,8 @@ msgid ""
833835
":meth:`setAttributeNode` on the appropriate :class:`Element` object to use "
834836
"the newly created attribute instance."
835837
msgstr ""
838+
"创建并返回一个属性节点。 此方法不会将属性关联到任何特定的元素。 你必须在正确的 :class:`Element` 对象上使用 "
839+
":meth:`setAttributeNode` 来使用新创建的属性实例。"
836840

837841
#: ../../library/xml.dom.rst:561
838842
msgid ""
@@ -842,19 +846,22 @@ msgid ""
842846
"appropriate :class:`Element` object to use the newly created attribute "
843847
"instance."
844848
msgstr ""
849+
"创建并返回一个带有命名空间的属性节点。 *tagName* 可以带有前缀。 此方法不会将属性节点关联到任何特定的元素。 你必须在正确的 "
850+
":class:`Element` 对象上使用 :meth:`setAttributeNode` 来使用新创建的属性实例。"
845851

846852
#: ../../library/xml.dom.rst:569
847853
msgid ""
848854
"Search for all descendants (direct children, children's children, etc.) with"
849855
" a particular element type name."
850-
msgstr ""
856+
msgstr "搜索全部具有特定元素类型名称的后继元素(直接下级、下级的下级等等)。"
851857

852858
#: ../../library/xml.dom.rst:575
853859
msgid ""
854860
"Search for all descendants (direct children, children's children, etc.) with"
855861
" a particular namespace URI and localname. The localname is the part of the"
856862
" namespace after the prefix."
857863
msgstr ""
864+
"搜索全部具有特定命名空间 URI 和 localname 的后继元素(直接下级、下级的下级等等)。 localname 是命名空间在前缀之后的部分。"
858865

859866
#: ../../library/xml.dom.rst:583
860867
msgid "Element Objects"
@@ -864,13 +871,13 @@ msgstr "元素对象"
864871
msgid ""
865872
":class:`Element` is a subclass of :class:`Node`, so inherits all the "
866873
"attributes of that class."
867-
msgstr ""
874+
msgstr ":class:`Element` 是 :class:`Node` 的子类,因此会继承该类的全部属性。"
868875

869876
#: ../../library/xml.dom.rst:591
870877
msgid ""
871878
"The element type name. In a namespace-using document it may have colons in "
872879
"it. The value is a string."
873-
msgstr ""
880+
msgstr "元素类型名称。 在使用命名空间的文档中它可能包含冒号。 该值是一个字符串。"
874881

875882
#: ../../library/xml.dom.rst:597 ../../library/xml.dom.rst:602
876883
msgid "Same as equivalent method in the :class:`Document` class."

0 commit comments

Comments
 (0)