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

Commit 7920a37

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent c796587 commit 7920a37

File tree

2 files changed

+37
-15
lines changed

2 files changed

+37
-15
lines changed

library/html.parser.po

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-10-25 14:12+0000\n"
14+
"POT-Creation-Date: 2025-11-01 14:13+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -38,9 +38,15 @@ msgid "Create a parser instance able to parse invalid markup."
3838
msgstr ""
3939

4040
msgid ""
41-
"If *convert_charrefs* is ``True`` (the default), all character references "
42-
"(except the ones in ``script``/``style`` elements) are automatically "
43-
"converted to the corresponding Unicode characters."
41+
"If *convert_charrefs* is true (the default), all character references "
42+
"(except the ones in elements like ``script`` and ``style``) are "
43+
"automatically converted to the corresponding Unicode characters."
44+
msgstr ""
45+
46+
msgid ""
47+
"If *scripting* is false (the default), the content of the ``noscript`` "
48+
"element is parsed normally; if it's true, it's returned as is without being "
49+
"parsed."
4450
msgstr ""
4551

4652
msgid ""
@@ -62,6 +68,9 @@ msgstr ""
6268
msgid "The default value for argument *convert_charrefs* is now ``True``."
6369
msgstr ""
6470

71+
msgid "Added the *scripting* parameter."
72+
msgstr ""
73+
6574
msgid "Example HTML Parser Application"
6675
msgstr ""
6776

@@ -189,21 +198,21 @@ msgstr ""
189198

190199
msgid ""
191200
"This method is called to process arbitrary data (e.g. text nodes and the "
192-
"content of ``<script>...</script>`` and ``<style>...</style>``)."
201+
"content of elements like ``script`` and ``style``)."
193202
msgstr ""
194203

195204
msgid ""
196205
"This method is called to process a named character reference of the form "
197206
"``&name;`` (e.g. ``&gt;``), where *name* is a general entity reference (e.g. "
198-
"``'gt'``). This method is never called if *convert_charrefs* is ``True``."
207+
"``'gt'``). This method is only called if *convert_charrefs* is false."
199208
msgstr ""
200209

201210
msgid ""
202211
"This method is called to process decimal and hexadecimal numeric character "
203212
"references of the form :samp:`&#{NNN};` and :samp:`&#x{NNN};`. For example, "
204213
"the decimal equivalent for ``&gt;`` is ``&#62;``, whereas the hexadecimal is "
205-
"``&#x3E;``; in this case the method will receive ``'62'`` or ``'x3E'``. "
206-
"This method is never called if *convert_charrefs* is ``True``."
214+
"``&#x3E;``; in this case the method will receive ``'62'`` or ``'x3E'``. This "
215+
"method is only called if *convert_charrefs* is false."
207216
msgstr ""
208217

209218
msgid ""
@@ -327,8 +336,8 @@ msgid ""
327336
msgstr ""
328337

329338
msgid ""
330-
"The content of ``script`` and ``style`` elements is returned as is, without "
331-
"further parsing:"
339+
"The content of elements like ``script`` and ``style`` is returned as is, "
340+
"without further parsing:"
332341
msgstr ""
333342

334343
msgid ""
@@ -340,10 +349,10 @@ msgid ""
340349
"End tag : style\n"
341350
"\n"
342351
">>> parser.feed('<script type=\"text/javascript\">'\n"
343-
"... 'alert(\"<strong>hello!</strong>\");</script>')\n"
352+
"... 'alert(\"<strong>hello! &#9786;</strong>\");</script>')\n"
344353
"Start tag: script\n"
345354
" attr: ('type', 'text/javascript')\n"
346-
"Data : alert(\"<strong>hello!</strong>\");\n"
355+
"Data : alert(\"<strong>hello! &#9786;</strong>\");\n"
347356
"End tag : script"
348357
msgstr ""
349358

@@ -376,8 +385,8 @@ msgstr ""
376385

377386
msgid ""
378387
"Feeding incomplete chunks to :meth:`~HTMLParser.feed` works, but :meth:"
379-
"`~HTMLParser.handle_data` might be called more than once (unless "
380-
"*convert_charrefs* is set to ``True``):"
388+
"`~HTMLParser.handle_data` might be called more than once if "
389+
"*convert_charrefs* is false:"
381390
msgstr ""
382391

383392
msgid ""

whatsnew/changelog.po

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-10-31 14:16+0000\n"
15+
"POT-Creation-Date: 2025-11-01 14:13+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
1717
"Last-Translator: Daniel Nylander <po@danielnylander.se>, 2025\n"
1818
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -98,9 +98,22 @@ msgid ""
9898
"Patch by Bénédikt Tran."
9999
msgstr ""
100100

101+
msgid ""
102+
":gh:`137836`: Add support of the \"plaintext\" element, RAWTEXT elements "
103+
"\"xmp\", \"iframe\", \"noembed\" and \"noframes\", and optionally RAWTEXT "
104+
"element \"noscript\" in :class:`html.parser.HTMLParser`."
105+
msgstr ""
106+
107+
msgid ":gh:`136065`: Fix quadratic complexity in :func:`os.path.expandvars`."
108+
msgstr ""
109+
101110
msgid "Library"
102111
msgstr "Bibliotek"
103112

113+
msgid ""
114+
":gh:`140874`: Bump the version of pip bundled in ensurepip to version 25.3"
115+
msgstr ""
116+
104117
msgid ":gh:`120057`: Add :func:`os.reload_environ` to ``os.__all__``."
105118
msgstr ""
106119

0 commit comments

Comments
 (0)