@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.7\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2019-01 -01 10:14 +0900\n "
17+ "POT-Creation-Date : 2019-06 -01 11:34 +0900\n "
1818"PO-Revision-Date : 2017-02-16 23:08+0000\n "
1919"
Last-Translator :
Freesand Leo <[email protected] >, 2019\n "
2020"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -41,19 +41,27 @@ msgstr ""
4141
4242#: ../../library/email.encoders.rst:15
4343msgid ""
44+ "This module is deprecated in Python 3. The functions provided here should "
45+ "not be called explicitly since the :class:`~email.mime.text.MIMEText` class "
46+ "sets the content type and CTE header using the *_subtype* and *_charset* "
47+ "values passed during the instaniation of that class."
48+ msgstr ""
49+
50+ #: ../../library/email.encoders.rst:20
51+ msgid ""
4452"The remaining text in this section is the original documentation of the "
4553"module."
4654msgstr "本段落中的剩余文本是该模块的原始文档。"
4755
48- #: ../../library/email.encoders.rst:17
56+ #: ../../library/email.encoders.rst:22
4957msgid ""
5058"When creating :class:`~email.message.Message` objects from scratch, you "
5159"often need to encode the payloads for transport through compliant mail "
5260"servers. This is especially true for :mimetype:`image/\\ *` and "
5361":mimetype:`text/\\ *` type messages containing binary data."
5462msgstr ""
5563
56- #: ../../library/email.encoders.rst:22
64+ #: ../../library/email.encoders.rst:27
5765msgid ""
5866"The :mod:`email` package provides some convenient encodings in its "
5967":mod:`encoders` module. These encoders are actually used by the "
@@ -70,7 +78,7 @@ msgstr ""
7078"它们通常提取有效数据,对其进行编码,并将有效数据重置为此新编码的值。 他们还应该根据需要设置 :mailheader:`Content-"
7179"Transfer-Encoding` 标头。"
7280
73- #: ../../library/email.encoders.rst:30
81+ #: ../../library/email.encoders.rst:35
7482msgid ""
7583"Note that these functions are not meaningful for a multipart message. They "
7684"must be applied to individual subparts instead, and will raise a "
@@ -79,11 +87,11 @@ msgstr ""
7987"请注意,这些函数对于多段消息没有意义。 它们必须应用到各个单独的段上面,而不是整体。如果直接传递一个多段类型的消息,会产生一个 "
8088":exc:`TypeError` 错误。"
8189
82- #: ../../library/email.encoders.rst:34
90+ #: ../../library/email.encoders.rst:39
8391msgid "Here are the encoding functions provided:"
8492msgstr "下面是提供的编码函数:"
8593
86- #: ../../library/email.encoders.rst:39
94+ #: ../../library/email.encoders.rst:44
8795msgid ""
8896"Encodes the payload into quoted-printable form and sets the :mailheader"
8997":`Content-Transfer-Encoding` header to ``quoted-printable`` [#]_. This is a "
@@ -93,7 +101,7 @@ msgstr ""
93101"将有效数据编码为quoted-printable形式,并将:mailheader:`Content-Transfer-Encoding`标头设置为"
94102"``quoted-printable`` [#]_. 。当大多数实际的数据是普通的可打印数据但包含少量不可打印的字符时,这是一个很好的编码。"
95103
96- #: ../../library/email.encoders.rst:47
104+ #: ../../library/email.encoders.rst:52
97105msgid ""
98106"Encodes the payload into base64 form and sets the :mailheader:`Content-"
99107"Transfer-Encoding` header to ``base64``. This is a good encoding to use "
@@ -102,24 +110,24 @@ msgid ""
102110"renders the text non-human readable."
103111msgstr ""
104112
105- #: ../../library/email.encoders.rst:56
113+ #: ../../library/email.encoders.rst:61
106114msgid ""
107115"This doesn't actually modify the message's payload, but it does set the "
108116":mailheader:`Content-Transfer-Encoding` header to either ``7bit`` or "
109117"``8bit`` as appropriate, based on the payload data."
110118msgstr ""
111119
112- #: ../../library/email.encoders.rst:63
120+ #: ../../library/email.encoders.rst:68
113121msgid ""
114122"This does nothing; it doesn't even set the :mailheader:`Content-Transfer-"
115123"Encoding` header."
116124msgstr "这样什么都不会做;它甚至不会设置 :mailheader:`Content-Transfer-Encoding` 标头。"
117125
118- #: ../../library/email.encoders.rst:67
126+ #: ../../library/email.encoders.rst:72
119127msgid "Footnotes"
120128msgstr "脚注"
121129
122- #: ../../library/email.encoders.rst:68
130+ #: ../../library/email.encoders.rst:73
123131msgid ""
124132"Note that encoding with :meth:`encode_quopri` also encodes all tabs and "
125133"space characters in the data."
0 commit comments