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

Skip to content

Commit f510341

Browse files
[po] auto sync
1 parent 875995d commit f510341

52 files changed

Lines changed: 292 additions & 289 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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 "
161-
":file:`PKG-INFO`"
160+
"if the maintainer is provided, distutils will use it as the author in :file"
161+
":`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-pyX.X"
304-
".egg-info`, where ``NAME`` is the name of the project, ``VERSION`` its "
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 "
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 ""

faq/design.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,9 @@ msgstr ""
443443

444444
#: ../../faq/design.rst:303
445445
msgid ""
446-
"Answer 2: Fortunately, there is `Stackless Python <https://github.com"
447-
"/stackless-dev/stackless/wiki>`_, which has a completely redesigned "
448-
"interpreter loop that avoids the C stack."
446+
"Answer 2: Fortunately, there is `Stackless Python "
447+
"<https://github.com/stackless-dev/stackless/wiki>`_, which has a completely "
448+
"redesigned interpreter loop that avoids the C stack."
449449
msgstr ""
450450
"答案2: 幸运的是, `Stackless Python <https://github.com/stackless-"
451451
"dev/stackless/wiki>`_ 有一个完全重新设计的解释器循环,可以避免C堆栈。"
@@ -521,8 +521,8 @@ msgid ""
521521
"reference counting implementation."
522522
msgstr ""
523523
"但是,其他实现(如 `Jython <http://www.jython.org>`_ 或 `PyPy "
524-
"<http://www.pypy.org>`_ ),)可以依赖不同的机制,如完全的垃圾回收器 "
525-
"。如果你的Python代码依赖于引用计数实现的行为,则这种差异可能会导致一些微妙的移植问题。"
524+
"<http://www.pypy.org>`_ "
525+
"),)可以依赖不同的机制,如完全的垃圾回收器 。如果你的Python代码依赖于引用计数实现的行为,则这种差异可能会导致一些微妙的移植问题。"
526526

527527
#: ../../faq/design.rst:350
528528
msgid ""
@@ -960,8 +960,8 @@ msgid ""
960960
" pass on the string quote character by escaping it with a backslash. These "
961961
"rules work well when r-strings are used for their intended purpose."
962962
msgstr ""
963-
"原始字符串的设计是为了方便想要执行自己的反斜杠转义处理的处理器(主要是正则表达式引擎)创建输入。此类处理器将不匹配的尾随反斜杠视为错误,因此原始字符串不允许这样做。反过来,允许通过使用引号字符转义反斜杠转义字符串"
964-
"。当r-string用于它们的预期目的时,这些规则工作的很好。"
963+
"原始字符串的设计是为了方便想要执行自己的反斜杠转义处理的处理器(主要是正则表达式引擎)创建输入。此类处理器将不匹配的尾随反斜杠视为错误,因此原始字符串不允许这样做。反过来,允许通过使用引号字符转义反斜杠转义字符串。当r-"
964+
"string用于它们的预期目的时,这些规则工作的很好。"
965965

966966
#: ../../faq/design.rst:643
967967
msgid ""

faq/general.po

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

142142
#: ../../faq/programming.rst:63
143143
msgid ""
144-
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre <https"
145-
"://pyre-check.org/>`_, and `Pytype <https://github.com/google/pytype>`_ can "
146-
"check type hints in Python source code."
144+
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre "
145+
"<https://pyre-check.org/>`_, and `Pytype "
146+
"<https://github.com/google/pytype>`_ can check type hints in Python source "
147+
"code."
147148
msgstr ""
148149
"静态类型检查器,例如 `Mypy <http://mypy-lang.org/>`_ 、 `Pyre <https://pyre-"
149150
"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
@@ -124,10 +124,10 @@ msgstr ""
124124
msgid ""
125125
"The Windows version of Python doesn't include the :mod:`curses` module. A "
126126
"ported version called `UniCurses <https://pypi.org/project/UniCurses>`_ is "
127-
"available. You could also try `the Console module "
128-
"<http://effbot.org/zone/console-index.htm>`_ written by Fredrik Lundh, which"
129-
" doesn't use the same API as curses but provides cursor-addressable text "
130-
"output and full support for mouse and keyboard input."
127+
"available. You could also try `the Console module <http://effbot.org/zone"
128+
"/console-index.htm>`_ written by Fredrik Lundh, which doesn't use the same "
129+
"API as curses but provides cursor-addressable text output and full support "
130+
"for mouse and keyboard input."
131131
msgstr ""
132132
"Windows 版本的 Python 不包含 :mod:`curses` 模块。提供了一个名为 `UniCurses "
133133
"<https://pypi.org/project/UniCurses>`_ 的移植版本。也可以尝试使用 Fredrik Lundh 编写 `the "
@@ -881,10 +881,9 @@ msgstr ""
881881

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

howto/logging-cookbook.po

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

258258
#: ../../howto/logging-cookbook.rst:370
259259
msgid "An example of using these two classes follows (imports omitted)::"
@@ -949,8 +949,9 @@ msgstr ""
949949
#: ../../howto/logging-cookbook.rst:1426
950950
msgid ""
951951
"For more information about this configuration, you can see the `relevant "
952-
"section <https://docs.djangoproject.com/en/stable/topics/logging"
953-
"/#configuring-logging>`_ of the Django documentation."
952+
"section "
953+
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
954+
"logging>`_ of the Django documentation."
954955
msgstr ""
955956
"有关本配置的更多信息,请参阅 Django 文档的 `有关章节 "
956957
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
@@ -1302,9 +1303,9 @@ msgstr "自定义信息对象的使用"
13021303
#: ../../howto/logging-cookbook.rst:2013
13031304
msgid ""
13041305
"There is another, perhaps simpler way that you can use {}- and $- formatting"
1305-
" to construct your individual log messages. You may recall (from :ref"
1306-
":`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 "
1306+
" to construct your individual log messages. You may recall (from "
1307+
":ref:`arbitrary-object-messages`) that when logging you can use an arbitrary"
1308+
" object as a message format string, and that the logging package will call "
13081309
":func:`str` on that object to get the actual format string. Consider the "
13091310
"following two classes::"
13101311
msgstr ""
@@ -1411,8 +1412,8 @@ msgid ""
14111412
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14121413
"above."
14131414
msgstr ""
1414-
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1415-
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1415+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1416+
":ref:`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14161417

14171418
#: ../../howto/logging-cookbook.rst:2164
14181419
msgid "Customized exception formatting"

howto/logging.po

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

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

howto/sockets.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ msgid ""
144144
msgstr ""
145145
"有几件事需要注意:我们使用了 ``socket.gethostname()``,所以套接字将外网可见。如果我们使用的是 "
146146
"``s.bind(('localhost', 80))`` 或者 ``s.bind(('127.0.0.1', "
147-
"80))``,也会得到一个「服务端」套接字,但是后者只在同一机器上可见。``s.bind(('', 80))`` "
148-
"则指定套接字可以被机器上的任何地址碰巧连接"
147+
"80))``,也会得到一个「服务端」套接字,但是后者只在同一机器上可见。``s.bind(('', "
148+
"80))`` 则指定套接字可以被机器上的任何地址碰巧连接"
149149

150150
#: ../../howto/sockets.rst:87
151151
msgid ""

0 commit comments

Comments
 (0)