@@ -41,6 +41,8 @@ msgid ""
4141"to register converters between MIME content and other representations, as "
4242"well as the ``get_content`` and ``set_content`` dispatch methods."
4343msgstr ""
44+ "内容管理器的基类。 提供注册 MIME 内容和其他表示形式间转换器的标准注册机制,以及 ``get_content`` 和 "
45+ "``set_content`` 发送方法。"
4446
4547#: ../../library/email.contentmanager.rst:26
4648msgid ""
@@ -50,30 +52,32 @@ msgid ""
5052"from *msg* and return an object that encodes information about the extracted"
5153" data."
5254msgstr ""
55+ "基于 *msg* 的 ``mimetype`` 查找处理函数(参见下一段),调用该函数,传递所有参数,并返回调用的结果。 期望的效果是处理程序将从 "
56+ "*msg* 中提取有效载荷并返回编码了有关被提取数据信息的对象。"
5357
5458#: ../../library/email.contentmanager.rst:32
5559msgid ""
5660"To find the handler, look for the following keys in the registry, stopping "
5761"with the first one found:"
58- msgstr ""
62+ msgstr "要找到处理程序,将在注册表中查找以下键,找到第一个键即停止: "
5963
6064#: ../../library/email.contentmanager.rst:35
6165msgid "the string representing the full MIME type (``maintype/subtype``)"
62- msgstr ""
66+ msgstr "表示完整 MIME 类型的字符串 (``maintype/subtype``) "
6367
6468#: ../../library/email.contentmanager.rst:36
6569msgid "the string representing the ``maintype``"
66- msgstr ""
70+ msgstr "表示 ``maintype`` 的字符串 "
6771
6872#: ../../library/email.contentmanager.rst:37
6973msgid "the empty string"
70- msgstr ""
74+ msgstr "空字符串 "
7175
7276#: ../../library/email.contentmanager.rst:39
7377msgid ""
7478"If none of these keys produce a handler, raise a :exc:`KeyError` for the "
7579"full MIME type."
76- msgstr ""
80+ msgstr "如果这些键都没有产生处理程序,则为完整 MIME 类型引发一个 :exc:`KeyError`。 "
7781
7882#: ../../library/email.contentmanager.rst:45
7983msgid ""
0 commit comments