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

Skip to content

Commit 196ed03

Browse files
[po] auto sync
1 parent 2ba1c8a commit 196ed03

4 files changed

Lines changed: 28 additions & 9 deletions

File tree

c-api/number.po

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2020
87
# 心韵 方 <[email protected]>, 2020
98
# Azuk 443 <[email protected]>, 2020
9+
# Freesand Leo <[email protected]>, 2020
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
1717
"PO-Revision-Date: 2020-05-30 11:50+0000\n"
18-
"Last-Translator: Azuk 443 <[email protected]>, 2020\n"
18+
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -261,38 +261,45 @@ msgid ""
261261
"failure. The operation is done *in-place* when *o1* supports it. This is "
262262
"the equivalent of the Python statement ``o1 &= o2``."
263263
msgstr ""
264+
"成功时返回 *o1* 和 *o2* \"按位与\" 的结果,失败时返回 ``NULL``。 在 *o1* 支持的前提下该操作将 *原地* 执行。 等价与"
265+
" Python 语句 ``o1 &= o2``。"
264266

265267
#: ../../c-api/number.rst:226
266268
msgid ""
267269
"Returns the \"bitwise exclusive or\" of *o1* by *o2* on success, or ``NULL``"
268270
" on failure. The operation is done *in-place* when *o1* supports it. This "
269271
"is the equivalent of the Python statement ``o1 ^= o2``."
270272
msgstr ""
273+
"成功时返回 *o1* 和 *o2* \"按位异或的结果,失败时返回 ``NULL``。 在 *o1* 支持的前提下该操作将 *原地* 执行。 等价与 "
274+
"Python 语句 ``o1 ^= o2``。"
271275

272276
#: ../../c-api/number.rst:233
273277
msgid ""
274278
"Returns the \"bitwise or\" of *o1* and *o2* on success, or ``NULL`` on "
275279
"failure. The operation is done *in-place* when *o1* supports it. This is "
276280
"the equivalent of the Python statement ``o1 |= o2``."
277281
msgstr ""
282+
"成功时返回 *o1* 和 *o2* \"按位或\" 的结果,失败时返回 ``NULL``。 在 *o1* 支持的前提下该操作将 *原地* 执行。 等价于"
283+
" Python 语句 ``o1 |= o2``。"
278284

279285
#: ../../c-api/number.rst:242
280286
msgid ""
281287
"Returns the *o* converted to an integer object on success, or ``NULL`` on "
282288
"failure. This is the equivalent of the Python expression ``int(o)``."
283-
msgstr ""
289+
msgstr "成功时返回 *o* 换为整数对象或的结果,失败时返回 ``NULL``。 等价于 Python 表达式 ``int(o)``。"
284290

285291
#: ../../c-api/number.rst:250
286292
msgid ""
287293
"Returns the *o* converted to a float object on success, or ``NULL`` on "
288294
"failure. This is the equivalent of the Python expression ``float(o)``."
289-
msgstr ""
295+
msgstr "成功时返回 *o* 转换为浮点对象后的结果,失败时返回 ``NULL``。 等价于 Python 表达式 ``float(o)``。"
290296

291297
#: ../../c-api/number.rst:256
292298
msgid ""
293299
"Returns the *o* converted to a Python int on success or ``NULL`` with a "
294300
":exc:`TypeError` exception raised on failure."
295301
msgstr ""
302+
"成功时返回 *o* 转换为 Python int 类型后的结果,失败时返回 ``NULL`` 并引发 :exc:`TypeError` 异常。"
296303

297304
#: ../../c-api/number.rst:262
298305
msgid ""
@@ -322,6 +329,9 @@ msgid ""
322329
"exception is cleared and the value is clipped to ``PY_SSIZE_T_MIN`` for a "
323330
"negative integer or ``PY_SSIZE_T_MAX`` for a positive integer."
324331
msgstr ""
332+
"如果 *o* 可以被转换为 Python int 类型但尝试转换为 Py_ssize_t 值则会引发 :exc:`OverflowError`,这时 "
333+
"*exc* 参数为将被引发的异常类型 (通常是 :exc:`IndexError` 或 :exc:`OverflowError`)。 如果 *exc* "
334+
"为 ``NULL``,则异常会被清除并且值会被剪切到负整数 ``PY_SSIZE_T_MIN`` 或正整数 ``PY_SSIZE_T_MAX``。"
325335

326336
#: ../../c-api/number.rst:284
327337
msgid ""

library/concurrent.futures.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#
66
# Translators:
77
# Jian Aijun <[email protected]>, 2020
8-
# Freesand Leo <[email protected]>, 2020
98
# walkinrain <[email protected]>, 2020
109
# MuSheng Chen <[email protected]>, 2020
10+
# Freesand Leo <[email protected]>, 2020
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
1818
"PO-Revision-Date: 2020-05-30 11:58+0000\n"
19-
"Last-Translator: MuSheng Chen <sheng.2179@gmail.com>, 2020\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -227,7 +227,8 @@ msgid ""
227227
"And it avoids using very large resources implicitly on many-core machines."
228228
msgstr ""
229229
"*max_workers* 的默认值已改为 ``min(32, os.cpu_count() + 4)``。 这个默认值会保留至少 5 个工作线程用于 "
230-
"I/O 密集型任务。 它会使用至多 32 个 CPU 核心用于 CPU 密集型任务并将释放 GIL。 它还会避免在多核机器上隐式地使用非常大量的资源。"
230+
"I/O 密集型任务。 对于那些释放了 GIL 的 CPU 密集型任务,它最多会使用 32 个 CPU "
231+
"核心。这样能够避免在多核机器上不知不觉地使用大量资源。"
231232

232233
#: ../../library/concurrent.futures.rst:168
233234
msgid ""

library/logging.config.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,11 @@ msgid ""
731731
" ``ext://`` will be stripped off and the remainder of the value processed "
732732
"using normal import mechanisms."
733733
msgstr ""
734+
"有时一个配置需要引用配置以外的对象,例如 ``sys.stderr``。 如果配置字典是使用 Python "
735+
"代码构造的,这会很直观,但是当配置是通过文本文件(例如 JSON, YAML)提供的时候就会引发问题。 在一个文本文件中,没有将 "
736+
"``sys.stderr`` 与字符串字面值 ``'sys.stderr'`` 区分开来的标准方式。 "
737+
"为了实现这种区分,配置系统会在字符串值中查找规定的特殊前缀并对其做特殊处理。 例如,如果在配置中将字符串字面值 "
738+
"``'ext://sys.stderr'`` 作为一个值来提供,则 ``ext://`` 将被去除而该值的剩余部分将使用正常导入机制来处理。"
734739

735740
#: ../../library/logging.config.rst:514
736741
msgid ""

whatsnew/3.8.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Meng Du <[email protected]>, 2020
1010
# jacky <[email protected]>, 2020
1111
# Han YANG <[email protected]>, 2020
12-
# Freesand Leo <[email protected]>, 2020
1312
# ppcfish <[email protected]>, 2020
13+
# Freesand Leo <[email protected]>, 2020
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2020-07-19 14:33+0000\n"
2121
"PO-Revision-Date: 2020-05-30 12:18+0000\n"
22-
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2020\n"
22+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
2323
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -909,6 +909,9 @@ msgid ""
909909
" from :class:`concurrent.futures.CancelledError`. (Contributed by Yury "
910910
"Selivanov in :issue:`32528`.)"
911911
msgstr ""
912+
"异常 :class:`asyncio.CancelledError` 现在继承自 :class:`BaseException` 而不是 "
913+
":class:`Exception` 并且不再继承自 :class:`concurrent.futures.CancelledError`。 (由 "
914+
"Yury Selivanov 在 :issue:`32528` 中贡献。)"
912915

913916
#: ../../whatsnew/3.8.rst:655
914917
msgid ""

0 commit comments

Comments
 (0)