Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2cc3520

Browse files
isabellechiumattwang44
authored andcommitted
Translate email charset rst: 49-100
1 parent d9640bf commit 2cc3520

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

library/email.charset.po

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,17 @@ msgstr ""
101101

102102
#: ../../library/email.charset.rst:49
103103
msgid ":class:`Charset` instances have the following data attributes:"
104-
msgstr ""
104+
msgstr ":class:`Charset` 含有以下數據屬性:"
105105

106106
#: ../../library/email.charset.rst:53
107107
msgid ""
108108
"The initial character set specified. Common aliases are converted to their "
109109
"*official* email names (e.g. ``latin_1`` is converted to ``iso-8859-1``). "
110110
"Defaults to 7-bit ``us-ascii``."
111111
msgstr ""
112+
"指定的初始字元集合。通用別名會被轉換成它們"
113+
" *官方* 電子郵件名稱(例如: ``latin_1`` 會被轉換成 ``iso-8859-1``)。"
114+
"預設值為7位元 ``us-ascii``。"
112115

113116
#: ../../library/email.charset.rst:60
114117
msgid ""
@@ -117,13 +120,19 @@ msgid ""
117120
"``charset.BASE64`` (for base64 encoding), or ``charset.SHORTEST`` for the "
118121
"shortest of QP or BASE64 encoding. Otherwise, it will be ``None``."
119122
msgstr ""
123+
"如果字元集合被用在電子郵件標題前必須被編碼的話,"
124+
"這個屬性會被設為 ``charset.QP`` (表quoted-printable編碼),"
125+
" ``charset.BASE64`` (表base64編碼格式),或是 ``charset.SHORTEST`` 表示最短的 QP或是base64編碼格式。"
126+
"不然,這個屬性會是 ``None``。"
120127

121128
#: ../../library/email.charset.rst:69
122129
msgid ""
123130
"Same as *header_encoding*, but describes the encoding for the mail message's "
124131
"body, which indeed may be different than the header encoding. ``charset."
125132
"SHORTEST`` is not allowed for *body_encoding*."
126133
msgstr ""
134+
"與 *header_encoding* 相同,但敘述郵件訊息內文的編碼格式,則與上述的標題編碼格式不同。"
135+
" ``charset.SHORTEST`` 是不被允許在 *body_encoding* 使用。"
127136

128137
#: ../../library/email.charset.rst:76
129138
msgid ""
@@ -132,28 +141,35 @@ msgid ""
132141
"will contain the name of the character set output will be converted to. "
133142
"Otherwise, it will be ``None``."
134143
msgstr ""
144+
"部分的字元集合在用於電子郵件的標題或內文前必須先被轉換。"
145+
"如果 *input_charset* 是這些字元集合中的其中之一,這個屬性將會包含輸出時被轉換的字元集合名稱。"
146+
"不然,這個屬性則為 ``None``。"
135147

136148
#: ../../library/email.charset.rst:84
137149
msgid ""
138150
"The name of the Python codec used to convert the *input_charset* to "
139151
"Unicode. If no conversion codec is necessary, this attribute will be "
140152
"``None``."
141153
msgstr ""
154+
"用於將 *input_charset* 轉換成Unicode的Python編解碼器的名稱。"
155+
"如果不需要轉換編解碼器,這個屬性則為 ``None``。"
142156

143157
#: ../../library/email.charset.rst:91
144158
msgid ""
145159
"The name of the Python codec used to convert Unicode to the "
146160
"*output_charset*. If no conversion codec is necessary, this attribute will "
147161
"have the same value as the *input_codec*."
148162
msgstr ""
163+
"用於將 *output_charset* 轉換成Unicode的Python編解碼器的名稱。"
164+
"如果不需要轉換編解碼器,這個屬性將會與 *input_codec* 有相同的值。"
149165

150166
#: ../../library/email.charset.rst:96
151167
msgid ":class:`Charset` instances also have the following methods:"
152-
msgstr ""
168+
msgstr ":class:`Charset` 還有以下方法:"
153169

154170
#: ../../library/email.charset.rst:100
155171
msgid "Return the content transfer encoding used for body encoding."
156-
msgstr ""
172+
msgstr "回傳用於內文編碼的內容傳輸編碼(content-transfer-encoding)。"
157173

158174
#: ../../library/email.charset.rst:102
159175
msgid ""

0 commit comments

Comments
 (0)