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

Skip to content

Commit edf26bd

Browse files
[po] auto sync
1 parent 5073c73 commit edf26bd

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

library/xml.dom.minidom.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,3 +416,7 @@ msgid ""
416416
"EncodingDecl and https://www.iana.org/assignments/character-sets/character-"
417417
"sets.xhtml."
418418
msgstr ""
419+
"包括在 XML 输出中的编码格式名称应当遵循适当的标准。 例如,\"UTF-8\" 是有效的,但 \"UTF8\" 在 XML "
420+
"文档的声明中是无效的,即使 Python 接受其作为编码格式名称。 详情参见 https://www.w3.org/TR/2006/REC-"
421+
"xml11-20060816/#NT-EncodingDecl 和 https://www.iana.org/assignments"
422+
"/character-sets/character-sets.xhtml。"

library/xml.sax.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,24 @@ msgid ""
9191
"errors. There is no return value; all work must be done by the *handler* "
9292
"passed in."
9393
msgstr ""
94+
"创建一个 SAX 解析器并用它来解析文档。 用于传入文档的 *filename_or_stream* 可以是一个文件名或文件对象。 *handler* "
95+
"形参必须是一个 SAX :class:`~handler.ContentHandler` 实例。 如果给出了 "
96+
"*error_handler*,则它必须是一个 SAX :class:`~handler.ErrorHandler` "
97+
"实例;如果省略,则对于任何错误都将引发 :exc:`SAXParseException`。 此函数没有返回值;所有操作必须由传入的 *handler*"
98+
" 来完成。"
9499

95100
#: ../../library/xml.sax.rst:64
96101
msgid ""
97102
"Similar to :func:`parse`, but parses from a buffer *string* received as a "
98103
"parameter. *string* must be a :class:`str` instance or a :term:`bytes-like "
99104
"object`."
100105
msgstr ""
106+
"类似于 :func:`parse`,但解析对象是作为形参传入的缓冲区 *string*。 *string* 必须为 :class:`str` 实例或者 "
107+
":term:`bytes-like object`。"
101108

102109
#: ../../library/xml.sax.rst:68
103110
msgid "Added support of :class:`str` instances."
104-
msgstr ""
111+
msgstr "增加了对 :class:`str` 实例的支持。"
105112

106113
#: ../../library/xml.sax.rst:71
107114
msgid ""

0 commit comments

Comments
 (0)