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

Skip to content

Commit c2c9a93

Browse files
[po] auto sync
1 parent 296da4d commit c2c9a93

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

library/logging.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,9 @@ msgid ""
379379
"formatting exception will occur. So in this case, you always need to pass "
380380
"the *extra* dictionary with these keys."
381381
msgstr ""
382-
"如果在已记录的消息中使用这些属性,则需要格外小心。例如,在上面的示例中,:class:`Formatter` 已设置了格式字符串,其在 "
382+
"格式字符串如果在已记录的消息中使用这些属性,则需要格外小心。例如,在上面的示例中,:class:`Formatter` 已设置了格式字符串,其在 "
383383
":class:`LogRecord` 的属性字典中键值为 “clientip” 和 "
384-
"“user”。如果缺少这些内容,则将不会记录该消息,因为会引发字符串格式化异常。因此,在这种情况下,您始终需要使用这些键传递 *extra* 字典。"
384+
"“user”。如果缺少这些内容,则将不会记录该消息,因为会引发字符串格式化异常。因此,在这种情况下,您始终需要使用 *extra* 字典传递这些键。"
385385

386386
#: ../../library/logging.rst:229 ../../library/logging.rst:1014
387387
msgid ""
@@ -402,7 +402,7 @@ msgstr "增加了 *stack_info* 参数。"
402402

403403
#: ../../library/logging.rst:239
404404
msgid "The *exc_info* parameter can now accept exception instances."
405-
msgstr " *exc_info* 现在可以接受异常实例。"
405+
msgstr " *exc_info* 参数现在可以接受异常实例。"
406406

407407
#: ../../library/logging.rst:242
408408
msgid "The *stacklevel* parameter was added."

library/xml.dom.minidom.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ msgstr ""
7171
msgid ""
7272
"If you have XML in a string, you can use the :func:`parseString` function "
7373
"instead:"
74-
msgstr ""
74+
msgstr "如果你将 XML 存放为字符串,则可以改用 :func:`parseString` 函数:"
7575

7676
#: ../../library/xml.dom.minidom.rst:58
7777
msgid ""

library/xml.dom.pulldom.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,24 @@ msgid ""
137137
"other parser configuration (like setting an entity resolver) must have been "
138138
"done in advance."
139139
msgstr ""
140+
"基于给定的输入返回一个 :class:`DOMEventStream`。 *stream_or_string* 可以是一个文件名,或是一个文件类对象。 "
141+
"*parser* 如果给出,则必须是一个 :class:`~xml.sax.xmlreader.XMLReader` 对象。 "
142+
"此函数将改变解析器的文档处理程序并激活命名空间支持;其他解析器配置(例如设置实体解析器)必须在之前已完成。"
140143

141144
#: ../../library/xml.dom.pulldom.rst:97
142145
msgid ""
143146
"If you have XML in a string, you can use the :func:`parseString` function "
144147
"instead:"
145-
msgstr ""
148+
msgstr "如果你将 XML 存放为字符串,则可以改用 :func:`parseString` 函数:"
146149

147150
#: ../../library/xml.dom.pulldom.rst:101
148151
msgid ""
149152
"Return a :class:`DOMEventStream` that represents the (Unicode) *string*."
150-
msgstr ""
153+
msgstr "返回一个 :class:`DOMEventStream` 来表示 (Unicode) *string*。"
151154

152155
#: ../../library/xml.dom.pulldom.rst:105
153156
msgid "Default value for the *bufsize* parameter to :func:`parse`."
154-
msgstr ""
157+
msgstr "将 *bufsize* 形参的默认值设为 :func:`parse`。"
155158

156159
#: ../../library/xml.dom.pulldom.rst:107
157160
msgid ""

0 commit comments

Comments
 (0)