@@ -296,32 +296,41 @@ msgid ""
296296" *filename* is also not specified, do not add the header. The only valid "
297297"values for *disposition* are ``attachment`` and ``inline``."
298298msgstr ""
299+ "如果设置了 *disposition*,它会被用作 :mailheader:`Content-Disposition` 标头的值。 "
300+ "如果未设置,并且指定了 *filename*,则添加值为 ``attachment`` 的标头。 如果未设置 *disposition* 并且也未指定 "
301+ "*filename*,则不添加标头。 *disposition* 的有效值仅有 ``attachment`` 和 ``inline``。"
299302
300303#: ../../library/email.contentmanager.rst:179
301304msgid ""
302305"If *filename* is specified, use it as the value of the ``filename`` "
303306"parameter of the :mailheader:`Content-Disposition` header."
304307msgstr ""
308+ "如果设置了 *filename*,则将其用作 :mailheader:`Content-Disposition` 标头的 ``filename`` "
309+ "参数的值。"
305310
306311#: ../../library/email.contentmanager.rst:182
307312msgid ""
308313"If *cid* is specified, add a :mailheader:`Content-ID` header with *cid* as "
309314"its value."
310- msgstr ""
315+ msgstr "如果设置了 *cid*,则添加一个 :mailheader:`Content-ID` 标头并将其值设为 *cid*。 "
311316
312317#: ../../library/email.contentmanager.rst:185
313318msgid ""
314319"If *params* is specified, iterate its ``items`` method and use the resulting"
315320" ``(key, value)`` pairs to set additional parameters on the :mailheader"
316321":`Content-Type` header."
317322msgstr ""
323+ "如果设置了 *params*,则迭代其 ``items`` 方法并使用输出的 ``(key, value)`` 结果对在 :mailheader"
324+ ":`Content-Type` 标头上设置附加参数。"
318325
319326#: ../../library/email.contentmanager.rst:189
320327msgid ""
321328"If *headers* is specified and is a list of strings of the form ``headername:"
322329" headervalue`` or a list of ``header`` objects (distinguished from strings "
323330"by having a ``name`` attribute), add the headers to *msg*."
324331msgstr ""
332+ "如果设置了 *headers* 并且为 ``headername: headervalue`` 形式的字符串的列表或为 ``header`` "
333+ "对象的列表(通过一个 ``name`` 属性与字符串相区分),则将标头添加到 *msg*。"
325334
326335#: ../../library/email.contentmanager.rst:196
327336msgid "Footnotes"
0 commit comments