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

Skip to content

Commit 9459e74

Browse files
[po] auto sync
1 parent c2a0399 commit 9459e74

53 files changed

Lines changed: 280 additions & 272 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bugs.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ msgid ""
5858
"tracker>`. If you have a suggestion on how to fix it, include that as well."
5959
msgstr ""
6060
"如果您在本文档中发现了错误并打算帮助我们改进,请将错误提交到 :ref:`追踪系统 <using-the-tracker>`。 "
61-
"如果您有相应的修正建议,请一并提交。 (译者注:如果是中文文档翻译相关的错误,请务必提交到 https://github.com/python"
62-
"/python-docs-zh-cn/issues。如果将翻译问题反馈到了其他地方,可能会因为语言不通而不能及时处理。)"
61+
"如果您有相应的修正建议,请一并提交。 (译者注:如果是中文文档翻译相关的错误,请务必提交到 "
62+
"https://github.com/python/python-docs-zh-"
63+
"cn/issues。如果将翻译问题反馈到了其他地方,可能会因为语言不通而不能及时处理。)"
6364

6465
#: ../../bugs.rst:22
6566
msgid ""
@@ -92,8 +93,8 @@ msgstr "在追踪系统上参与问题改进的过程概述。"
9293

9394
#: ../../bugs.rst:35
9495
msgid ""
95-
"`Helping with Documentation <https://devguide.python.org/docquality"
96-
"/#helping-with-documentation>`_"
96+
"`Helping with Documentation "
97+
"<https://devguide.python.org/docquality/#helping-with-documentation>`_"
9798
msgstr ""
9899
"`改进文档 <https://devguide.python.org/docquality/#helping-with-documentation>`_"
99100

c-api/exceptions.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
# ppcfish <[email protected]>, 2019
1212
# Yi Cao <[email protected]>, 2020
1313
# jsgang <[email protected]>, 2020
14-
# Freesand Leo <[email protected]>, 2021
1514
# Jiuh-star <[email protected]>, 2021
1615
# helloworldSB <[email protected]>, 2021
16+
# Freesand Leo <[email protected]>, 2021
1717
#
1818
#, fuzzy
1919
msgid ""
@@ -22,7 +22,7 @@ msgstr ""
2222
"Report-Msgid-Bugs-To: \n"
2323
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
2424
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
25-
"Last-Translator: helloworldSB <warningfor163@foxmail.com>, 2021\n"
25+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
2626
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2727
"MIME-Version: 1.0\n"
2828
"Content-Type: text/plain; charset=UTF-8\n"
@@ -848,6 +848,8 @@ msgid ""
848848
"overflowed using :c:func:`PyOS_CheckStack`. In this is the case, it sets a "
849849
":exc:`MemoryError` and returns a nonzero value."
850850
msgstr ""
851+
"如果定义了 :const:`USE_STACKCHECK`,此函数会使用 :c:func:`PyOS_CheckStack` "
852+
"来检查操作系统堆栈是否溢出。 在这种情况下,它将设置一个 :exc:`MemoryError` 并返回非零值。"
851853

852854
#: ../../c-api/exceptions.rst:730
853855
msgid ""

c-api/index.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ msgstr "Python/C API 参考手册"
2929
#: ../../c-api/index.rst:7
3030
msgid ""
3131
"This manual documents the API used by C and C++ programmers who want to "
32-
"write extension modules or embed Python. It is a companion to "
33-
":ref:`extending-index`, which describes the general principles of extension "
32+
"write extension modules or embed Python. It is a companion to :ref"
33+
":`extending-index`, which describes the general principles of extension "
3434
"writing but does not document the API functions in detail."
3535
msgstr ""
36-
"本手册描述了希望编写扩展模块并将 Python 解释器嵌入其应用程序中的 C 和 C++ 程序员可用的 API。同时可以参阅 "
37-
":ref:`extending-index` ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。"
36+
"本手册描述了希望编写扩展模块并将 Python 解释器嵌入其应用程序中的 C 和 C++ 程序员可用的 API。同时可以参阅 :ref"
37+
":`extending-index` ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。"

c-api/init.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,8 @@ msgid ""
11831183
":c:macro:`Py_BEGIN_ALLOW_THREADS` macro. See above for further discussion "
11841184
"of this macro."
11851185
msgstr ""
1186+
"此宏扩展为 ``PyEval_RestoreThread(_save); }``。 注意它包含一个右花括号;它必须与之前的 "
1187+
":c:macro:`Py_BEGIN_ALLOW_THREADS` 宏匹配。 请参阅上文以进一步讨论此宏。"
11861188

11871189
#: ../../c-api/init.rst:999
11881190
msgid ""

c-api/object.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ msgid ""
4848
"currently supported is :const:`Py_PRINT_RAW`; if given, the :func:`str` of "
4949
"the object is written instead of the :func:`repr`."
5050
msgstr ""
51-
"向文件 *fp* 输出对象 *o*。出错时返回 ``-1``。参数 flags 用于开启某些输出选项。目前唯一支持的选项是 "
52-
":const:`Py_PRINT_RAW` ;如果给出该选项,则对象的 :func:`str` 将被写入,而不是 :func:`repr` 。"
51+
"将对象 *o* 写入到文件 *fp*。 出错时返回 ``-1`` 。 旗标参数被用于启用特定的输出选项。 目前唯一支持的选项是 "
52+
":const:`Py_PRINT_RAW`;如果给出该选项,则将写入对象的 :func:`str` 而不是 :func:`repr`。"
5353

5454
#: ../../c-api/object.rst:32 ../../c-api/object.rst:43
5555
msgid ""

c-api/typeobj.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,9 +1897,9 @@ msgstr ""
18971897
msgid ""
18981898
"This bit is set when the object supports garbage collection. If this bit is"
18991899
" set, instances must be created using :c:func:`PyObject_GC_New` and "
1900-
"destroyed using :c:func:`PyObject_GC_Del`. More information in section :ref"
1901-
":`supporting-cycle-detection`. This bit also implies that the GC-related "
1902-
"fields :c:member:`~PyTypeObject.tp_traverse` and "
1900+
"destroyed using :c:func:`PyObject_GC_Del`. More information in section "
1901+
":ref:`supporting-cycle-detection`. This bit also implies that the GC-"
1902+
"related fields :c:member:`~PyTypeObject.tp_traverse` and "
19031903
":c:member:`~PyTypeObject.tp_clear` are present in the type object."
19041904
msgstr ""
19051905

distutils/apiref.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ msgstr "*maintainer*"
157157
#: ../../distutils/apiref.rst:61
158158
msgid ""
159159
"The name of the current maintainer, if different from the author. Note that "
160-
"if the maintainer is provided, distutils will use it as the author in :file"
161-
":`PKG-INFO`"
160+
"if the maintainer is provided, distutils will use it as the author in "
161+
":file:`PKG-INFO`"
162162
msgstr ""
163163

164164
#: ../../distutils/apiref.rst:68

distutils/uploading.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ msgstr "上传包到包索引"
2828

2929
#: ../../distutils/uploading.rst:7
3030
msgid ""
31-
"References to up to date PyPI documentation can be found at "
32-
":ref:`publishing-python-packages`."
31+
"References to up to date PyPI documentation can be found at :ref"
32+
":`publishing-python-packages`."
3333
msgstr "供参考的最新 PyPI 文档可以在 :ref:`publishing-python-packages` 找到。"

extending/extending.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,9 @@ msgid ""
10381038
" available."
10391039
msgstr ""
10401040
"循环探测器可以检测垃圾循环并回收。 :mod:`gc` 模块提供了方法运行探测器 ( :func:`~gc.collect` 函数) "
1041-
",而且可以在运行时配置禁用探测器。循环探测器被当作可选组件,默认是包含的,也可以在构建时禁用,在Unix平台(包括Mac OS X)使用 :option"
1042-
":`!--without-cycle-gc` 选项到 :program:`configure` 脚本。如果循环探测器被禁用, :mod:`gc` "
1043-
"模块就不可用了。"
1041+
",而且可以在运行时配置禁用探测器。循环探测器被当作可选组件,默认是包含的,也可以在构建时禁用,在Unix平台(包括Mac OS X)使用 "
1042+
":option:`!--without-cycle-gc` 选项到 :program:`configure` 脚本。如果循环探测器被禁用, "
1043+
":mod:`gc` 模块就不可用了。"
10441044

10451045
#: ../../extending/extending.rst:925
10461046
msgid "Reference Counting in Python"

faq/design.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,9 @@ msgstr ""
444444

445445
#: ../../faq/design.rst:305
446446
msgid ""
447-
"Answer 2: Fortunately, there is `Stackless Python <https://github.com"
448-
"/stackless-dev/stackless/wiki>`_, which has a completely redesigned "
449-
"interpreter loop that avoids the C stack."
447+
"Answer 2: Fortunately, there is `Stackless Python "
448+
"<https://github.com/stackless-dev/stackless/wiki>`_, which has a completely "
449+
"redesigned interpreter loop that avoids the C stack."
450450
msgstr ""
451451
"答案2: 幸运的是, `Stackless Python <https://github.com/stackless-"
452452
"dev/stackless/wiki>`_ 有一个完全重新设计的解释器循环,可以避免C堆栈。"
@@ -522,8 +522,8 @@ msgid ""
522522
"reference counting implementation."
523523
msgstr ""
524524
"但是,其他实现(如 `Jython <http://www.jython.org>`_ 或 `PyPy "
525-
"<http://www.pypy.org>`_ ),)可以依赖不同的机制,如完全的垃圾回收器 "
526-
"。如果你的Python代码依赖于引用计数实现的行为,则这种差异可能会导致一些微妙的移植问题。"
525+
"<http://www.pypy.org>`_ "
526+
"),)可以依赖不同的机制,如完全的垃圾回收器 。如果你的Python代码依赖于引用计数实现的行为,则这种差异可能会导致一些微妙的移植问题。"
527527

528528
#: ../../faq/design.rst:352
529529
msgid ""
@@ -963,8 +963,8 @@ msgid ""
963963
" pass on the string quote character by escaping it with a backslash. These "
964964
"rules work well when r-strings are used for their intended purpose."
965965
msgstr ""
966-
"原始字符串的设计是为了方便想要执行自己的反斜杠转义处理的处理器(主要是正则表达式引擎)创建输入。此类处理器将不匹配的尾随反斜杠视为错误,因此原始字符串不允许这样做。反过来,允许通过使用引号字符转义反斜杠转义字符串"
967-
"。当r-string用于它们的预期目的时,这些规则工作的很好。"
966+
"原始字符串的设计是为了方便想要执行自己的反斜杠转义处理的处理器(主要是正则表达式引擎)创建输入。此类处理器将不匹配的尾随反斜杠视为错误,因此原始字符串不允许这样做。反过来,允许通过使用引号字符转义反斜杠转义字符串。当r-"
967+
"string用于它们的预期目的时,这些规则工作的很好。"
968968

969969
#: ../../faq/design.rst:645
970970
msgid ""

0 commit comments

Comments
 (0)