Skip to content

Commit 4c14cf7

Browse files
[po] auto sync
1 parent fc3e5d3 commit 4c14cf7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.42%", "updated_at": "2024-04-06T12:26:03Z"}
1+
{"translation": "92.43%", "updated_at": "2024-04-07T02:26:05Z"}

whatsnew/3.4.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,11 @@ msgid ""
12901290
"intuitive result: a bytes object containing the fully formatted message. "
12911291
"(Contributed by R. David Murray in :issue:`18600`.)"
12921292
msgstr ""
1293+
"新增方法 :meth:`~email.message.Message.as_bytes` 用于产生消息的与 ``as_string`` "
1294+
"所产生的字符串表示形式类似的字节串表示形式。 它不接受 *maxheaderlen* 参数,但接受 *unixfrom* 和 *policy* 参数。 "
1295+
":class:`~email.message.Message` 的 :meth:`~email.message.Message.__bytes__` "
1296+
"方法将调用它,这意味着现在 ``bytes(mymsg)`` 将产生直观的结果:一个包含完整已格式化消息的字节串对象。 (由 R. David "
1297+
"Murray 在 :issue:`18600` 中贡献。)"
12931298

12941299
#: ../../whatsnew/3.4.rst:811
12951300
msgid ""
@@ -1299,6 +1304,9 @@ msgid ""
12991304
"the default is ``False``. (Contributed by R. David Murray in "
13001305
":issue:`18891`.)"
13011306
msgstr ""
1307+
"现在 :meth:`.Message.set_param` 消息接受一个 *replace* 关键字参数。 "
1308+
"当指定该参数时,关联的标头将被更新而不会修改其在标头列表中的位置。 为了保持向下兼容,该参数默认值为 ``False``。 (由 R. David "
1309+
"Murray 在 :issue:`18891` 中贡献。)"
13021310

13031311
#: ../../whatsnew/3.4.rst:819
13041312
msgid ""

0 commit comments

Comments
 (0)