From cfc4689870b4f5c4589a877a61753ef7319e6ac2 Mon Sep 17 00:00:00 2001 From: ltdrobot Date: Wed, 2 Sep 2026 12:35:06 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20pot(3.10):=20update=20.pot=20fro?= =?UTF-8?q?m=20Sphinx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated .pot files for '3.10' version from Sphinx. Before: { "tag": "v3.10.19" } After: { "tag": "v3.10.21" } Created by the GitHub Workflow: - File: https://github.com/localizethedocs/python-docs-l10n/actions/workflows/ci-sphinx-update-pot.yml - Run: https://github.com/localizethedocs/python-docs-l10n/actions/runs/33629767426 - Job: https://github.com/localizethedocs/python-docs-l10n/actions/runs/33629767426/job/100246106769 --- .../pot/LC_MESSAGES/library/html.parser.pot | 119 +++--- .../pot/LC_MESSAGES/library/os.path.pot | 170 ++++---- .../pot/LC_MESSAGES/library/pyexpat.pot | 373 ++++++++++++------ .../pot/LC_MESSAGES/library/subprocess.pot | 365 ++++++++--------- .../pot/LC_MESSAGES/library/wsgiref.pot | 238 +++++------ 3.10/locale/pot/LC_MESSAGES/using/windows.pot | 8 +- 3.10/references.json | 2 +- 7 files changed, 715 insertions(+), 560 deletions(-) diff --git a/3.10/locale/pot/LC_MESSAGES/library/html.parser.pot b/3.10/locale/pot/LC_MESSAGES/library/html.parser.pot index 8fbdfc464d3..b75188372c1 100644 --- a/3.10/locale/pot/LC_MESSAGES/library/html.parser.pot +++ b/3.10/locale/pot/LC_MESSAGES/library/html.parser.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-29 08:23+0000\n" +"POT-Creation-Date: 2026-09-02 12:33+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -38,65 +38,76 @@ msgstr "" #: ../../../library/html.parser.rst:22 msgid "" -"If *convert_charrefs* is ``True`` (the default), all character references " -"(except the ones in ``script``/``style`` elements) are automatically " -"converted to the corresponding Unicode characters." +"If *convert_charrefs* is true (the default), all character references " +"(except the ones in elements like ``script`` and ``style``) are " +"automatically converted to the corresponding Unicode characters." msgstr "" #: ../../../library/html.parser.rst:26 msgid "" +"If *scripting* is false (the default), the content of the ``noscript`` " +"element is parsed normally; if it's true, it's returned as is without being " +"parsed." +msgstr "" + +#: ../../../library/html.parser.rst:30 +msgid "" "An :class:`.HTMLParser` instance is fed HTML data and calls handler methods " "when start tags, end tags, text, comments, and other markup elements are " "encountered. The user should subclass :class:`.HTMLParser` and override its " "methods to implement the desired behavior." msgstr "" -#: ../../../library/html.parser.rst:31 +#: ../../../library/html.parser.rst:35 msgid "" "This parser does not check that end tags match start tags or call the end-" "tag handler for elements which are closed implicitly by closing an outer " "element." msgstr "" -#: ../../../library/html.parser.rst:34 +#: ../../../library/html.parser.rst:38 msgid "*convert_charrefs* keyword argument added." msgstr "" -#: ../../../library/html.parser.rst:37 +#: ../../../library/html.parser.rst:41 msgid "The default value for argument *convert_charrefs* is now ``True``." msgstr "" -#: ../../../library/html.parser.rst:42 +#: ../../../library/html.parser.rst:44 +msgid "Added the *scripting* parameter." +msgstr "" + +#: ../../../library/html.parser.rst:49 msgid "Example HTML Parser Application" msgstr "" -#: ../../../library/html.parser.rst:44 +#: ../../../library/html.parser.rst:51 msgid "" "As a basic example, below is a simple HTML parser that uses the :class:" "`HTMLParser` class to print out start tags, end tags, and data as they are " "encountered::" msgstr "" -#: ../../../library/html.parser.rst:64 +#: ../../../library/html.parser.rst:71 msgid "The output will then be:" msgstr "" -#: ../../../library/html.parser.rst:83 +#: ../../../library/html.parser.rst:90 msgid ":class:`.HTMLParser` Methods" msgstr "" -#: ../../../library/html.parser.rst:85 +#: ../../../library/html.parser.rst:92 msgid ":class:`HTMLParser` instances have the following methods:" msgstr "" -#: ../../../library/html.parser.rst:90 +#: ../../../library/html.parser.rst:97 msgid "" "Feed some text to the parser. It is processed insofar as it consists of " "complete elements; incomplete data is buffered until more data is fed or :" "meth:`close` is called. *data* must be :class:`str`." msgstr "" -#: ../../../library/html.parser.rst:97 +#: ../../../library/html.parser.rst:104 msgid "" "Force processing of all buffered data as if it were followed by an end-of-" "file mark. This method may be redefined by a derived class to define " @@ -104,17 +115,17 @@ msgid "" "should always call the :class:`HTMLParser` base class method :meth:`close`." msgstr "" -#: ../../../library/html.parser.rst:105 +#: ../../../library/html.parser.rst:112 msgid "" "Reset the instance. Loses all unprocessed data. This is called implicitly " "at instantiation time." msgstr "" -#: ../../../library/html.parser.rst:111 +#: ../../../library/html.parser.rst:118 msgid "Return current line number and offset." msgstr "" -#: ../../../library/html.parser.rst:116 +#: ../../../library/html.parser.rst:123 msgid "" "Return the text of the most recently opened start tag. This should not " "normally be needed for structured processing, but may be useful in dealing " @@ -122,7 +133,7 @@ msgid "" "(whitespace between attributes can be preserved, etc.)." msgstr "" -#: ../../../library/html.parser.rst:122 +#: ../../../library/html.parser.rst:129 msgid "" "The following methods are called when data or markup elements are " "encountered and they are meant to be overridden in a subclass. The base " @@ -130,13 +141,13 @@ msgid "" "handle_startendtag`):" msgstr "" -#: ../../../library/html.parser.rst:129 +#: ../../../library/html.parser.rst:136 msgid "" "This method is called to handle the start tag of an element (e.g. ``
``)." msgstr "" -#: ../../../library/html.parser.rst:131 +#: ../../../library/html.parser.rst:138 msgid "" "The *tag* argument is the name of the tag converted to lower case. The " "*attrs* argument is a list of ``(name, value)`` pairs containing the " @@ -145,29 +156,29 @@ msgid "" "character and entity references have been replaced." msgstr "" -#: ../../../library/html.parser.rst:137 +#: ../../../library/html.parser.rst:144 msgid "" "For instance, for the tag ````, this method " "would be called as ``handle_starttag('a', [('href', 'https://www.cwi." "nl/')])``." msgstr "" -#: ../../../library/html.parser.rst:140 +#: ../../../library/html.parser.rst:147 msgid "" "All entity references from :mod:`html.entities` are replaced in the " "attribute values." msgstr "" -#: ../../../library/html.parser.rst:146 +#: ../../../library/html.parser.rst:153 msgid "" "This method is called to handle the end tag of an element (e.g. ``
``)." msgstr "" -#: ../../../library/html.parser.rst:148 +#: ../../../library/html.parser.rst:155 msgid "The *tag* argument is the name of the tag converted to lower case." msgstr "" -#: ../../../library/html.parser.rst:153 +#: ../../../library/html.parser.rst:160 msgid "" "Similar to :meth:`handle_starttag`, but called when the parser encounters an " "XHTML-style empty tag (````). This method may be overridden by " @@ -176,41 +187,41 @@ msgid "" "`handle_endtag`." msgstr "" -#: ../../../library/html.parser.rst:161 +#: ../../../library/html.parser.rst:168 msgid "" "This method is called to process arbitrary data (e.g. text nodes and the " -"content of ```` and ````)." +"content of elements like ``script`` and ``style``)." msgstr "" -#: ../../../library/html.parser.rst:167 +#: ../../../library/html.parser.rst:174 msgid "" "This method is called to process a named character reference of the form " "``&name;`` (e.g. ``>``), where *name* is a general entity reference (e.g. " -"``'gt'``). This method is never called if *convert_charrefs* is ``True``." +"``'gt'``). This method is only called if *convert_charrefs* is false." msgstr "" -#: ../../../library/html.parser.rst:175 +#: ../../../library/html.parser.rst:182 msgid "" "This method is called to process decimal and hexadecimal numeric character " "references of the form ``&#NNN;`` and ``&#xNNN;``. For example, the decimal " "equivalent for ``>`` is ``>``, whereas the hexadecimal is ``>``; " -"in this case the method will receive ``'62'`` or ``'x3E'``. This method is " -"never called if *convert_charrefs* is ``True``." +"in this case the method will receive ``'62'`` or ``'x3E'``. This method is " +"only called if *convert_charrefs* is false." msgstr "" -#: ../../../library/html.parser.rst:184 +#: ../../../library/html.parser.rst:191 msgid "" "This method is called when a comment is encountered (e.g. ```` will cause this method to be " "called with the argument ``' comment '``." msgstr "" -#: ../../../library/html.parser.rst:189 +#: ../../../library/html.parser.rst:196 msgid "" "The content of Internet Explorer conditional comments (condcoms) will also " "be sent to this method, so, for ``