@@ -20,15 +20,15 @@ msgstr ""
20
20
21
21
#: ../../library/html.rst:2
22
22
msgid ":mod:`html` --- HyperText Markup Language support"
23
- msgstr ""
23
+ msgstr ":mod:`html` --- 超連結標記語言 (HTML) 支援 "
24
24
25
25
#: ../../library/html.rst:7
26
26
msgid "**Source code:** :source:`Lib/html/__init__.py`"
27
27
msgstr "**原始碼:**\\ :source:`Lib/html/__init__.py`"
28
28
29
29
#: ../../library/html.rst:11
30
30
msgid "This module defines utilities to manipulate HTML."
31
- msgstr ""
31
+ msgstr "此模組定義了操作 HTML 的工具。 "
32
32
33
33
#: ../../library/html.rst:15
34
34
msgid ""
@@ -38,6 +38,10 @@ msgid ""
38
38
"\" ``) and (``'``) are also translated; this helps for inclusion in an HTML "
39
39
"attribute value delimited by quotes, as in ``<a href=\" ...\" >``."
40
40
msgstr ""
41
+ "將字串 *s* 中的 ``&``、``<`` 和 ``>`` 字元轉換為在 HTML 中安全的序列 (sequence)"
42
+ "。如果你需要在 HTML 中顯示可能包含這些字元的文字,可以使用這個函式。如果選擇性的旗標 "
43
+ "*quote* 為 true,則 (``\" ``) 與 (``'``) 字元也會被轉換;這樣能包含在 HTML "
44
+ "中,被引號分隔的屬性值,如 ``<a href=\" ...\" >`` 。"
41
45
42
46
#: ../../library/html.rst:26
43
47
msgid ""
@@ -47,15 +51,19 @@ msgid ""
47
51
"and invalid character references, and the :data:`list of HTML 5 named "
48
52
"character references <html.entities.html5>`."
49
53
msgstr ""
54
+ "將字串 *s* 中所有附名 (named) 且為數值的 (numeric) 字元參照(如: ``>``、"
55
+ " ``>``、``>`` )轉換為對應的 Unicode 字元。此函式針對有效及無效的字元參"
56
+ "照,皆使用 HTML 5 標準所定義的規則,以及 :data:`HTML 5 附名字元參照清單"
57
+ " <html.entities.html5>` 。"
50
58
51
59
#: ../../library/html.rst:36
52
60
msgid "Submodules in the ``html`` package are:"
53
- msgstr ""
61
+ msgstr "``html`` 套件中的子模組為: "
54
62
55
63
#: ../../library/html.rst:38
56
64
msgid ":mod:`html.parser` -- HTML/XHTML parser with lenient parsing mode"
57
- msgstr ""
65
+ msgstr ":mod:`html.parser` -- 帶有寬鬆剖析模式的 HTML/XHTML 剖析器 "
58
66
59
67
#: ../../library/html.rst:39
60
68
msgid ":mod:`html.entities` -- HTML entity definitions"
61
- msgstr ""
69
+ msgstr ":mod:`html.entities` -- HTML 實體的定義 "
0 commit comments