@@ -19,7 +19,7 @@ msgid ""
19
19
msgstr ""
20
20
"Project-Id-Version : Python 3.8\n "
21
21
"Report-Msgid-Bugs-To : \n "
22
- "POT-Creation-Date : 2024-02-23 23:39 +0000\n "
22
+ "POT-Creation-Date : 2024-02-25 05:11 +0000\n "
23
23
"PO-Revision-Date : 2020-05-30 12:18+0000\n "
24
24
"Last-Translator : Freesand Leo <yuqinju@163.com>, 2024\n "
25
25
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1593,6 +1593,10 @@ msgid ""
1593
1593
"and ``False`` for all other policies. (Contributed by Milan Oberkirch in "
1594
1594
":issue:`20098`.)"
1595
1595
msgstr ""
1596
+ "新增的策略选项 :attr:`Policy.mangle_from_ <email.policy.Policy.mangle_from_>` "
1597
+ "可控制生成器是否要为电子邮件消息体中以controls whether or not lines that start with ``\" From "
1598
+ "\" `` 打头的行添加 ``\" >\" `` 字符前缀。 默认 :attr:`~email.policy.compat32` 为 ``True`` "
1599
+ "而所有其他策略均为 ``False``。 (由 Milan Oberkirch 在 :issue:`20098` 中贡献。)"
1596
1600
1597
1601
#: ../../whatsnew/3.5.rst:1104
1598
1602
msgid ""
@@ -1601,6 +1605,10 @@ msgid ""
1601
1605
" to a canonical value for the :mailheader:`Content-Disposition` header. "
1602
1606
"(Contributed by Abhilash Raj in :issue:`21083`.)"
1603
1607
msgstr ""
1608
+ "新增的 :meth:`Message.get_content_disposition() "
1609
+ "<email.message.Message.get_content_disposition>` 方法可提供对 "
1610
+ ":mailheader:`Content-Disposition` 标头规范值的便捷访问。 (由 Abhilash Raj 在 "
1611
+ ":issue:`21083` 中贡献。)"
1604
1612
1605
1613
#: ../../whatsnew/3.5.rst:1110
1606
1614
msgid ""
@@ -1611,13 +1619,20 @@ msgid ""
1611
1619
":rfc:`6531` ``SMTPUTF8`` extension. (Contributed by R. David Murray in "
1612
1620
":issue:`24211`.)"
1613
1621
msgstr ""
1622
+ "新增的策略选项 :attr:`EmailPolicy.utf8 <email.policy.EmailPolicy.utf8>` 可被设为 "
1623
+ "``True`` 以使用 UTF-8 字符集而不是使用已编码的字来编码电子邮件标头。 这将允许根据 :rfc:`6532` 来格式化 "
1624
+ "``Messages`` 并配合支持 :rfc:`6531` ``SMTPUTF8`` 扩展的 SMTP 服务器使用。 (由 R. David "
1625
+ "Murray 在 :issue:`24211` 中贡献。)"
1614
1626
1615
1627
#: ../../whatsnew/3.5.rst:1117
1616
1628
msgid ""
1617
1629
"The :class:`mime.text.MIMEText <email.mime.text.MIMEText>` constructor now "
1618
1630
"accepts a :class:`charset.Charset <email.charset.Charset>` instance. "
1619
1631
"(Contributed by Claude Paroz and Berker Peksag in :issue:`16324`.)"
1620
1632
msgstr ""
1633
+ "现在 :class:`mime.text.MIMEText <email.mime.text.MIMEText>` 构造器可接受一个 "
1634
+ ":class:`charset.Charset <email.charset.Charset>` 实例。 (由 Claude Paroz 和 "
1635
+ "Berker Peksag 在 :issue:`16324` 中贡献。)"
1621
1636
1622
1637
#: ../../whatsnew/3.5.rst:1123
1623
1638
msgid "enum"
@@ -1628,6 +1643,7 @@ msgid ""
1628
1643
"The :class:`~enum.Enum` callable has a new parameter *start* to specify the "
1629
1644
"initial number of enum values if only *names* are provided::"
1630
1645
msgstr ""
1646
+ ":class:`~enum.Enum` 可调用对象新增了一个形参 *start* 用于在只提供了 *names* 的情况下指定枚举值的初始数量::"
1631
1647
1632
1648
#: ../../whatsnew/3.5.rst:1134
1633
1649
msgid "(Contributed by Ethan Furman in :issue:`21706`.)"
0 commit comments