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

Skip to content

Commit 8e9c8a4

Browse files
[po] auto sync
1 parent 8ef5b0f commit 8e9c8a4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

library/xml.sax.handler.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ msgid ""
329329
"element and attribute names when the ``feature_namespaces`` feature is "
330330
"enabled (the default)."
331331
msgstr ""
332+
"来自此事件的信息对于一般命名空间处理来说是不必要的:当 ``feature_namespaces`` 特性被启用时(默认)SAX XML "
333+
"读取器将自动为元素和属性名称替换前缀。"
332334

333335
#: ../../library/xml.sax.handler.rst:214
334336
msgid ""
@@ -338,6 +340,8 @@ msgid ""
338340
"events supply the information to the application to expand prefixes in those"
339341
" contexts itself, if necessary."
340342
msgstr ""
343+
"但是也存在一些情况,当应用程序需要在字符数据或属性值中使用前缀,而它们无法被安全地自动扩展;:meth:`startPrefixMapping` 和 "
344+
":meth:`endPrefixMapping` 事件会向应用程序提供信息以便在这些上下文内部扩展前缀,如果有必要的话。"
341345

342346
#: ../../library/xml.sax.handler.rst:222
343347
msgid ""
@@ -348,10 +352,14 @@ msgid ""
348352
"occur after the corresponding :meth:`endElement` event, but their order is "
349353
"not guaranteed."
350354
msgstr ""
355+
"请注意 :meth:`startPrefixMapping` 和 :meth:`endPrefixMapping` "
356+
"事件并不保证能够相对彼此被正确地嵌套:所有 :meth:`startPrefixMapping` 事件都将在对应的 "
357+
":meth:`startElement` 事件之前发生,而所有 :meth:`endPrefixMapping` 事件都将在对应的 "
358+
":meth:`endElement` 事件之后发生,但它们的并不保证一致。"
351359

352360
#: ../../library/xml.sax.handler.rst:232
353361
msgid "End the scope of a prefix-URI mapping."
354-
msgstr ""
362+
msgstr "结束一个前缀 URI 映射的范围。"
355363

356364
#: ../../library/xml.sax.handler.rst:234
357365
msgid ""

0 commit comments

Comments
 (0)