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

Skip to content

Commit 00b9c17

Browse files
[po] auto sync
1 parent 3e953d9 commit 00b9c17

2 files changed

Lines changed: 6625 additions & 6606 deletions

File tree

library/email.policy.po

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,10 @@ msgid ""
601601
"field types, and the major MIME header field stypes. Support for additional"
602602
" custom parsing will be added in the future."
603603
msgstr ""
604+
"该可调用对象接受两个参数,``name`` 和 ``value``,其中 ``name`` 为标头字段名而 ``value`` "
605+
"为展开后的标头字段值,并返回一个表示该标头的字符串子类。 已提供的默认 ``header_factory`` (参见 "
606+
":mod:`~email.headerregistry`) 支持对各种地址和日期 :RFC:`5322` 标头字段类型及主要 MIME "
607+
"标头字段类型的自定义解析。 未来还将添加对其他自定义解析的支持。"
604608

605609
#: ../../library/email.policy.rst:430
606610
msgid ""
@@ -613,19 +617,27 @@ msgid ""
613617
"additional arguments. By default ``content_manager`` is set to "
614618
":data:`~email.contentmanager.raw_data_manager`."
615619
msgstr ""
620+
"此对象至少有两个方法: get_content 和 set_content。 当一个 "
621+
":class:`~email.message.EmailMessage` 对象的 "
622+
":meth:`~email.message.EmailMessage.get_content` 或 "
623+
":meth:`~email.message.EmailMessage.set_content` "
624+
"方法被调用时,它会调用此对象的相应方法,将消息对象作为其第一个参数,并将传给它的任何参数或关键字作为附加参数传入。 默认情况下 "
625+
"``content_manager`` 会被设为 :data:`~email.contentmanager.raw_data_manager`。"
616626

617627
#: ../../library/email.policy.rst:442 ../../library/email.policy.rst:600
618628
msgid ""
619629
"The class provides the following concrete implementations of the abstract "
620630
"methods of :class:`Policy`:"
621-
msgstr ""
631+
msgstr "这个类提供了下列对 :class:`Policy` 的抽象方法的具体实现:"
622632

623633
#: ../../library/email.policy.rst:448
624634
msgid ""
625635
"Returns the value of the :attr:`~email.headerregistry.BaseHeader.max_count` "
626636
"attribute of the specialized class used to represent the header with the "
627637
"given name."
628638
msgstr ""
639+
"返回用来表示具有给定名称的标头的专用类的 :attr:`~email.headerregistry.BaseHeader.max_count` "
640+
"属性的值。"
629641

630642
#: ../../library/email.policy.rst:456 ../../library/email.policy.rst:606
631643
msgid ""

0 commit comments

Comments
 (0)