8000 [po] auto sync · python/python-docs-zh-cn@03f56f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 03f56f7

Browse files
[po] auto sync
1 parent 2ad4e87 commit 03f56f7

File tree

10 files changed

+642
-637
lines changed

10 files changed

+642
-637
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "80.85%", "updated_at": "2025-01-24T11:55:56Z"}
1+
{"translation": "80.80%", "updated_at": "2025-01-24T14:55:51Z"}

faq/programming.po

Lines changed: 81 additions & 87 deletions
Large diffs are not rendered by default.

glossary.po

Lines changed: 190 additions & 196 deletions
Large diffs are not rendered by default.

howto/mro.po

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2025-01-17 14:16+0000\n"
17+
"POT-Creation-Date: 2025-01-24 14:16+0000\n"
1818
"PO-Revision-Date: 2024-04-19 14:15+0000\n"
1919
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -698,11 +698,8 @@ msgstr ""
698698
msgid ""
699699
"We see that class G inherits from F and E, with F *before* E: therefore we "
700700
"would expect the attribute *G.remember2buy* to be inherited by "
701-
"*F.rembermer2buy* and not by *E.remember2buy*: nevertheless Python 2.2 "
702-
"gives"
701+
"*F.remember2buy* and not by *E.remember2buy*: nevertheless Python 2.2 gives"
703702
msgstr ""
704-
"我们看到类 G 继承自 F 和 E,其中 F *先于* E:因此我们预期属性 *G.remember2buy* 会被 *F.rembermer2buy*"
705-
" 而不是被 *E.remember2buy* 继承:然而 Python 2.2 给出的结果是"
706703

707704
#: ../../howto/mro.rst:407
708705
msgid ""

library/email.contentmanager.po

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2024, Python Software Foundation
2+
# Copyright (C) 2001-2025, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-10-04 14:17+0000\n"
16+
"POT-Creation-Date: 2025-01-24 14:16+0000\n"
1717
"PO-Revision-Date: 2021-06-28 01:04+0000\n"
1818
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -263,10 +263,19 @@ msgstr ""
263263
#: ../../library/email.contentmanager.rst:159
264264
msgid ""
265265
"For ``str`` objects, if *cte* is not set use heuristics to determine the "
266-
"most compact encoding."
267-
msgstr "对于 ``str`` 对象,如果 *cte* 未设置则会使用启发方式来确定最紧凑的编码格式。"
266+
"most compact encoding. Prior to encoding, :meth:`str.splitlines` is used to"
267+
" normalize all line boundaries, ensuring that each line of the payload is "
268+
"terminated by the current policy's :data:`~email.policy.Policy.linesep` "
269+
"property (even if the original string did not end with one)."
270+
msgstr ""
271+
272+
#: ../../library/email.contentmanager.rst:165
273+
msgid ""
274+
"For ``bytes`` objects, *cte* is taken to be base64 if not set, and the "
275+
"aforementioned newline translation is not performed."
276+
msgstr ""
268277

269-
#: ../../library/email.contentmanager.rst:161
278+
#: ../../library/email.contentmanager.rst:167
270279
msgid ""
271280
"For :class:`~email.message.EmailMessage`, per :rfc:`2046`, raise an error if"
272281
" a *cte* of ``quoted-printable`` or ``base64`` is requested for *subtype* "
@@ -279,7 +288,7 @@ msgstr ""
279288
"*cte* 为 *subtype* ``external-body`` 则会引发一个错误。 对于 ``message/rfc822``,如果 *cte*"
280289
" 未指定则会使用 ``8bit``。 对于所有其他 *subtype* 值,都会使用 ``7bit``。"
281290

282-
#: ../../library/email.contentmanager.rst:168
291+
#: ../../library/email.contentmanager.rst:174
283292
msgid ""
284293
"A *cte* of ``binary`` does not actually work correctly yet. The "
285294
"``EmailMessage`` object as modified by ``set_content`` is correct, but "
@@ -288,7 +297,7 @@ msgstr ""
288297
"*cte* 值为 ``binary`` 实际上还不能正确工作。 由 ``set_content`` 所修改的 ``EmailMessage`` "
289298
"对象是正确的,但 :class:`~email.generator.BytesGenerator` 不会正确地将其序列化。"
290299

291-
#: ../../library/email.contentmanager.rst:173
300+
#: ../../library/email.contentmanager.rst:179
292301
msgid ""
293302
"If *disposition* is set, use it as the value of the :mailheader:`Content-"
294303
"Disposition` header. If not specified, and *filename* is specified, add the"
@@ -300,21 +309,21 @@ msgstr ""
300309
"如果未设置,并且指定了 *filename*,则添加值为 ``attachment`` 的标头。 如果未设置 *disposition* 并且也未指定 "
301310
"*filename*,则不添加标头。 *disposition* 的有效值仅有 ``attachment`` 和 ``inline``。"
302311

303-
#: ../../library/email.contentmanager.rst:180
312+
#: ../../library/email.contentmanager.rst:186
304313
msgid ""
305314
"If *filename* is specified, use it as the value of the ``filename`` "
306315
"parameter of the :mailheader:`Content-Disposition` header."
307316
msgstr ""
308317
"如果设置了 *filename*,则将其用作 :mailheader:`Content-Disposition` 标头的 ``filename`` "
309318
"参数的值。"
310319

311-
#: ../../library/email.contentmanager.rst:183
320+
#: ../../library/email.contentmanager.rst:189
312321
msgid ""
313322
"If *cid* is specified, add a :mailheader:`Content-ID` header with *cid* as "
314323
"its value."
315324
msgstr "如果设置了 *cid*,则添加一个 :mailheader:`Content-ID` 标头并将其值设为 *cid*。"
316325

317-
#: ../../library/email.contentmanager.rst:186
326+
#: ../../library/email.contentmanager.rst:192
318327
msgid ""
319328
"If *params* is specified, iterate its ``items`` method and use the resulting"
320329
" ``(key, value)`` pairs to set additional parameters on the "
@@ -323,7 +332,7 @@ msgstr ""
323332
"如果设置了 *params*,则迭代其 ``items`` 方法并使用输出的 ``(key, value)`` 结果对在 "
324333
":mailheader:`Content-Type` 标头上设置附加参数。"
325334

326-
#: ../../library/email.contentmanager.rst:190
335+
#: ../../library/email.contentmanager.rst:196
327336
msgid ""
328337
"If *headers* is specified and is a list of strings of the form ``headername:"
329338
" headervalue`` or a list of ``header`` objects (distinguished from strings "
@@ -332,11 +341,11 @@ msgstr ""
332341
"如果设置了 *headers* 并且为 ``headername: headervalue`` 形式的字符串的列表或为 ``header`` "
333342
"对象的列表(通过一个 ``name`` 属性与字符串相区分),则将标头添加到 *msg*。"
334343

335-
#: ../../library/email.contentmanager.rst:197
344+
#: ../../library/email.contentmanager.rst:203
336345
msgid "Footnotes"
337346
msgstr "备注"
338347

339-
#: ../../library/email.contentmanager.rst:198
348+
#: ../../library/email.contentmanager.rst:204
340349
msgid ""
341350
"Originally added in 3.4 as a :term:`provisional module <provisional "
342351
"package>`"

0 commit comments

Comments
 (0)
0