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

Skip to content

Commit 06c0a1d

Browse files
[po] auto sync
1 parent 8cb33e6 commit 06c0a1d

47 files changed

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

6867
#: ../../bugs.rst:22
6968
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` "

distutils/examples.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ msgid ""
291291
"distribution is created with Distutils, the metadata fields are written in a"
292292
" static file called :file:`PKG-INFO`. When a Distutils-based project is "
293293
"installed in Python, the :file:`PKG-INFO` file is copied alongside the "
294-
"modules and packages of the distribution under :file:`NAME-VERSION-"
295-
"pyX.X.egg-info`, where ``NAME`` is the name of the project, ``VERSION`` its "
294+
"modules and packages of the distribution under :file:`NAME-VERSION-pyX.X"
295+
".egg-info`, where ``NAME`` is the name of the project, ``VERSION`` its "
296296
"version as defined in the Metadata, and ``pyX.X`` the major and minor "
297297
"version of Python like ``2.7`` or ``3.2``."
298298
msgstr ""

distutils/introduction.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ msgstr "Distutils 模块介绍"
3434
msgid ""
3535
"This document covers using the Distutils to distribute your Python modules, "
3636
"concentrating on the role of developer/distributor: if you're looking for "
37-
"information on installing Python modules, you should refer to the :ref"
38-
":`install-index` chapter."
37+
"information on installing Python modules, you should refer to the "
38+
":ref:`install-index` chapter."
3939
msgstr ""
4040
"本文档介绍了使用 Distutils 模块分发你的 Python 模块,主要是针对开发者/分发者的使用的——如果你想了解如何安装 Python "
4141
"模块,你应该参考这个章节: :ref:`install-index`。"

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

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 :ref"
32-
":`publishing-python-packages`."
31+
"References to up to date PyPI documentation can be found at "
32+
":ref:`publishing-python-packages`."
3333
msgstr "供参考的最新 PyPI 文档可以在 :ref:`publishing-python-packages` 找到。"

faq/gui.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ msgstr "Gtk+"
144144
msgid ""
145145
"The `GObject introspection bindings "
146146
"<https://wiki.gnome.org/Projects/PyGObject>`_ for Python allow you to write "
147-
"GTK+ 3 applications. There is also a `Python GTK+ 3 Tutorial <https"
148-
"://python-gtk-3-tutorial.readthedocs.io>`_."
147+
"GTK+ 3 applications. There is also a `Python GTK+ 3 Tutorial "
148+
"<https://python-gtk-3-tutorial.readthedocs.io>`_."
149149
msgstr ""
150150
"针对 Python 的 `GObject 内省绑定 <https://wiki.gnome.org/Projects/PyGObject>`_ "
151151
"可以用于编写 GTK+ 3 应用。 另请参阅 `Python GTK+ 3 教程 <https://python-"

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>`_ "

howto/logging-cookbook.po

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ msgid ""
251251
"handler classes, which would eat up one thread per handler for no particular"
252252
" benefit."
253253
msgstr ""
254-
"使用一个单独的类 "
255-
":class:`QueueListener` 优点是可以使用同一个实例去服务于多个``QueueHandlers``。这样会更节省资源,否则每个处理程序都占用一个线程没有任何益处。"
254+
"使用一个单独的类 :class:`QueueListener` "
255+
"优点是可以使用同一个实例去服务于多个``QueueHandlers``。这样会更节省资源,否则每个处理程序都占用一个线程没有任何益处。"
256256

257257
#: ../../howto/logging-cookbook.rst:370
258258
msgid "An example of using these two classes follows (imports omitted)::"
@@ -273,9 +273,8 @@ msgid ""
273273
"of each message with the handler's level, and only passes a message to a "
274274
"handler if it's appropriate to do so."
275275
msgstr ""
276-
"在Python "
277-
"3.5之前,:class:`QueueListener` 总是把从队列中接收的每个消息都传给它初始化的日志处理程序。(这是因为它会假设过滤级别总是在队列的另一侧去设置的。)"
278-
" 从Python "
276+
"在Python 3.5之前,:class:`QueueListener` "
277+
"总是把从队列中接收的每个消息都传给它初始化的日志处理程序。(这是因为它会假设过滤级别总是在队列的另一侧去设置的。) 从Python "
279278
"3.5开始,可以通过在监听器构造函数中添加一个参数``respect_handler_level=True``改变这种情况。当这样设置时,监听器会比较每条消息的等级和日志处理器中设置的等级,只把需要传递的消息传给对应的日志处理器。"
280279

281280
#: ../../howto/logging-cookbook.rst:407
@@ -1294,9 +1293,9 @@ msgstr "自定义信息对象的使用"
12941293
#: ../../howto/logging-cookbook.rst:2014
12951294
msgid ""
12961295
"There is another, perhaps simpler way that you can use {}- and $- formatting"
1297-
" to construct your individual log messages. You may recall (from "
1298-
":ref:`arbitrary-object-messages`) that when logging you can use an arbitrary"
1299-
" object as a message format string, and that the logging package will call "
1296+
" to construct your individual log messages. You may recall (from :ref"
1297+
":`arbitrary-object-messages`) that when logging you can use an arbitrary "
1298+
"object as a message format string, and that the logging package will call "
13001299
":func:`str` on that object to get the actual format string. Consider the "
13011300
"following two classes::"
13021301
msgstr ""
@@ -1403,8 +1402,8 @@ msgid ""
14031402
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14041403
"above."
14051404
msgstr ""
1406-
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1407-
":ref:`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1405+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1406+
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14081407

14091408
#: ../../howto/logging-cookbook.rst:2165
14101409
msgid "Customized exception formatting"

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)