@@ -91,14 +91,17 @@ msgstr ""
91
91
92
92
#: ../../library/email.charset.rst:49
93
93
msgid ":class:`Charset` instances have the following data attributes:"
94
- msgstr ""
94
+ msgstr ":class:`Charset` 含有以下數據屬性: "
95
95
96
96
#: ../../library/email.charset.rst:53
97
97
msgid ""
98
98
"The initial character set specified. Common aliases are converted to their "
99
99
"*official* email names (e.g. ``latin_1`` is converted to ``iso-8859-1``). "
100
100
"Defaults to 7-bit ``us-ascii``."
101
101
msgstr ""
102
+ "指定的初始字元集合。通用別名會被轉換成它們"
103
+ " *官方* 電子郵件名稱(例如: ``latin_1`` 會被轉換成 ``iso-8859-1``)。"
104
+ "預設值為7位元 ``us-ascii``。"
102
105
103
106
#: ../../library/email.charset.rst:60
104
107
msgid ""
@@ -107,13 +110,19 @@ msgid ""
107
110
"``charset.BASE64`` (for base64 encoding), or ``charset.SHORTEST`` for the "
108
111
"shortest of QP or BASE64 encoding. Otherwise, it will be ``None``."
109
112
msgstr ""
113
+ "如果字元集合被用在電子郵件標題前必須被編碼的話,"
114
+ "這個屬性會被設為 ``charset.QP`` (表quoted-printable編碼),"
115
+ " ``charset.BASE64`` (表base64編碼格式),或是 ``charset.SHORTEST`` 表示最短的 QP或是base64編碼格式。"
116
+ "不然,這個屬性會是 ``None``。"
110
117
111
118
#: ../../library/email.charset.rst:69
112
119
msgid ""
113
120
"Same as *header_encoding*, but describes the encoding for the mail message's "
114
121
"body, which indeed may be different than the header encoding. ``charset."
115
122
"SHORTEST`` is not allowed for *body_encoding*."
116
123
msgstr ""
124
+ "與 *header_encoding* 相同,但敘述郵件訊息內文的編碼格式,則與上述的標題編碼格式不同。"
125
+ " ``charset.SHORTEST`` 是不被允許在 *body_encoding* 使用。"
117
126
118
127
#: ../../library/email.charset.rst:76
119
128
msgid ""
@@ -122,28 +131,35 @@ msgid ""
122
131
"will contain the name of the character set output will be converted to. "
123
132
"Otherwise, it will be ``None``."
124
133
msgstr ""
134
+ "部分的字元集合在用於電子郵件的標題或內文前必須先被轉換。"
135
+ "如果 *input_charset* 是這些字元集合中的其中之一,這個屬性將會包含輸出時被轉換的字元集合名稱。"
136
+ "不然,這個屬性則為 ``None``。"
125
137
126
138
#: ../../library/email.charset.rst:84
127
139
msgid ""
128
140
"The name of the Python codec used to convert the *input_charset* to "
129
141
"Unicode. If no conversion codec is necessary, this attribute will be "
130
142
"``None``."
131
143
msgstr ""
144
+ "用於將 *input_charset* 轉換成Unicode的Python編解碼器的名稱。"
145
+ " 如果不需要轉換編解碼器,這個屬性則為 ``None``。"
132
146
133
147
#: ../../library/email.charset.rst:91
134
148
msgid ""
135
149
"The name of the Python codec used to convert Unicode to the "
136
150
"*output_charset*. If no conversion codec is necessary, this attribute will "
137
151
"have the same value as the *input_codec*."
138
152
msgstr ""
153
+ "用於將 *output_charset* 轉換成Unicode的Python編解碼器的名稱。"
154
+ " 如果不需要轉換編解碼器,這個屬性將會與 *input_codec* 有相同的值。"
139
155
140
156
#: ../../library/email.charset.rst:96
141
157
msgid ":class:`Charset` instances also have the following methods:"
142
- msgstr ""
158
+ msgstr ":class:`Charset` 還有以下方法: "
143
159
144
160
#: ../../library/email.charset.rst:100
145
161
msgid "Return the content transfer encoding used for body encoding."
146
- msgstr ""
162
+ msgstr "回傳用於內文編碼的內容傳輸編碼(content-transfer-encoding)。 "
147
163
148
164
#: ../../library/email.charset.rst:102
149
165
msgid ""
0 commit comments