🌐 AI搜索 & 代理 主页
Skip to content

Commit b1baffc

Browse files
[po] auto sync
1 parent 27e0834 commit b1baffc

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "98.26%", "updated_at": "2025-11-01T16:40:24Z"}
1+
{"translation": "98.27%", "updated_at": "2025-11-02T06:44:27Z"}

library/html.parser.po

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2025-11-01 16:25+0000\n"
1516
"PO-Revision-Date: 2025-09-22 16:50+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -46,13 +47,15 @@ msgid ""
4647
"(except the ones in elements like ``script`` and ``style``) are "
4748
"automatically converted to the corresponding Unicode characters."
4849
msgstr ""
50+
"如果 *convert_charrefs* 为真值(默认),则所有字符引用(除了元素��的字符引用 ``script`` 和 ``style`` "
51+
"除外)都会自动转换为对应的 Unicode 字符。"
4952

5053
#: ../../library/html.parser.rst:26
5154
msgid ""
5255
"If *scripting* is false (the default), the content of the ``noscript`` "
5356
"element is parsed normally; if it's true, it's returned as is without being "
5457
"parsed."
55-
msgstr ""
58+
msgstr "如果 *scripting* 为假值(默认),则 ``noscript`` 元素中的内容将被正常解析;如果为真值,它将不加解析地原样返回。"
5659

5760
#: ../../library/html.parser.rst:30
5861
msgid ""
@@ -82,7 +85,7 @@ msgstr "*convert_charrefs* 参数的默认值现在为 ``True``。"
8285

8386
#: ../../library/html.parser.rst:44
8487
msgid "Added the *scripting* parameter."
85-
msgstr ""
88+
msgstr "增加了 *scripting* 形参。"
8689

8790
#: ../../library/html.parser.rst:49
8891
msgid "Example HTML Parser Application"
@@ -214,14 +217,16 @@ msgstr ""
214217
msgid ""
215218
"This method is called to process arbitrary data (e.g. text nodes and the "
216219
"content of elements like ``script`` and ``style``)."
217-
msgstr ""
220+
msgstr "调用此方法来处理任意数据(例如文本节点和元素如 ``script`` 和 ``style`` 中的内容)。"
218221

219222
#: ../../library/html.parser.rst:174
220223
msgid ""
221224
"This method is called to process a named character reference of the form "
222225
"``&name;`` (e.g. ``&gt;``), where *name* is a general entity reference (e.g."
223226
" ``'gt'``). This method is only called if *convert_charrefs* is false."
224227
msgstr ""
228+
"调用此方法来处理 ``&name;`` 形式的命名字符引用 (例如 ``&gt;``),其中 *name* 是通用的实体引用 (例如 "
229+
"``'gt'``)。 此方法仅在 *convert_charrefs* 为假值时会被调用。"
225230

226231
#: ../../library/html.parser.rst:182
227232
msgid ""
@@ -231,6 +236,9 @@ msgid ""
231236
"is ``&#x3E;``; in this case the method will receive ``'62'`` or ``'x3E'``. "
232237
"This method is only called if *convert_charrefs* is false."
233238
msgstr ""
239+
"调用此方法来处理 :samp:`&#{NNN};` 和 :samp:`&#x{NNN};` 形式的十进制和十六进制数字字符引用。 例如,``&gt;``"
240+
" 的等价十进制形式为 ``&#62;``,而十六进制形式为 ``&#x3E;``;在此情况下该方法将收到 ``'62'`` 或 ``'x3E'``。 "
241+
"此方法仅在 *convert_charrefs* 为假值时会被调用。"
234242

235243
#: ../../library/html.parser.rst:191
236244
msgid ""

0 commit comments

Comments
 (0)