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

Skip to content

Commit daa7341

Browse files
[po] auto sync
1 parent 0cda2de commit daa7341

42 files changed

Lines changed: 229 additions & 232 deletions

Some content is hidden

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

c-api/arg.po

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

4545
#: ../../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 "
33-
":ref:`extending-index`, which describes the general principles of extension "
32+
"write extension modules or embed Python. It is a companion to :ref"
33+
":`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。同时可以参阅 "
37-
":ref:`extending-index` ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。"
36+
"本手册描述了希望编写扩展模块并将 Python 解释器嵌入其应用程序中的 C 和 C++ 程序员可用的 API。同时可以参阅 :ref"
37+
":`extending-index` ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。"

distutils/examples.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ msgid ""
301301
"distribution is created with Distutils, the metadata fields are written in a"
302302
" static file called :file:`PKG-INFO`. When a Distutils-based project is "
303303
"installed in Python, the :file:`PKG-INFO` file is copied alongside the "
304-
"modules and packages of the distribution under :file:`NAME-VERSION-pyX.X"
305-
".egg-info`, where ``NAME`` is the name of the project, ``VERSION`` its "
304+
"modules and packages of the distribution under :file:`NAME-VERSION-"
305+
"pyX.X.egg-info`, where ``NAME`` is the name of the project, ``VERSION`` its "
306306
"version as defined in the Metadata, and ``pyX.X`` the major and minor "
307307
"version of Python like ``2.7`` or ``3.2``."
308308
msgstr ""

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

968968
#: ../../faq/design.rst:644
969969
msgid ""

faq/gui.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ msgid ""
6363
"Depending on what platform(s) you are aiming at, there are also several "
6464
"alternatives. A `list of cross-platform "
6565
"<https://wiki.python.org/moin/GuiProgramming#Cross-Platform_Frameworks>`_ "
66-
"and `platform-specific <https://wiki.python.org/moin/GuiProgramming"
67-
"#Platform-specific_Frameworks>`_ GUI frameworks can be found on the python "
68-
"wiki."
66+
"and `platform-specific "
67+
"<https://wiki.python.org/moin/GuiProgramming#Platform-specific_Frameworks>`_"
68+
" GUI frameworks can be found on the python wiki."
6969
msgstr ""
7070
"存在多种选项,具体取决于你的目标平台。 Python Wiki 上提供了一个 `跨平台 "
7171
"<https://wiki.python.org/moin/GuiProgramming#Cross-Platform_Frameworks>`_ 和 "

faq/programming.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,9 @@ msgstr ""
142142

143143
#: ../../faq/programming.rst:63
144144
msgid ""
145-
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre "
146-
"<https://pyre-check.org/>`_, and `Pytype "
147-
"<https://github.com/google/pytype>`_ can check type hints in Python source "
148-
"code."
145+
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre <https"
146+
"://pyre-check.org/>`_, and `Pytype <https://github.com/google/pytype>`_ can "
147+
"check type hints in Python source code."
149148
msgstr ""
150149
"静态类型检查器,例如 `Mypy <http://mypy-lang.org/>`_ 、 `Pyre <https://pyre-"
151150
"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: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -954,8 +954,9 @@ msgstr ""
954954
#: ../../howto/logging-cookbook.rst:1426
955955
msgid ""
956956
"For more information about this configuration, you can see the `relevant "
957-
"section <https://docs.djangoproject.com/en/stable/topics/logging"
958-
"/#configuring-logging>`_ of the Django documentation."
957+
"section "
958+
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
959+
"logging>`_ of the Django documentation."
959960
msgstr ""
960961
"有关本配置的更多信息,请参阅 Django 文档的 `有关章节 "
961962
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
@@ -1307,9 +1308,9 @@ msgstr "自定义信息对象的使用"
13071308
#: ../../howto/logging-cookbook.rst:2013
13081309
msgid ""
13091310
"There is another, perhaps simpler way that you can use {}- and $- formatting"
1310-
" to construct your individual log messages. You may recall (from :ref"
1311-
":`arbitrary-object-messages`) that when logging you can use an arbitrary "
1312-
"object as a message format string, and that the logging package will call "
1311+
" to construct your individual log messages. You may recall (from "
1312+
":ref:`arbitrary-object-messages`) that when logging you can use an arbitrary"
1313+
" object as a message format string, and that the logging package will call "
13131314
":func:`str` on that object to get the actual format string. Consider the "
13141315
"following two classes::"
13151316
msgstr ""
@@ -1416,8 +1417,8 @@ msgid ""
14161417
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14171418
"above."
14181419
msgstr ""
1419-
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1420-
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1420+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1421+
":ref:`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14211422

14221423
#: ../../howto/logging-cookbook.rst:2164
14231424
msgid "Customized exception formatting"

install/index.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -747,11 +747,11 @@ msgstr "自定义安装"
747747

748748
#: ../../install/index.rst:495
749749
msgid ""
750-
"Sometimes, the alternate installation schemes described in section :ref"
751-
":`inst-alt-install` just don't do what you want. You might want to tweak "
752-
"just one or two directories while keeping everything under the same base "
753-
"directory, or you might want to completely redefine the installation scheme."
754-
" In either case, you're creating a *custom installation scheme*."
750+
"Sometimes, the alternate installation schemes described in section "
751+
":ref:`inst-alt-install` just don't do what you want. You might want to "
752+
"tweak just one or two directories while keeping everything under the same "
753+
"base directory, or you might want to completely redefine the installation "
754+
"scheme. In either case, you're creating a *custom installation scheme*."
755755
msgstr ""
756756

757757
#: ../../install/index.rst:501

0 commit comments

Comments
 (0)