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

Skip to content

Commit 6afd716

Browse files
[po] auto sync
1 parent 8537989 commit 6afd716

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

library/email.header.po

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# pop corner <[email protected]>, 2019
87
# Freesand Leo <[email protected]>, 2021
98
#
109
#, fuzzy
@@ -39,12 +38,15 @@ msgid ""
3938
"that need to completely control the character sets used when encoding "
4039
"headers."
4140
msgstr ""
41+
"此模块是旧式 (``Compat32``) email API 的一部分。 在当前的 API 中标头的编码和解码是由 "
42+
":class:`~email.message.EmailMessage` 类的字典型 API 来透明地处理的。 "
43+
"除了在旧有代码中使用,此模块在需要完全控制当编码标头时所使用的字符集时也很有用处。"
4244

4345
#: ../../library/email.header.rst:17
4446
msgid ""
4547
"The remaining text in this section is the original documentation of the "
4648
"module."
47-
msgstr "本段落中的剩余文本是该模块的原始文档。"
49+
msgstr "本节中的其余文本是此模块的原始文档。"
4850

4951
#: ../../library/email.header.rst:19
5052
msgid ""
@@ -54,6 +56,8 @@ msgid ""
5456
"only. :rfc:`2822` is a specification written assuming email contains only "
5557
"7-bit ASCII characters."
5658
msgstr ""
59+
":rfc:`2822` 是描述电子邮件消息格式的基础标准。 它派生自更早的 :rfc:`822` 标准,该标准在大多数电子邮件仅由 ASCII "
60+
"字符组成时已被广泛使用。 :rfc:`2822` 所描述的规范假定电子邮件都只包含 7 位 ASCII 字符。"
5761

5862
#: ../../library/email.header.rst:24
5963
msgid ""
@@ -67,6 +71,10 @@ msgid ""
6771
" these standards in its :mod:`email.header` and :mod:`email.charset` "
6872
"modules."
6973
msgstr ""
74+
"当然,随着电子邮件在全球部署,它已经变得国际化了,例如电子邮件消息中现在可以使用特定语言的专属字符集。 这个基础标准仍然要求电子邮件消息只使用 7 位 "
75+
"ASCII 字符来进行传输,为此编写了大量 RFC 来描述如何将包含非 ASCII 字符的电子邮件编码为符合 :rfc:`2822` 的格式。 这些 "
76+
"RFC 包括 :rfc:`2045`, :rfc:`2046`, :rfc:`2047` 和 :rfc:`2231`。 :mod:`email` 包在其"
77+
" :mod:`email.header` 和 :mod:`email.charset` 模块中支持了这些标准。"
7078

7179
#: ../../library/email.header.rst:33
7280
msgid ""
@@ -77,6 +85,10 @@ msgid ""
7785
"instead of using a string for the header value. Import the :class:`Header` "
7886
"class from the :mod:`email.header` module. For example::"
7987
msgstr ""
88+
"如果你想在你的电子邮件标头中包括非 ASCII 字符,比如说是在 :mailheader:`Subject` 或 :mailheader:`To` "
89+
"字段中,你应当使用 :class:`Header` 类并将 :class:`~email.message.Message` 对象中的字段赋值为 "
90+
":class:`Header` 的实例而不是使用字符串作为字段值。 请从 :mod:`email.header` 模块导入 "
91+
":class:`Header` 类。 例如::"
8092

8193
#: ../../library/email.header.rst:50
8294
msgid ""

0 commit comments

Comments
 (0)