44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Freesand Leo <[email protected] >, 202187# Arisaka97 <[email protected] >, 20218+ # Freesand Leo <[email protected] >, 202199#
1010#, fuzzy
1111msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414"Report-Msgid-Bugs-To : \n "
1515"POT-Creation-Date : 2021-01-01 05:02+0000\n "
1616"PO-Revision-Date : 2017-02-16 23:09+0000\n "
17- "Last-Translator : Arisaka97 <solitaire2312@gmail .com>, 2021\n "
17+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2021\n "
1818"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1919"MIME-Version : 1.0\n "
2020"Content-Type : text/plain; charset=UTF-8\n "
@@ -40,13 +40,17 @@ msgid ""
4040"well as such MIME-related RFCs as :rfc:`2045`, :rfc:`2046`, :rfc:`2047`, "
4141":rfc:`2183`, and :rfc:`2231`."
4242msgstr ""
43+ ":mod:`email` 包是一个用于管理电子邮件消息的库。 它 *并非* 被设计为执行向 SMTP (:rfc:`2821`), NNTP "
44+ "或其他服务器发送电子邮件消息的操作;这些是 :mod:`smtplib` 和 :mod:`nntplib` 等模块的功能。 :mod:`email` "
45+ "包试图尽可能遵循 RFC,支持 :rfc:`5233` 和 :rfc:`6532`,以及与 MIME 相关的各个 RFC 例如 :rfc:`2045`,"
46+ " :rfc:`2046`, :rfc:`2047`, :rfc:`2183` 和 :rfc:`2231`。"
4347
4448#: ../../library/email.rst:23
4549msgid ""
4650"The overall structure of the email package can be divided into three major "
4751"components, plus a fourth component that controls the behavior of the other "
4852"components."
49- msgstr ""
53+ msgstr "email 包的总体结构可以分为三个主要组件,另外还有第四个组件用于控制其他组件的行为。 "
5054
5155#: ../../library/email.rst:27
5256msgid ""
@@ -60,6 +64,10 @@ msgid ""
6064"model is a tree structure of objects that all provide the "
6165":class:`~email.message.EmailMessage` API."
6266msgstr ""
67+ "这个包的中心组件是代表电子邮件消息的“对象模型”。 应用程序主要通过在 :mod:`~email.message` "
68+ "子模块中定义的对象模型接口与这个包进行交互。 应用程序可以使用此 API "
69+ "来询问有关现有电子邮件的问题、构造新的电子邮件,或者添加或移除自身也使用相同对象模型接口的电子邮件子组件。 也就是说,遵循电子邮件消息及其 MIME "
70+ "子组件的性质,电子邮件对象模型是所有提供 :class:`~email.message.EmailMessage` API 的对象所构成的树状结构。"
6371
6472#: ../../library/email.rst:37
6573msgid ""
@@ -72,6 +80,10 @@ msgid ""
7280"characters, but this usage is discouraged as it is too easy to end up with "
7381"messages that are not valid in one way or another.)"
7482msgstr ""
83+ "这个包的另外两个主要组件是 :mod:`~email.parser` 和 :mod:`~email.generator`。 parser "
84+ "接受电子邮件消息的序列化版本(字节流)并将其转换为 :class:`~email.message.EmailMessage` 对象树。 "
85+ "generator 接受 :class:`~email.message.EmailMessage` 并将其转回序列化的字节流。 (parser 和 "
86+ "generator 还能处理文本字符流,但不建议这种用法,因为这很容易导致某种形式的无效消息。"
7587
7688#: ../../library/email.rst:46
7789msgid ""
0 commit comments