88# dannyvi <[email protected] >, 201899# Meng Du <[email protected] >, 20191010# ppcfish <[email protected] >, 201911- # Freesand Leo <[email protected] >, 20211211# Jiuh-star <[email protected] >, 202112+ # Freesand Leo <[email protected] >, 20211313#
1414#, fuzzy
1515msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818"Report-Msgid-Bugs-To : \n "
1919"POT-Creation-Date : 2021-01-01 05:02+0000\n "
2020"PO-Revision-Date : 2017-02-16 23:36+0000\n "
21- "Last-Translator : Jiuh-star <jiuh.star@gmail .com>, 2021\n "
21+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2021\n "
2222"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2323"MIME-Version : 1.0\n "
2424"Content-Type : text/plain; charset=UTF-8\n "
@@ -884,52 +884,55 @@ msgstr "元素类型名称。 在使用命名空间的文档中它可能包含
884884
885885#: ../../library/xml.dom.rst:597 ../../library/xml.dom.rst:602
886886msgid "Same as equivalent method in the :class:`Document` class."
887- msgstr ""
887+ msgstr "与 :class:`Document` 类中的对应方法相同。 "
888888
889889#: ../../library/xml.dom.rst:607
890890msgid "Return ``True`` if the element has an attribute named by *name*."
891- msgstr ""
891+ msgstr "如果元素带有名称为 *name* 的属性则返回 ``True``。 "
892892
893893#: ../../library/xml.dom.rst:612
894894msgid ""
895895"Return ``True`` if the element has an attribute named by *namespaceURI* and "
896896"*localName*."
897- msgstr ""
897+ msgstr "如果元素带有名称为 *namespaceURI* 加 *localName* 的属性则返回 ``True``。 "
898898
899899#: ../../library/xml.dom.rst:618
900900msgid ""
901901"Return the value of the attribute named by *name* as a string. If no such "
902902"attribute exists, an empty string is returned, as if the attribute had no "
903903"value."
904- msgstr ""
904+ msgstr "将名称为 *name* 的属性的值作为字符串返回。 如果指定属性不存在,则返回空字符串,就像该属性没有对应的值一样。 "
905905
906906#: ../../library/xml.dom.rst:624
907907msgid "Return the :class:`Attr` node for the attribute named by *attrname*."
908- msgstr ""
908+ msgstr "返回名称为 *attrname* 的属性对应的 :class:`Attr` 节点。 "
909909
910910#: ../../library/xml.dom.rst:629
911911msgid ""
912912"Return the value of the attribute named by *namespaceURI* and *localName* as"
913913" a string. If no such attribute exists, an empty string is returned, as if "
914914"the attribute had no value."
915915msgstr ""
916+ "将名称为 *namespaceURI* 加 *localName* 的属性的值作为字符串返回。 "
917+ "如果指定属性不存在,则返回空字符串,就像该属性没有对应的值一样。"
916918
917919#: ../../library/xml.dom.rst:636
918920msgid ""
919921"Return an attribute value as a node, given a *namespaceURI* and *localName*."
920- msgstr ""
922+ msgstr "将给定 *namespaceURI* 加 *localName* 的属性的值作为节点返回。 "
921923
922924#: ../../library/xml.dom.rst:641
923925msgid ""
924926"Remove an attribute by name. If there is no matching attribute, a "
925927":exc:`NotFoundErr` is raised."
926- msgstr ""
928+ msgstr "移除指定名称的节点。 如果没有匹配的属性,则会引发 :exc:`NotFoundErr`。 "
927929
928930#: ../../library/xml.dom.rst:647
929931msgid ""
930932"Remove and return *oldAttr* from the attribute list, if present. If "
931933"*oldAttr* is not present, :exc:`NotFoundErr` is raised."
932934msgstr ""
935+ "从属性列表中移除并返回 *oldAttr*,如果该属性存在的话。 如果 *oldAttr* 不存在,则会引发 :exc:`NotFoundErr`。"
933936
934937#: ../../library/xml.dom.rst:653
935938msgid ""
0 commit comments