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

Skip to content

Commit a48210a

Browse files
[po] auto sync
1 parent f4dabbc commit a48210a

34 files changed

Lines changed: 204 additions & 211 deletions

distutils/builtdist.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,8 @@ msgstr ""
625625

626626
#: ../../distutils/builtdist.rst:277
627627
msgid ""
628-
"If you wish, you can separate these three steps. You can use the :option:`!"
629-
"--spec-only` option to make :command:`bdist_rpm` just create the "
628+
"If you wish, you can separate these three steps. You can use the :option"
629+
":`!--spec-only` option to make :command:`bdist_rpm` just create the "
630630
":file:`.spec` file and exit; in this case, the :file:`.spec` file will be "
631631
"written to the \"distribution directory\"---normally :file:`dist/`, but "
632632
"customizable with the :option:`!--dist-dir` option. (Normally, the "

distutils/examples.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ msgid ""
300300
"distribution is created with Distutils, the metadata fields are written in a"
301301
" static file called :file:`PKG-INFO`. When a Distutils-based project is "
302302
"installed in Python, the :file:`PKG-INFO` file is copied alongside the "
303-
"modules and packages of the distribution under :file:`NAME-VERSION-"
304-
"pyX.X.egg-info`, where ``NAME`` is the name of the project, ``VERSION`` its "
303+
"modules and packages of the distribution under :file:`NAME-VERSION-pyX.X"
304+
".egg-info`, where ``NAME`` is the name of the project, ``VERSION`` its "
305305
"version as defined in the Metadata, and ``pyX.X`` the major and minor "
306306
"version of Python like ``2.7`` or ``3.2``."
307307
msgstr ""

distutils/packageindex.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ msgstr "`Python 包索引 (PyPI)`_ 存储描述与 distutils 和其他发布工
3434

3535
#: ../../distutils/packageindex.rst:13
3636
msgid ""
37-
"References to up to date PyPI documentation can be found at "
38-
":ref:`publishing-python-packages`."
37+
"References to up to date PyPI documentation can be found at :ref"
38+
":`publishing-python-packages`."
3939
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)使用 "
1042-
":option:`!--without-cycle-gc` 选项到 :program:`configure` 脚本。如果循环探测器被禁用, "
1043-
":mod:`gc` 模块就不可用了。"
1041+
",而且可以在运行时配置禁用探测器。循环探测器被当作可选组件,默认是包含的,也可以在构建时禁用,在Unix平台(包括Mac OS X)使用 :option"
1042+
":`!--without-cycle-gc` 选项到 :program:`configure` 脚本。如果循环探测器被禁用, :mod:`gc` "
1043+
"模块就不可用了。"
10441044

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

extending/index.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ msgid ""
4848
" documents the existing object types, functions and modules (both built-in "
4949
"and written in Python) that give the language its wide application range."
5050
msgstr ""
51-
"本文档假设你具备有关 Python 的基本知识。有关该语言的非正式介绍,请参阅 :ref:`tutorial-index` 。 "
52-
":ref:`reference-index` 给出了更正式的语言定义。 :ref:`library-index` "
53-
"包含现有的对象类型、函数和模块(内置和用 Python 编写)的文档,使语言具有广泛的应用范围。"
51+
"本文档假设你具备有关 Python 的基本知识。有关该语言的非正式介绍,请参阅 :ref:`tutorial-index` 。 :ref"
52+
":`reference-index` 给出了更正式的语言定义。 :ref:`library-index` 包含现有的对象类型、函数和模块(内置和用 "
53+
"Python 编写)的文档,使语言具有广泛的应用范围。"
5454

5555
#: ../../extending/index.rst:21
5656
msgid ""

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 "
448-
"<https://github.com/stackless-dev/stackless/wiki>`_, which has a completely "
449-
"redesigned interpreter loop that avoids the C stack."
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."
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-
"原始字符串的设计是为了方便想要执行自己的反斜杠转义处理的处理器(主要是正则表达式引擎)创建输入。此类处理器将不匹配的尾随反斜杠视为错误,因此原始字符串不允许这样做。反过来,允许通过使用引号字符转义反斜杠转义字符串。当r-"
967-
"string用于它们的预期目的时,这些规则工作的很好。"
966+
"原始字符串的设计是为了方便想要执行自己的反斜杠转义处理的处理器(主要是正则表达式引擎)创建输入。此类处理器将不匹配的尾随反斜杠视为错误,因此原始字符串不允许这样做。反过来,允许通过使用引号字符转义反斜杠转义字符串"
967+
"。当r-string用于它们的预期目的时,这些规则工作的很好。"
968968

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

faq/extending.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ msgstr "可以使用 C 语言创建自己的函数吗?"
3737
#: ../../faq/extending.rst:18
3838
msgid ""
3939
"Yes, you can create built-in modules containing functions, variables, "
40-
"exceptions and even new types in C. This is explained in the document "
41-
":ref:`extending-index`."
40+
"exceptions and even new types in C. This is explained in the document :ref"
41+
":`extending-index`."
4242
msgstr "是的,您可以在C中创建包含函数、变量、异常甚至新类型的内置模块。在文档 :ref:`extending-index` 中有说明。"
4343

4444
#: ../../faq/extending.rst:22

installing/index.po

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ msgid ""
149149
"`Python Packaging User Guide: Creating and using virtual environments "
150150
"<https://packaging.python.org/installing/#creating-virtual-environments>`__"
151151
msgstr ""
152-
"`Python 软件包用户指南:创建和使用虚拟环境 "
153-
"<https://packaging.python.org/installing/#creating-virtual-environments>`__"
152+
"`Python 软件包用户指南:创建和使用虚拟环境 <https://packaging.python.org/installing"
153+
"/#creating-virtual-environments>`__"
154154

155155
#: ../../installing/index.rst:75
156156
msgid "Basic usage"
@@ -249,9 +249,8 @@ msgid ""
249249
"<https://packaging.python.org/installing/#requirements-for-installing-"
250250
"packages>`__"
251251
msgstr ""
252-
"`Python 软件包用户指南:安装软件包的前提要求 "
253-
"<https://packaging.python.org/installing/#requirements-for-installing-"
254-
"packages>`__"
252+
"`Python 软件包用户指南:安装软件包的前提要求 <https://packaging.python.org/installing"
253+
"/#requirements-for-installing-packages>`__"
255254

256255
#: ../../installing/index.rst:142
257256
msgid "... install packages just for the current user?"

library/array.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ msgid ""
238238
"the optional *initializer* value, which must be a list, a :term:`bytes-like "
239239
"object`, or iterable over elements of the appropriate type."
240240
msgstr ""
241-
"一个包含由 *typecode* 限制类型的条目的新数组,并由可选的 *initializer* "
242-
"值进行初始化,该值必须为一个列表、:term:`bytes-like object` 或包含正确类型元素的可迭代对象。"
241+
"一个包含由 *typecode* 限制类型的条目的新数组,并由可选的 *initializer* 值进行初始化,该值必须为一个列表、:term"
242+
":`bytes-like object` 或包含正确类型元素的可迭代对象。"
243243

244244
#: ../../library/array.rst:75
245245
msgid ""

library/cgi.po

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ msgid ""
143143
"consume standard input, it should be instantiated only once."
144144
msgstr ""
145145
"要获取提交的表单数据,请使用 :class:`FieldStorage` 类。 如果表单包含非 ASCII 字符,请使用 *encoding* "
146-
"关键字参数并设置为文档所定义的编码格式值。 它通常包含在 HTML 文档的 HEAD 部分的 META 标签中或者由 "
147-
":mailheader:`Content-Type` 标头所指明。 这会从标准输入或环境读取表单内容(取决于根据 CGI 标准设置的多个环境变量的值)。"
148-
" 由于它可能会消耗标准输入,它应当只被实例化一次。"
146+
"关键字参数并设置为文档所定义的编码格式值。 它通常包含在 HTML 文档的 HEAD 部分的 META 标签中或者由 :mailheader"
147+
":`Content-Type` 标头所指明。 这会从标准输入或环境读取表单内容(取决于根据 CGI 标准设置的多个环境变量的值)。 "
148+
"由于它可能会消耗标准输入,它应当只被实例化一次。"
149149

150150
#: ../../library/cgi.rst:97
151151
msgid ""
@@ -164,10 +164,9 @@ msgstr ""
164164

165165
#: ../../library/cgi.rst:105
166166
msgid ""
167-
"For instance, the following code (which assumes that the "
168-
":mailheader:`Content-Type` header and blank line have already been printed) "
169-
"checks that the fields ``name`` and ``addr`` are both set to a non-empty "
170-
"string::"
167+
"For instance, the following code (which assumes that the :mailheader"
168+
":`Content-Type` header and blank line have already been printed) checks that"
169+
" the fields ``name`` and ``addr`` are both set to a non-empty string::"
171170
msgstr ""
172171
"举例来说,下面的代码(假定 :mailheader:`Content-Type` 标头和空行已经被打印)会检查字段 ``name`` 和 "
173172
"``addr`` 是否均被设为非空字符串::"
@@ -603,8 +602,8 @@ msgid ""
603602
msgstr ""
604603
"首先,请检查是否有安装上的小错误 --- 仔细阅读上面关于安装 CGI 脚本的部分可以使你节省大量时间。 "
605604
"如果你不确定你是否正确理解了安装过程,请尝试将此模块 (:file:`cgi.py`) 的副本作为 CGI 脚本安装。 "
606-
"当作为脚本被发起调用时,该文件将以 HTML 格式转储其环境和表单内容。 请给它赋予正确的模式等,并向它发送一个请求。 如果它是安装在标准的 "
607-
":file:`cgi-bin` 目录下,应该可以通过在你的浏览器中输入表单的 URL 来向它发送请求。"
605+
"当作为脚本被发起调用时,该文件将以 HTML 格式转储其环境和表单内容。 请给它赋予正确的模式等,并向它发送一个请求。 如果它是安装在标准的 :file"
606+
":`cgi-bin` 目录下,应该可以通过在你的浏览器中输入表单的 URL 来向它发送请求。"
608607

609608
#: ../../library/cgi.rst:435
610609
msgid ""

0 commit comments

Comments
 (0)