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

Skip to content

Commit e28425f

Browse files
[po] auto sync
1 parent effdde9 commit e28425f

32 files changed

Lines changed: 140 additions & 133 deletions

bugs.po

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

6768
#: ../../bugs.rst:22
6869
msgid ""

c-api/init.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -933,9 +933,9 @@ msgid ""
933933
"process forks only the thread that issued the fork will exist. That also "
934934
"means any locks held by other threads will never be released. Python solves "
935935
"this for :func:`os.fork` by acquiring the locks it uses internally before "
936-
"the fork, and releasing them afterwards. In addition, it resets any :ref"
937-
":`lock-objects` in the child. When extending or embedding Python, there is "
938-
"no way to inform Python of additional (non-Python) locks that need to be "
936+
"the fork, and releasing them afterwards. In addition, it resets any "
937+
":ref:`lock-objects` in the child. When extending or embedding Python, there "
938+
"is no way to inform Python of additional (non-Python) locks that need to be "
939939
"acquired before or reset after a fork. OS facilities such as "
940940
":c:func:`pthread_atfork` would need to be used to accomplish the same thing."
941941
" Additionally, when extending or embedding Python, calling :c:func:`fork` "

c-api/typeobj.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,9 +591,9 @@ msgstr ""
591591
msgid ""
592592
"This bit is set when the object supports garbage collection. If this bit is"
593593
" set, instances must be created using :c:func:`PyObject_GC_New` and "
594-
"destroyed using :c:func:`PyObject_GC_Del`. More information in section :ref"
595-
":`supporting-cycle-detection`. This bit also implies that the GC-related "
596-
"fields :c:member:`~PyTypeObject.tp_traverse` and "
594+
"destroyed using :c:func:`PyObject_GC_Del`. More information in section "
595+
":ref:`supporting-cycle-detection`. This bit also implies that the GC-"
596+
"related fields :c:member:`~PyTypeObject.tp_traverse` and "
597597
":c:member:`~PyTypeObject.tp_clear` are present in the type object."
598598
msgstr ""
599599

distutils/sourcedist.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ msgstr ""
316316
#: ../../distutils/sourcedist.rst:172
317317
msgid ""
318318
"You can disable the default set of included files with the :option:`!--no-"
319-
"defaults` option, and you can disable the standard exclude set with :option"
320-
":`!--no-prune`."
319+
"defaults` option, and you can disable the standard exclude set with "
320+
":option:`!--no-prune`."
321321
msgstr ""
322322

323323
#: ../../distutils/sourcedist.rst:176

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/general.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ msgid ""
217217
"between files), Internet protocols (HTTP, FTP, SMTP, XML-RPC, POP, IMAP, CGI"
218218
" programming), software engineering (unit testing, logging, profiling, "
219219
"parsing Python code), and operating system interfaces (system calls, "
220-
"filesystems, TCP/IP sockets). Look at the table of contents for :ref"
221-
":`library-index` to get an idea of what's available. A wide variety of "
220+
"filesystems, TCP/IP sockets). Look at the table of contents for "
221+
":ref:`library-index` to get an idea of what's available. A wide variety of "
222222
"third-party extensions are also available. Consult `the Python Package "
223223
"Index <https://pypi.org>`_ to find packages of interest to you."
224224
msgstr ""

faq/library.po

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

302302
#: ../../faq/library.rst:191
303303
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
@@ -165,9 +165,10 @@ msgstr ""
165165

166166
#: ../../faq/programming.rst:77
167167
msgid ""
168-
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre <https"
169-
"://pyre-check.org/>`_, and `Pytype <https://github.com/google/pytype>`_ can "
170-
"check type hints in Python source code."
168+
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre "
169+
"<https://pyre-check.org/>`_, and `Pytype "
170+
"<https://github.com/google/pytype>`_ can check type hints in Python source "
171+
"code."
171172
msgstr ""
172173
"静态类型检查器,例如 `Mypy <http://mypy-lang.org/>`_ 、 `Pyre <https://pyre-"
173174
"check.org/>`_ 和 `Pytype <https://github.com/google/pytype>`_ "

glossary.po

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

20732073
#: ../../glossary.rst:1053
20742074
msgid ""
2075-
"See also :term:`binary file` for a file object able to read and write :term"
2076-
":`bytes-like objects <bytes-like object>`."
2075+
"See also :term:`binary file` for a file object able to read and write "
2076+
":term:`bytes-like objects <bytes-like object>`."
20772077
msgstr ""
20782078
"另请参看 :term:`binary file` 了解能够读写 :term:`字节类对象 <bytes-like object>` 的文件对象。"
20792079

howto/logging.po

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

860860
#: ../../howto/logging.rst:555

0 commit comments

Comments
 (0)