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

Skip to content

Commit 9716178

Browse files
[po] auto sync
1 parent 7d77824 commit 9716178

2 files changed

Lines changed: 22 additions & 8 deletions

File tree

c-api/gcsupport.po

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Translators:
77
# Makdon <[email protected]>, 2019
8-
# Freesand Leo <[email protected]>, 2020
8+
# Freesand Leo <[email protected]>, 2021
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2021-05-29 06:28+0000\n"
1616
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
17-
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
17+
"Last-Translator: Freesand Leo <[email protected]>, 2021\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -80,6 +80,8 @@ msgid ""
8080
":c:member:`~PyTypeObject.tp_traverse` handler or explicitly use one from its"
8181
" subclass or subclasses."
8282
msgstr ""
83+
"如果一个类型添加了 Py_TPFLAGS_HAVE_GC,则它 *必须* 实现至少一个 "
84+
":c:member:`~PyTypeObject.tp_traverse` 句柄或显式地使用来自其一个或多个子类的句柄。"
8385

8486
#: ../../c-api/gcsupport.rst:41
8587
msgid ""
@@ -91,6 +93,11 @@ msgid ""
9193
"class that implements the garbage collector protocol and the child class "
9294
"does *not* include the :const:`Py_TPFLAGS_HAVE_GC` flag."
9395
msgstr ""
96+
"当调用 :c:func:`PyType_Ready` 或者 API 中某些间接调用它的函数例如 "
97+
":c:func:`PyType_FromSpecWithBases` 或 :c:func:`PyType_FromSpec` 时解释器就自动填充 "
98+
":c:member:`~PyTypeObject.tp_flags`, :c:member:`~PyTypeObject.tp_traverse` 和 "
99+
":c:member:`~PyTypeObject.tp_clear` 字段,如果该类型是继承自实现了垃圾回收器协议的类并且该子类 *没有* 包括 "
100+
":const:`Py_TPFLAGS_HAVE_GC` 旗标的话。"
94101

95102
#: ../../c-api/gcsupport.rst:51
96103
msgid ""

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)