From edde81267bc15659a2aed9a6eb985bac4fcaf405 Mon Sep 17 00:00:00 2001 From: Leo Wang Date: Sun, 27 Aug 2023 15:07:47 +0800 Subject: [PATCH 1/2] Translate --- library/html.po | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/library/html.po b/library/html.po index 361d1c2069..c7cccca9cb 100644 --- a/library/html.po +++ b/library/html.po @@ -20,7 +20,7 @@ msgstr "" #: ../../library/html.rst:2 msgid ":mod:`html` --- HyperText Markup Language support" -msgstr "" +msgstr ":mod:`html` --- HTML 支援" #: ../../library/html.rst:7 msgid "**Source code:** :source:`Lib/html/__init__.py`" @@ -28,7 +28,7 @@ msgstr "**原始碼:**\\ :source:`Lib/html/__init__.py`" #: ../../library/html.rst:11 msgid "This module defines utilities to manipulate HTML." -msgstr "" +msgstr "此模組定義了操作 HTML 的工具。" #: ../../library/html.rst:15 msgid "" @@ -38,6 +38,10 @@ msgid "" "\"``) and (``'``) are also translated; this helps for inclusion in an HTML " "attribute value delimited by quotes, as in ````." msgstr "" +"將字串 s 中的 ``&``, ``<`` 和 ``>`` 字元轉換為在 HTML 中安全的序列(sequence)" +"。如果你需要在HTML中顯示可能包含這些字元的文字,使用這個函式。如果選擇性的旗標 " +"*quote* 為 true,則 (``\"``) 與(``'``) 字元也會被轉換;這讓函式能包含在 HTML " +"中,被引號分隔的屬性值,如 ```` 。" #: ../../library/html.rst:26 msgid "" @@ -47,15 +51,19 @@ msgid "" "and invalid character references, and the :data:`list of HTML 5 named " "character references `." msgstr "" +"將字串 *s* 中所有附名 (named) 且為數值的 (numeric) 字元參照(如: ``>``," +" ``>``, ``>`` )轉換為對應的 Unicode 字元。此函式針對有效及無效的字元參" +"照,皆使用 HTML 5 標準所定義的規則,以及 :data:`HTML 5 附名字元參照清單" +" ` 。" #: ../../library/html.rst:36 msgid "Submodules in the ``html`` package are:" -msgstr "" +msgstr "``html`` 中的子套件為:" #: ../../library/html.rst:38 msgid ":mod:`html.parser` -- HTML/XHTML parser with lenient parsing mode" -msgstr "" +msgstr ":mod:`html.parser` -- 帶有寬鬆剖析模式的 HTML/XHTML 剖析器" #: ../../library/html.rst:39 msgid ":mod:`html.entities` -- HTML entity definitions" -msgstr "" +msgstr ":mod:`html.entities` -- HTML 實體的定義" From b0cb8117cd799c501d40c126e3f4faab13c4c38c Mon Sep 17 00:00:00 2001 From: Leo Wang Date: Mon, 28 Aug 2023 09:12:36 +0800 Subject: [PATCH 2/2] Fix translation in library/html.po --- library/html.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/library/html.po b/library/html.po index c7cccca9cb..12a6a39c4e 100644 --- a/library/html.po +++ b/library/html.po @@ -20,7 +20,7 @@ msgstr "" #: ../../library/html.rst:2 msgid ":mod:`html` --- HyperText Markup Language support" -msgstr ":mod:`html` --- HTML 支援" +msgstr ":mod:`html` --- 超連結標記語言 (HTML) 支援" #: ../../library/html.rst:7 msgid "**Source code:** :source:`Lib/html/__init__.py`" @@ -38,9 +38,9 @@ msgid "" "\"``) and (``'``) are also translated; this helps for inclusion in an HTML " "attribute value delimited by quotes, as in ````." msgstr "" -"將字串 s 中的 ``&``, ``<`` 和 ``>`` 字元轉換為在 HTML 中安全的序列(sequence)" -"。如果你需要在HTML中顯示可能包含這些字元的文字,使用這個函式。如果選擇性的旗標 " -"*quote* 為 true,則 (``\"``) 與(``'``) 字元也會被轉換;這讓函式能包含在 HTML " +"將字串 *s* 中的 ``&``、``<`` 和 ``>`` 字元轉換為在 HTML 中安全的序列 (sequence)" +"。如果你需要在 HTML 中顯示可能包含這些字元的文字,可以使用這個函式。如果選擇性的旗標 " +"*quote* 為 true,則 (``\"``) 與 (``'``) 字元也會被轉換;這樣能包含在 HTML " "中,被引號分隔的屬性值,如 ```` 。" #: ../../library/html.rst:26 @@ -51,14 +51,14 @@ msgid "" "and invalid character references, and the :data:`list of HTML 5 named " "character references `." msgstr "" -"將字串 *s* 中所有附名 (named) 且為數值的 (numeric) 字元參照(如: ``>``," -" ``>``, ``>`` )轉換為對應的 Unicode 字元。此函式針對有效及無效的字元參" +"將字串 *s* 中所有附名 (named) 且為數值的 (numeric) 字元參照(如: ``>``、" +" ``>``、``>`` )轉換為對應的 Unicode 字元。此函式針對有效及無效的字元參" "照,皆使用 HTML 5 標準所定義的規則,以及 :data:`HTML 5 附名字元參照清單" " ` 。" #: ../../library/html.rst:36 msgid "Submodules in the ``html`` package are:" -msgstr "``html`` 中的子套件為:" +msgstr "``html`` 套件中的子模組為:" #: ../../library/html.rst:38 msgid ":mod:`html.parser` -- HTML/XHTML parser with lenient parsing mode" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy