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

Skip to content

Commit 6821379

Browse files
[po] auto sync
1 parent 6b94ec9 commit 6821379

56 files changed

Lines changed: 264 additions & 266 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: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ 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-
"如果您有相应的修正建议,请一并提交。 (译者注:如果是中文文档翻译相关的错误,请务必提交到 "
62-
"https://github.com/python/python-docs-zh-"
63-
"cn/issues。如果将翻译问题反馈到了其他地方,可能会因为语言不通而不能及时处理。)"
61+
"如果您有相应的修正建议,请一并提交。 (译者注:如果是中文文档翻译相关的错误,请务必提交到 https://github.com/python"
62+
"/python-docs-zh-cn/issues。如果将翻译问题反馈到了其他地方,可能会因为语言不通而不能及时处理。)"
6463

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

9493
#: ../../bugs.rst:35
9594
msgid ""
96-
"`Helping with Documentation "
97-
"<https://devguide.python.org/docquality/#helping-with-documentation>`_"
95+
"`Helping with Documentation <https://devguide.python.org/docquality"
96+
"/#helping-with-documentation>`_"
9897
msgstr ""
9998
"`改进文档 <https://devguide.python.org/docquality/#helping-with-documentation>`_"
10099

c-api/arg.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ msgstr "语句解释及变量编译"
3535
#: ../../c-api/arg.rst:8
3636
msgid ""
3737
"These functions are useful when creating your own extensions functions and "
38-
"methods. Additional information and examples are available in "
39-
":ref:`extending-index`."
38+
"methods. Additional information and examples are available in :ref"
39+
":`extending-index`."
4040
msgstr "这些函数在创建你自己的函数时帮助很大。更多说明以及实例可参考说明文档中的 :ref:`extending-index` 小节。"
4141

4242
#: ../../c-api/arg.rst:12

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 :ref"
33-
":`extending-index`, which describes the general principles of extension "
32+
"write extension modules or embed Python. It is a companion to "
33+
":ref:`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。同时可以参阅 :ref"
37-
":`extending-index` ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。"
36+
"本手册描述了希望编写扩展模块并将 Python 解释器嵌入其应用程序中的 C 和 C++ 程序员可用的 API。同时可以参阅 "
37+
":ref:`extending-index` ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。"

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 "
1901-
":ref:`supporting-cycle-detection`. This bit also implies that the GC-"
1902-
"related fields :c:member:`~PyTypeObject.tp_traverse` 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 "
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/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/sourcedist.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ msgstr ""
327327
#: ../../distutils/sourcedist.rst:174
328328
msgid ""
329329
"You can disable the default set of included files with the :option:`!--no-"
330-
"defaults` option, and you can disable the standard exclude set with :option"
331-
":`!--no-prune`."
330+
"defaults` option, and you can disable the standard exclude set with "
331+
":option:`!--no-prune`."
332332
msgstr ""
333333

334334
#: ../../distutils/sourcedist.rst:178

faq/library.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,12 @@ msgstr "怎样用 docstring 创建文档?"
291291
msgid ""
292292
"The :mod:`pydoc` module can create HTML from the doc strings in your Python "
293293
"source code. An alternative for creating API documentation purely from "
294-
"docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx <http"
295-
"://sphinx-doc.org>`_ can also include docstring content."
294+
"docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx "
295+
"<http://sphinx-doc.org>`_ can also include docstring content."
296296
msgstr ""
297297
":mod:`pydoc` 模块可以用 Python 源码中的 docstring 创建 HTML 文件。也可以使用 `epydoc "
298-
"<http://epydoc.sourceforge.net/>`_ 来只通过 docstring 创建 API 文档。`Sphinx <http"
299-
"://sphinx-doc.org>`_ 也可以引入 docstring 的内容。"
298+
"<http://epydoc.sourceforge.net/>`_ 来只通过 docstring 创建 API 文档。`Sphinx "
299+
"<http://sphinx-doc.org>`_ 也可以引入 docstring 的内容。"
300300

301301
#: ../../faq/library.rst:191
302302
msgid "How do I get a single keypress at a time?"

faq/programming.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,9 @@ msgstr ""
143143

144144
#: ../../faq/programming.rst:63
145145
msgid ""
146-
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre "
147-
"<https://pyre-check.org/>`_, and `Pytype "
148-
"<https://github.com/google/pytype>`_ can check type hints in Python source "
149-
"code."
146+
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre <https"
147+
"://pyre-check.org/>`_, and `Pytype <https://github.com/google/pytype>`_ can "
148+
"check type hints in Python source code."
150149
msgstr ""
151150
"静态类型检查器,例如 `Mypy <http://mypy-lang.org/>`_ 、 `Pyre <https://pyre-"
152151
"check.org/>`_ 和 `Pytype <https://github.com/google/pytype>`_ "

howto/logging.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@ msgid ""
346346
"simple usage pattern, you won't know, by looking in the log file, *where* in"
347347
" your application your messages came from, apart from looking at the event "
348348
"description. If you want to track the location of your messages, you'll need"
349-
" to refer to the documentation beyond the tutorial level -- see :ref"
350-
":`logging-advanced-tutorial`."
349+
" to refer to the documentation beyond the tutorial level -- see "
350+
":ref:`logging-advanced-tutorial`."
351351
msgstr ""
352352
"这是你期待看到的。 你可以使用 *mylib.py* 中的模式将此概括为多个模块。 "
353353
"请注意,对于这种简单的使用模式,除了查看事件描述之外,你不能通过查看日志文件来了解应用程序中消息的 *来源* 。 "
@@ -865,8 +865,8 @@ msgid ""
865865
"arguments), while if the style is '$' then the message format string should "
866866
"conform to what is expected by :meth:`string.Template.substitute`."
867867
msgstr ""
868-
"如果 ``style`` 是 '%',则消息格式字符串使用 ``%(<dictionary key>)s`` 样式字符串替换;可能的键值在 :ref"
869-
":`logrecord-attributes` 中。 如果样式为 '{',则假定消息格式字符串与 :meth:`str.format` "
868+
"如果 ``style`` 是 '%',则消息格式字符串使用 ``%(<dictionary key>)s`` 样式字符串替换;可能的键值在 "
869+
":ref:`logrecord-attributes` 中。 如果样式为 '{',则假定消息格式字符串与 :meth:`str.format` "
870870
"(使用关键字参数)兼容,而如果样式为 '$' ,则消息格式字符串应符合 :meth:`string.Template.substitute` 。"
871871

872872
#: ../../howto/logging.rst:564

0 commit comments

Comments
 (0)