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

Skip to content

Commit 2aa3d42

Browse files
[po] auto sync
1 parent bf964fc commit 2aa3d42

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

faq/design.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Shengjing Zhu <[email protected]>, 2019
99
# ppcfish <[email protected]>, 2019
1010
# Meng Du <[email protected]>, 2019
11-
# Freesand Leo <[email protected]>, 2020
11+
# Freesand Leo <[email protected]>, 2021
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2021-03-15 05:42+0000\n"
1919
"PO-Revision-Date: 2017-02-16 17:42+0000\n"
20-
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
20+
"Last-Translator: Freesand Leo <[email protected]>, 2021\n"
2121
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -923,6 +923,9 @@ msgid ""
923923
"expressions) and loop (with ``while`` and ``for`` statements, possibly "
924924
"containing ``continue`` and ``break``)."
925925
msgstr ""
926+
"在 1970 年代人们了解到不受限制的 goto 可能导致混乱得像“意大利面”那样难以理解和修改的代码。 它在高级语言中也是不必要的,只需有分支(在 "
927+
"Python 中是使用 ``if`` 语句以及 ``or``, ``and`` 和 ``if-else`` 表达式)和循环(使用 ``while`` 和"
928+
" ``for`` 语句,可能包含 ``continue`` 和 ``break``)。"
926929

927930
#: ../../faq/design.rst:611
928931
msgid ""
@@ -931,6 +934,8 @@ msgid ""
931934
"all reasonable uses of the \"go\" or \"goto\" constructs of C, Fortran, and "
932935
"other languages. For example::"
933936
msgstr ""
937+
"人们还可以使用异常捕获来提供甚至能跨函数调用的“结构化 goto”。 许多人认为异常可以方便地模拟 C, Fortran "
938+
"和其他语言中所有合理使用的“go”或“goto”构造。 例如::"
934939

935940
#: ../../faq/design.rst:627
936941
msgid ""

library/email.header.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ msgstr "可选的 *errors* 会被直接传递给 :meth:`append` 方法。"
169169

170170
#: ../../library/email.header.rst:94
171171
msgid "Append the string *s* to the MIME header."
172-
msgstr ""
172+
msgstr "将字符串 *s* 添加到 MIME 标头。"
173173

174174
#: ../../library/email.header.rst:96
175175
msgid ""
@@ -179,6 +179,9 @@ msgid ""
179179
" ``None`` (the default) means that the *charset* given in the constructor is"
180180
" used."
181181
msgstr ""
182+
"如果给出可选的 *charset*,它应当是一个 :class:`~email.charset.Charset` 实例 (参见 "
183+
":mod:`email.charset`) 或字符集名称,该参数将被转换为一个 :class:`~email.charset.Charset` 实例。"
184+
" 如果为 ``None`` (默认值) 则表示会使用构造器中给出的 *charset*。"
182185

183186
#: ../../library/email.header.rst:102
184187
msgid ""
@@ -187,12 +190,14 @@ msgid ""
187190
"string, and a :exc:`UnicodeError` will be raised if the string cannot be "
188191
"decoded with that character set."
189192
msgstr ""
193+
"*s* 可以是 :class:`bytes` 或 :class:`str` 的实例。 如果它是 :class:`bytes` 的实例,则 "
194+
"*charset* 为该字节串的编码格式,如果字节串无法用该字符集来解码则将引发 :exc:`UnicodeError`。"
190195

191196
#: ../../library/email.header.rst:107
192197
msgid ""
193198
"If *s* is an instance of :class:`str`, then *charset* is a hint specifying "
194199
"the character set of the characters in the string."
195-
msgstr ""
200+
msgstr "如果 *s* 是 :class:`str` 的实例,则 *charset* 是用来指定字符串中字符字符集的提示。"
196201

197202
#: ../../library/email.header.rst:110
198203
msgid ""

0 commit comments

Comments
 (0)