11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2018 , Python Software Foundation
2+ # Copyright (C) 2001-2019 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
6+ # Translators:
7+ 8+ # walkinrain <[email protected] >, 20199+ #
610#, fuzzy
711msgid ""
812msgstr ""
913"Project-Id-Version : Python 3.7\n "
1014"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-06-30 05:56 +0900\n "
12- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE \n "
13- "Last-Translator : Fred <fred.wei@foxmail .com>, 2018 \n "
15+ "POT-Creation-Date : 2019-01-01 10:14 +0900\n "
16+ "PO-Revision-Date : 2017-02-16 23:13+0000 \n "
17+ "Last-Translator : walkinrain <walkinrain2008@163 .com>, 2019 \n "
1418"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1519"MIME-Version : 1.0\n "
1620"Content-Type : text/plain; charset=UTF-8\n "
@@ -20,7 +24,7 @@ msgstr ""
2024
2125#: ../../library/html.parser.rst:2
2226msgid ":mod:`html.parser` --- Simple HTML and XHTML parser"
23- msgstr ""
27+ msgstr ":mod:`html.parser`---简单的HTML和XHTML解析器 "
2428
2529#: ../../library/html.parser.rst:7
2630msgid "**Source code:** :source:`Lib/html/parser.py`"
@@ -51,6 +55,8 @@ msgid ""
5155"encountered. The user should subclass :class:`.HTMLParser` and override its"
5256" methods to implement the desired behavior."
5357msgstr ""
58+ "一个:class:`.HTMLParser`实例用来接受HTML数据,并在标记开始,标记结束,文本,注释和其他元素标记的时候调用对应的方法。使用者应子类化"
59+ " :class:`.HTMLParser` 并重载其方法用于实现所需的行为。"
5460
5561#: ../../library/html.parser.rst:31
5662msgid ""
@@ -80,15 +86,15 @@ msgstr ""
8086
8187#: ../../library/html.parser.rst:64
8288msgid "The output will then be:"
83- msgstr ""
89+ msgstr "输出是: "
8490
8591#: ../../library/html.parser.rst:83
8692msgid ":class:`.HTMLParser` Methods"
8793msgstr ""
8894
8995#: ../../library/html.parser.rst:85
9096msgid ":class:`HTMLParser` instances have the following methods:"
91- msgstr ""
97+ msgstr ":class:`HTMLParser` 实例有下列方法: "
9298
9399#: ../../library/html.parser.rst:90
94100msgid ""
@@ -130,12 +136,13 @@ msgid ""
130136"class implementations do nothing (except for "
131137":meth:`~HTMLParser.handle_startendtag`):"
132138msgstr ""
139+ "下列方法将在遇到数据或者标记元素的时候被调用。他们需要在子类种重载。基类实现无任何处理(除了:meth:`~HTMLParser.handle_startendtag`):"
133140
134141#: ../../library/html.parser.rst:129
135142msgid ""
136143"This method is called to handle the start of a tag (e.g. ``<div "
137144"id=\" main\" >``)."
138- msgstr ""
145+ msgstr "这个方法在标签开始的时候被调用(例如:``<div id= \" main \" >``)。 "
139146
140147#: ../../library/html.parser.rst:131
141148msgid ""
@@ -203,13 +210,13 @@ msgstr ""
203210msgid ""
204211"This method is called when a comment is encountered (e.g. ``<!--"
205212"comment-->``)."
206- msgstr ""
213+ msgstr "这个方法在遇到注释的时候被调用(例如:``<!--comment-->``)。 "
207214
208215#: ../../library/html.parser.rst:186
209216msgid ""
210217"For example, the comment ``<!-- comment -->`` will cause this method to be "
211218"called with the argument ``' comment '``."
212- msgstr ""
219+ msgstr "例如, 注释``<!-- comment -->``将会用 ``' comment '``为参数调用此方法。 "
213220
214221#: ../../library/html.parser.rst:189
215222msgid ""
@@ -292,7 +299,7 @@ msgstr ""
292299msgid ""
293300"Parsing named and numeric character references and converting them to the "
294301"correct char (note: these 3 references are all equivalent to ``'>'``)::"
295- msgstr ""
302+ msgstr "解析命名方式或数字方式的转义字符,并把他们转换到正确的字符(注意:这3种转义都是``'>'``):: "
296303
297304#: ../../library/html.parser.rst:318
298305msgid ""
0 commit comments