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

Skip to content

Commit 6ede007

Browse files
[po] auto sync
1 parent 2fba17f commit 6ede007

44 files changed

Lines changed: 182 additions & 185 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/arg.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ msgstr "解析参数并构建值变量"
3737
#: ../../c-api/arg.rst:8
3838
msgid ""
3939
"These functions are useful when creating your own extensions functions and "
40-
"methods. Additional information and examples are available in :ref"
41-
":`extending-index`."
40+
"methods. Additional information and examples are available in "
41+
":ref:`extending-index`."
4242
msgstr "在创建你自己的扩展函数和方法时,这些函数是有用的。其它的信息和样例见 :ref:`extending-index` 。"
4343

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

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 "
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 "
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 "
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/builtdist.po

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

605605
#: ../../distutils/builtdist.rst:269
606606
msgid ""
607-
"If you wish, you can separate these three steps. You can use the :option"
608-
":`!--spec-only` option to make :command:`bdist_rpm` just create the "
607+
"If you wish, you can separate these three steps. You can use the :option:`!"
608+
"--spec-only` option to make :command:`bdist_rpm` just create the "
609609
":file:`.spec` file and exit; in this case, the :file:`.spec` file will be "
610610
"written to the \"distribution directory\"---normally :file:`dist/`, but "
611611
"customizable with the :option:`!--dist-dir` option. (Normally, the "

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

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/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 "
148-
"<https://python-gtk-3-tutorial.readthedocs.io>`_."
147+
"GTK+ 3 applications. There is also a `Python GTK+ 3 Tutorial <https"
148+
"://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-"

howto/logging-cookbook.po

Lines changed: 10 additions & 9 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-
"使用一个单独的类 :class:`QueueListener` "
255-
"优点是可以使用同一个实例去服务于多个``QueueHandlers``。这样会更节省资源,否则每个处理程序都占用一个线程没有任何益处。"
254+
"使用一个单独的类 "
255+
":class:`QueueListener` 优点是可以使用同一个实例去服务于多个``QueueHandlers``。这样会更节省资源,否则每个处理程序都占用一个线程没有任何益处。"
256256

257257
#: ../../howto/logging-cookbook.rst:370
258258
msgid "An example of using these two classes follows (imports omitted)::"
@@ -273,8 +273,9 @@ 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 3.5之前,:class:`QueueListener` "
277-
"总是把从队列中接收的每个消息都传给它初始化的日志处理程序。(这是因为它会假设过滤级别总是在队列的另一侧去设置的。) 从Python "
276+
"在Python "
277+
"3.5之前,:class:`QueueListener` 总是把从队列中接收的每个消息都传给它初始化的日志处理程序。(这是因为它会假设过滤级别总是在队列的另一侧去设置的。)"
278+
" 从Python "
278279
"3.5开始,可以通过在监听器构造函数中添加一个参数``respect_handler_level=True``改变这种情况。当这样设置时,监听器会比较每条消息的等级和日志处理器中设置的等级,只把需要传递的消息传给对应的日志处理器。"
279280

280281
#: ../../howto/logging-cookbook.rst:407
@@ -1293,9 +1294,9 @@ msgstr "自定义信息对象的使用"
12931294
#: ../../howto/logging-cookbook.rst:2014
12941295
msgid ""
12951296
"There is another, perhaps simpler way that you can use {}- and $- formatting"
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 "
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 "
12991300
":func:`str` on that object to get the actual format string. Consider the "
13001301
"following two classes::"
13011302
msgstr ""
@@ -1402,8 +1403,8 @@ msgid ""
14021403
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14031404
"above."
14041405
msgstr ""
1405-
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1406-
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1406+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1407+
":ref:`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14071408

14081409
#: ../../howto/logging-cookbook.rst:2165
14091410
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 "
338-
":ref:`logging-advanced-tutorial`."
337+
" to refer to the documentation beyond the tutorial level -- see :ref"
338+
":`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`` 样式字符串替换;可能的键值在 "
857-
":ref:`logrecord-attributes` 中。 如果样式为 '{',则假定消息格式字符串与 :meth:`str.format` "
856+
"如果 ``style`` 是 '%',则消息格式字符串使用 ``%(<dictionary key>)s`` 样式字符串替换;可能的键值在 :ref"
857+
":`logrecord-attributes` 中。 如果样式为 '{',则假定消息格式字符串与 :meth:`str.format` "
858858
"(使用关键字参数)兼容,而如果样式为 '$' ,则消息格式字符串应符合 :meth:`string.Template.substitute` 。"
859859

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

0 commit comments

Comments
 (0)