Skip to content

Commit 2e9e957

Browse files
committed
translate email.charset.rst: 27-39
1 parent c5d2c8f commit 2e9e957

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

library/email.charset.po

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ msgid ""
3939
"The remaining text in this section is the original documentation of the "
4040
"module."
4141
msgstr ""
42-
"此章節的其餘文字是原始模組的說明文件"
42+
"此章節的其餘文字是原始模組的說明文件"
4343

4444
#: ../../library/email.charset.rst:16
4545
msgid ""
@@ -55,11 +55,11 @@ msgstr ""
5555

5656
#: ../../library/email.charset.rst:22
5757
msgid "Import this class from the :mod:`email.charset` module."
58-
msgstr "從 :mod:`email.charset` 模組中 import 此類別"
58+
msgstr "從 :mod:`email.charset` 模組中 import 此類別"
5959

6060
#: ../../library/email.charset.rst:27
6161
msgid "Map character sets to their email properties."
62-
msgstr ""
62+
msgstr "將字元集合對應到其電子郵件的屬性。"
6363

6464
#: ../../library/email.charset.rst:29
6565
msgid ""
@@ -69,13 +69,18 @@ msgid ""
6969
"codecs. Given a character set, it will do its best to provide information "
7070
"on how to use that character set in an email message in an RFC-compliant way."
7171
msgstr ""
72+
"此類別提供相關資訊關於電子郵件對特定字元集合的要求。"
73+
"同時也提供轉換字元集合之間便利的做法,並給予適用的編解碼器 (codecs) 可用性。"
74+
"給定一個字元集合,此類別將會提供這個字元集合在電子郵件訊息中符合RFC (RFC-compliant) 的使用方式。"
7275

7376
#: ../../library/email.charset.rst:35
7477
msgid ""
7578
"Certain character sets must be encoded with quoted-printable or base64 when "
7679
"used in email headers or bodies. Certain character sets must be converted "
7780
"outright, and are not allowed in email."
7881
msgstr ""
82+
"在電子郵件標題或內文用特定字元集合時必須使用 quoted-printable 或 base64 來編碼。"
83+
"特定字元集合必須被徹底轉換並且不被允許在電子郵件中。"
7984

8085
#: ../../library/email.charset.rst:39
8186
msgid ""
@@ -89,6 +94,11 @@ msgid ""
8994
"with base64, bodies will not be encoded, but output text will be converted "
9095
"from the ``euc-jp`` character set to the ``iso-2022-jp`` character set."
9196
msgstr ""
97+
"備註 *input_charset* 描述如下;字元集合會被強制轉換為小寫。經過別名標準化後,"
98+
"會進到字元集合登錄檔 (registry)去查詢此字元集合使用的標題編碼、內文編碼以及輸出轉換編解碼器 (codec)。"
99+
"例如:如果 *input_charset* 是 ``iso-8859-1`` 標題跟內文會被用 quoted-printable 編碼並且不需要輸出轉換編解碼器 (codecs)。"
100+
"如果 *input_charset* 是 ``euc-jp`` 標題則會被編碼成 base64 但內文不會被編碼而輸出的文字則會從 ``euc-jp`` "
101+
"字元集合被轉換成 ``iso-2022-jp`` 字元集合。"
92102

93103
#: ../../library/email.charset.rst:49
94104
msgid ":class:`Charset` instances have the following data attributes:"

0 commit comments

Comments
 (0)