@@ -326,6 +326,9 @@ msgid ""
326326":class:`str` value of the elements of the ``groups`` attribute with ``', "
327327"'``."
328328msgstr ""
329+ "标头的 ``decoded`` 值将为所有已编码字解码为 unicode 的结果。 :class:`~encodings.idna` "
330+ "编码的域名也将被解码为 unicode。 ``decoded`` 值是通过对 ``groups`` 属性的元素的 :class:`str` 值使用 "
331+ "``', '`` 进行 :attr:`~str.join` 来设置的。"
329332
330333#: ../../library/email.headerregistry.rst:213
331334msgid ""
@@ -335,11 +338,14 @@ msgid ""
335338"allows an address list to be copied with groups intact by using the list "
336339"obtained from the ``groups`` attribute of the source header."
337340msgstr ""
341+ "可以使用 :class:`.Address` 与 :class:`.Group` 对象的任意组合的列表来设置一个地址标头的值。 "
342+ "``display_name`` 为 ``None`` 的 ``Group`` 对象将被解读为单独地址,这允许一个地址列表可以附带通过使用从源标头的 "
343+ "``groups`` 属性获取的列表而保留原分组。"
338344
339345#: ../../library/email.headerregistry.rst:222
340346msgid ""
341347"A subclass of :class:`.AddressHeader` that adds one additional attribute:"
342- msgstr ""
348+ msgstr ":class:`.AddressHeader` 的子类,添加了一个额外的属性: "
343349
344350#: ../../library/email.headerregistry.rst:228
345351msgid ""
@@ -348,13 +354,17 @@ msgid ""
348354"RFC under the default :mod:`~email.policy`), accessing this attribute will "
349355"result in a :exc:`ValueError`."
350356msgstr ""
357+ "由标头值编码的单个地址。 如果标头值实际上包含一个以上的地址(这在默认 :mod:`~email.policy` 下将违反 RFC),则访问此属性将导致"
358+ " :exc:`ValueError`。"
351359
352360#: ../../library/email.headerregistry.rst:234
353361msgid ""
354362"Many of the above classes also have a ``Unique`` variant (for example, "
355363"``UniqueUnstructuredHeader``). The only difference is that in the "
356364"``Unique`` variant, :attr:`~.BaseHeader.max_count` is set to 1."
357365msgstr ""
366+ "上述类中许多还具有一个 ``Unique`` 变体 (例如 ``UniqueUnstructuredHeader``)。 其唯一差别是在 "
367+ "``Unique`` 变体中 :attr:`~.BaseHeader.max_count` 被设为 1。"
358368
359369#: ../../library/email.headerregistry.rst:241
360370msgid ""
0 commit comments