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

Skip to content

Commit 8f7bbee

Browse files
[po] auto sync
1 parent dfc32be commit 8f7bbee

56 files changed

Lines changed: 224 additions & 222 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/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 :ref"
39-
":`extending-index`."
38+
"methods. Additional information and examples are available in "
39+
":ref:`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 :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/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 "

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` 。 :ref"
52-
":`reference-index` 给出了更正式的语言定义。 :ref:`library-index` 包含现有的对象类型、函数和模块(内置和用 "
53-
"Python 编写)的文档,使语言具有广泛的应用范围。"
51+
"本文档假设你具备有关 Python 的基本知识。有关该语言的非正式介绍,请参阅 :ref:`tutorial-index` 。 "
52+
":ref:`reference-index` 给出了更正式的语言定义。 :ref:`library-index` "
53+
"包含现有的对象类型、函数和模块(内置和用 Python 编写)的文档,使语言具有广泛的应用范围。"
5454

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

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 "
295-
"<http://sphinx-doc.org>`_ can also include docstring content."
294+
"docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx <http"
295+
"://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 "
299-
"<http://sphinx-doc.org>`_ 也可以引入 docstring 的内容。"
298+
"<http://epydoc.sourceforge.net/>`_ 来只通过 docstring 创建 API 文档。`Sphinx <http"
299+
"://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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,10 @@ msgstr ""
143143

144144
#: ../../faq/programming.rst:63
145145
msgid ""
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."
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."
149150
msgstr ""
150151
"静态类型检查器,例如 `Mypy <http://mypy-lang.org/>`_ 、 `Pyre <https://pyre-"
151152
"check.org/>`_ 和 `Pytype <https://github.com/google/pytype>`_ "

howto/curses.po

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ msgstr ""
123123
msgid ""
124124
"The Windows version of Python doesn't include the :mod:`curses` module. A "
125125
"ported version called `UniCurses <https://pypi.org/project/UniCurses>`_ is "
126-
"available. You could also try `the Console module "
127-
"<http://effbot.org/zone/console-index.htm>`_ written by Fredrik Lundh, which"
128-
" doesn't use the same API as curses but provides cursor-addressable text "
129-
"output and full support for mouse and keyboard input."
126+
"available. You could also try `the Console module <http://effbot.org/zone"
127+
"/console-index.htm>`_ written by Fredrik Lundh, which doesn't use the same "
128+
"API as curses but provides cursor-addressable text output and full support "
129+
"for mouse and keyboard input."
130130
msgstr ""
131131
"Windows 版本的 Python 不包含 :mod:`curses` 模块。提供了一个名为 `UniCurses "
132132
"<https://pypi.org/project/UniCurses>`_ 的移植版本。也可以尝试使用 Fredrik Lundh 编写 `the "
@@ -880,10 +880,9 @@ msgstr ""
880880

881881
#: ../../howto/curses.rst:550
882882
msgid ""
883-
"`\"Console Applications with Urwid\" "
884-
"<http://www.pyvideo.org/video/1568/console-applications-with-urwid>`_: video"
885-
" of a PyCon CA 2012 talk demonstrating some applications written using "
886-
"Urwid."
883+
"`\"Console Applications with Urwid\" <http://www.pyvideo.org/video/1568"
884+
"/console-applications-with-urwid>`_: video of a PyCon CA 2012 talk "
885+
"demonstrating some applications written using Urwid."
887886
msgstr ""
888887
"`\"使用 Urwid 的控制台应用程序\" <http://www.pyvideo.org/video/1568/console-"
889888
"applications-with-urwid>`_: 一场演示使用 Urwid 编写应用程序的 PyCon CA 2012 演讲的视频。"

howto/logging-cookbook.po

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -948,9 +948,8 @@ msgstr ""
948948
#: ../../howto/logging-cookbook.rst:1426
949949
msgid ""
950950
"For more information about this configuration, you can see the `relevant "
951-
"section "
952-
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
953-
"logging>`_ of the Django documentation."
951+
"section <https://docs.djangoproject.com/en/stable/topics/logging"
952+
"/#configuring-logging>`_ of the Django documentation."
954953
msgstr ""
955954
"有关本配置的更多信息,请参阅 Django 文档的 `有关章节 "
956955
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
@@ -1302,9 +1301,9 @@ msgstr "自定义日志信息对象的使用"
13021301
#: ../../howto/logging-cookbook.rst:2013
13031302
msgid ""
13041303
"There is another, perhaps simpler way that you can use {}- and $- formatting"
1305-
" to construct your individual log messages. You may recall (from "
1306-
":ref:`arbitrary-object-messages`) that when logging you can use an arbitrary"
1307-
" object as a message format string, and that the logging package will call "
1304+
" to construct your individual log messages. You may recall (from :ref"
1305+
":`arbitrary-object-messages`) that when logging you can use an arbitrary "
1306+
"object as a message format string, and that the logging package will call "
13081307
":func:`str` on that object to get the actual format string. Consider the "
13091308
"following two classes::"
13101309
msgstr ""
@@ -1411,8 +1410,8 @@ msgid ""
14111410
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14121411
"above."
14131412
msgstr ""
1414-
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1415-
":ref:`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1413+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1414+
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14161415

14171416
#: ../../howto/logging-cookbook.rst:2164
14181417
msgid "Customized exception formatting"

0 commit comments

Comments
 (0)