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

Skip to content

Commit 5f36842

Browse files
[po] auto sync
1 parent 4c93b5a commit 5f36842

2 files changed

Lines changed: 30 additions & 11 deletions

File tree

library/email.generator.po

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,19 +204,25 @@ msgid ""
204204
"the lines of the flattened message. If *linesep* is ``None`` (the default),"
205205
" use the value specified in the *policy*."
206206
msgstr ""
207+
"如果 *linesep* 不为 ``None``,则会将其用作扁平化消息的所有行之间的分隔符。 如果 *linesep* 为 ``None`` "
208+
"(默认值),则使用在 *policy* 中指定的值。"
207209

208210
#: ../../library/email.generator.rst:119
209211
msgid ""
210212
"Return an independent clone of this :class:`BytesGenerator` instance with "
211213
"the exact same option settings, and *fp* as the new *outfp*."
212214
msgstr ""
215+
"返回此Return an independent clone of this :class:`BytesGenerator` "
216+
"实例的独立克隆,具有完全相同的选项设置,而 *fp* 为新的 *outfp*。"
213217

214218
#: ../../library/email.generator.rst:125
215219
msgid ""
216220
"Encode *s* using the ``ASCII`` codec and the ``surrogateescape`` error "
217221
"handler, and pass it to the *write* method of the *outfp* passed to the "
218222
":class:`BytesGenerator`'s constructor."
219223
msgstr ""
224+
"使用 ``ASCII`` 编解码器和 ``surrogateescape`` 错误处理程序编码 *s*,并将其传递给传入到 "
225+
":class:`BytesGenerator` 的构造器的 *outfp* 的 *write* 方法 。"
220226

221227
#: ../../library/email.generator.rst:130
222228
msgid ""
@@ -226,6 +232,10 @@ msgid ""
226232
"generation of a serialized binary representation of a message object. For "
227233
"more detail, see :mod:`email.message`."
228234
msgstr ""
235+
"作为一个便捷工具,:class:`~email.message.EmailMessage` 提供了 "
236+
":meth:`~email.message.EmailMessage.as_bytes` 和 ``bytes(aMessage)`` (即 "
237+
":meth:`~email.message.EmailMessage.__bytes__`) 等方法,它们简单地生成一个消息对象的序列化二进制表示形式。"
238+
" 更多细节请参阅 :mod:`email.message`。"
229239

230240
#: ../../library/email.generator.rst:137
231241
msgid ""
@@ -237,6 +247,10 @@ msgid ""
237247
" not \"8 bit clean\". In other words, most applications will want to be "
238248
"using :class:`BytesGenerator`, and not :class:`Generator`."
239249
msgstr ""
250+
"因为字符串无法表示二进制数据,:class:`Generator` 类必须将任何消息中扁平化的任何二进制数据转换为兼容 ASCII "
251+
"的格式,具体将其转换为兼容 ASCII 的 :mailheader:`Content-Transfer_Encoding`。 使用电子邮件 RFC "
252+
"的术语,你可以将其视作 :class:`Generator` 序列化为不 \"支持 8 比特\" 的 I/O 流。 换句话说,大部分应用程序将需要使用 "
253+
":class:`BytesGenerator`,而非 :class:`Generator`。"
240254

241255
#: ../../library/email.generator.rst:148
242256
msgid ""
@@ -245,13 +259,16 @@ msgid ""
245259
"method, to the :term:`file-like object` *outfp*. *outfp* must support a "
246260
"``write`` method that accepts string data."
247261
msgstr ""
262+
"返回一个 :class:`Generator`,它将把提供给 :meth:`flatten` 方法的任何消息,或者提供给 :meth:`write` "
263+
"方法的任何文本写入到 :term:`file-like object` *outfp*。 *outfp* 必须支持接受字符串数据的 ``write`` "
264+
"方法。"
248265

249266
#: ../../library/email.generator.rst:182
250267
msgid ""
251268
"Print the textual representation of the message object structure rooted at "
252269
"*msg* to the output file specified when the :class:`Generator` instance was "
253270
"created."
254-
msgstr ""
271+
msgstr "将以 *msg* 为根的消息对象结构体的文本表示形式打印到当 :class:`Generator` 实例被创建时所指定的输出文件。"
255272

256273
#: ../../library/email.generator.rst:186
257274
msgid ""

whatsnew/changelog.po

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
# Arisaka97 <[email protected]>, 2020
1414
# ppcfish <[email protected]>, 2020
1515
# isaced <[email protected]>, 2020
16-
# Freesand Leo <[email protected]>, 2020
1716
# 之航 P <[email protected]>, 2020
1817
# Alex Ding <[email protected]>, 2020
1918
# emrich <[email protected]>, 2020
2019
# Shengjing Zhu <[email protected]>, 2020
20+
# Freesand Leo <[email protected]>, 2021
2121
#
2222
#, fuzzy
2323
msgid ""
@@ -26,7 +26,7 @@ msgstr ""
2626
"Report-Msgid-Bugs-To: \n"
2727
"POT-Creation-Date: 2021-01-17 05:09+0000\n"
2828
"PO-Revision-Date: 2017-02-16 23:45+0000\n"
29-
"Last-Translator: Shengjing Zhu <zsj950618@gmail.com>, 2020\n"
29+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
3030
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
3131
"MIME-Version: 1.0\n"
3232
"Content-Type: text/plain; charset=UTF-8\n"
@@ -84,6 +84,8 @@ msgid ""
8484
"for f-strings :mod:`ast` nodes surrounded by parentheses and for nodes that "
8585
"spawn multiple lines. Patch by Pablo Galindo."
8686
msgstr ""
87+
"`bpo-42806 <https://bugs.python.org/issue42806>`__: 修复包括在圆括号中的 :mod:`ast` "
88+
"节点以及会产生多行的节点的f-字符串列偏移量问题。 由 Pablo Galindo 提供补丁。"
8789

8890
#: ../../../build/NEWS:16
8991
msgid ""
@@ -107,39 +109,39 @@ msgstr ""
107109

108110
#: ../../../build/NEWS:27
109111
msgid ":meth:`collections.OrderedDict.items() <collections.OrderedDict>`"
110-
msgstr ""
112+
msgstr ":meth:`collections.OrderedDict.items() <collections.OrderedDict>`"
111113

112114
#: ../../../build/NEWS:29
113115
msgid ":meth:`dict.items`"
114-
msgstr ""
116+
msgstr ":meth:`dict.items`"
115117

116118
#: ../../../build/NEWS:31
117119
msgid ":func:`enumerate`"
118120
msgstr ":func:`enumerate`"
119121

120122
#: ../../../build/NEWS:33
121123
msgid ":func:`functools.reduce`"
122-
msgstr ""
124+
msgstr ":func:`functools.reduce`"
123125

124126
#: ../../../build/NEWS:35
125127
msgid ":func:`itertools.combinations`"
126-
msgstr ""
128+
msgstr ":func:`itertools.combinations`"
127129

128130
#: ../../../build/NEWS:37
129131
msgid ":func:`itertools.combinations_with_replacement`"
130-
msgstr ""
132+
msgstr ":func:`itertools.combinations_with_replacement`"
131133

132134
#: ../../../build/NEWS:39
133135
msgid ":func:`itertools.permutations`"
134-
msgstr ""
136+
msgstr ":func:`itertools.permutations`"
135137

136138
#: ../../../build/NEWS:41
137139
msgid ":func:`itertools.product`"
138-
msgstr ""
140+
msgstr ":func:`itertools.product`"
139141

140142
#: ../../../build/NEWS:43
141143
msgid ":func:`itertools.zip_longest`"
142-
msgstr ""
144+
msgstr ":func:`itertools.zip_longest`"
143145

144146
#: ../../../build/NEWS:45
145147
msgid ":func:`zip`"

0 commit comments

Comments
 (0)