@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-10-27 14:15 +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 : Indonesian (https://app.transifex.com/python-doc/teams/5390/ "
@@ -38,9 +38,15 @@ msgid "Create a parser instance able to parse invalid markup."
3838msgstr ""
3939
4040msgid ""
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."
4450msgstr ""
4551
4652msgid ""
@@ -62,6 +68,9 @@ msgstr ""
6268msgid "The default value for argument *convert_charrefs* is now ``True``."
6369msgstr ""
6470
71+ msgid "Added the *scripting* parameter."
72+ msgstr ""
73+
6574msgid "Example HTML Parser Application"
6675msgstr ""
6776
@@ -189,21 +198,21 @@ msgstr ""
189198
190199msgid ""
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``)."
193202msgstr ""
194203
195204msgid ""
196205"This method is called to process a named character reference of the form "
197206"``&name;`` (e.g. ``>``), 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 ."
199208msgstr ""
200209
201210msgid ""
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 ``>`` is ``>``, whereas the hexadecimal is "
205- "``>``; in this case the method will receive ``'62'`` or ``'x3E'``. "
206- "This method is never called if *convert_charrefs* is ``True`` ."
214+ "``>``; in this case the method will receive ``'62'`` or ``'x3E'``. This "
215+ "method is only called if *convert_charrefs* is false ."
207216msgstr ""
208217
209218msgid ""
@@ -327,8 +336,8 @@ msgid ""
327336msgstr ""
328337
329338msgid ""
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:"
332341msgstr ""
333342
334343msgid ""
@@ -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! ☺ </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! ☺ </strong>\" );\n"
347356"End tag : script"
348357msgstr ""
349358
@@ -376,8 +385,8 @@ msgstr ""
376385
377386msgid ""
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 :"
381390msgstr ""
382391
383392msgid ""
0 commit comments