Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86c7fc8

Browse files
[po] auto sync
1 parent f12e778 commit 86c7fc8

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

library/email.compat32-message.po

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,16 @@ msgid ""
230230
"example, ``is_multipart`` will return ``True`` when the :class:`Message` is "
231231
"of type ``message/rfc822``.)"
232232
msgstr ""
233+
"如果该消息的载荷是一个子 :class:`Message` 对象列表则返回 ``True``,否则返回 ``False``。 当 "
234+
":meth:`is_multipart` 返回 ``False`` 时,载荷应当是一个字符串对象(有可能是一个 CTE 编码的二进制载荷)。 (请注意 "
235+
":meth:`is_multipart` 返回 ``True`` 并不意味着 \"msg.get_content_maintype() == "
236+
"'multipart'\" 将返回 ``True``。 例如,``is_multipart`` 在 :class:`Message` 类型为 "
237+
"``message/rfc822`` 时也将返回 ``True``。)"
233238

234239
#: ../../library/email.compat32-message.rst:165
235240
msgid ""
236241
"Set the message's envelope header to *unixfrom*, which should be a string."
237-
msgstr ""
242+
msgstr "将消息的封包标头设为 *unixfrom*,这应当是一个字符串。"
238243

239244
#: ../../library/email.compat32-message.rst:170
240245
msgid ""
@@ -250,6 +255,9 @@ msgid ""
250255
"set the payload to a scalar object (e.g. a string), use :meth:`set_payload` "
251256
"instead."
252257
msgstr ""
258+
"将给定的 *payload* 添加到当前载荷中,当前载荷在该调用之前必须为 ``None`` 或是一个 :class:`Message` 对象列表。 "
259+
"在调用之后,此载荷将总是一个 :class:`Message` 对象列表。 如果你想将此载荷设为一个标量对象(如字符串),请改用 "
260+
":meth:`set_payload`。"
253261

254262
#: ../../library/email.compat32-message.rst:182
255263
msgid ""
@@ -258,6 +266,9 @@ msgid ""
258266
":meth:`~email.message.EmailMessage.set_content` and the related ``make`` and"
259267
" ``add`` methods."
260268
msgstr ""
269+
"这是一个过时的方法。 在 :class:`~email.emailmessage.EmailMessage` 类上它的功能已被 "
270+
":meth:`~email.message.EmailMessage.set_content` 及相应的 ``make`` 和 ``add`` "
271+
"方法所替代。"
261272

262273
#: ../../library/email.compat32-message.rst:190
263274
msgid ""
@@ -266,6 +277,9 @@ msgid ""
266277
":meth:`is_multipart` is ``False``. If the payload is a list and you mutate "
267278
"the list object, you modify the message's payload in place."
268279
msgstr ""
280+
"返回当前的载荷,它在 :meth:`is_multipart` 为 ``True`` 时将是一个 :class:`Message` 对象列表,在 "
281+
":meth:`is_multipart` 为 ``False`` 时则是一个字符串。 "
282+
"如果该载荷是一个列表且你修改了这个列表对象,那么你就是原地修改了消息的载荷。"
269283

270284
#: ../../library/email.compat32-message.rst:195
271285
msgid ""

whatsnew/3.6.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ msgstr ""
562562
msgid ""
563563
"(Implemented by Brett Cannon, Ethan Furman, Dusty Phillips, and Jelle "
564564
"Zijlstra.)"
565-
msgstr ""
565+
msgstr "(由 Brett Cannon, Ethan Furman, Dusty Phillips 和 Jelle Zijlstra 实现。)"
566566

567567
#: ../../whatsnew/3.6.rst:461
568568
msgid ":pep:`519` -- Adding a file system path protocol"

0 commit comments

Comments
 (0)