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

Skip to content

Commit b76bc37

Browse files
[po] auto sync
1 parent f510341 commit b76bc37

47 files changed

Lines changed: 223 additions & 230 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
@@ -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/typeobj.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,9 +1933,9 @@ msgstr ""
19331933
msgid ""
19341934
"This bit is set when the object supports garbage collection. If this bit is"
19351935
" set, instances must be created using :c:func:`PyObject_GC_New` and "
1936-
"destroyed using :c:func:`PyObject_GC_Del`. More information in section "
1937-
":ref:`supporting-cycle-detection`. This bit also implies that the GC-"
1938-
"related fields :c:member:`~PyTypeObject.tp_traverse` and "
1936+
"destroyed using :c:func:`PyObject_GC_Del`. More information in section :ref"
1937+
":`supporting-cycle-detection`. This bit also implies that the GC-related "
1938+
"fields :c:member:`~PyTypeObject.tp_traverse` and "
19391939
":c:member:`~PyTypeObject.tp_clear` are present in the type object."
19401940
msgstr ""
19411941

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-"
304-
"pyX.X.egg-info`, where ``NAME`` is the name of the project, ``VERSION`` its "
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 "
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 ""

distutils/packageindex.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ msgstr "`Python 包索引 (PyPI)`_ 存储描述与 distutils 和其他发布工
3434

3535
#: ../../distutils/packageindex.rst:13
3636
msgid ""
37-
"References to up to date PyPI documentation can be found at :ref"
38-
":`publishing-python-packages`."
37+
"References to up to date PyPI documentation can be found at "
38+
":ref:`publishing-python-packages`."
3939
msgstr "供参考的最新 PyPI 文档可以在 :ref:`publishing-python-packages` 找到。"

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` 找到。"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ msgstr "可以使用 C 语言创建自己的函数吗?"
3737
#: ../../faq/extending.rst:18
3838
msgid ""
3939
"Yes, you can create built-in modules containing functions, variables, "
40-
"exceptions and even new types in C. This is explained in the document :ref"
41-
":`extending-index`."
40+
"exceptions and even new types in C. This is explained in the document "
41+
":ref:`extending-index`."
4242
msgstr "是的,您可以在C中创建包含函数、变量、异常甚至新类型的内置模块。在文档 :ref:`extending-index` 中有说明。"
4343

4444
#: ../../faq/extending.rst:22

glossary.po

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

21182118
#: ../../glossary.rst:1075
21192119
msgid ""
2120-
"See also :term:`binary file` for a file object able to read and write :term"
2121-
":`bytes-like objects <bytes-like object>`."
2120+
"See also :term:`binary file` for a file object able to read and write "
2121+
":term:`bytes-like objects <bytes-like object>`."
21222122
msgstr ""
21232123
"另请参看 :term:`binary file` 了解能够读写 :term:`字节类对象 <bytes-like object>` 的文件对象。"
21242124

howto/curses.po

Lines changed: 8 additions & 7 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 <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."
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."
131131
msgstr ""
132132
"Windows 版本的 Python 不包含 :mod:`curses` 模块。提供了一个名为 `UniCurses "
133133
"<https://pypi.org/project/UniCurses>`_ 的移植版本。也可以尝试使用 Fredrik Lundh 编写 `the "
@@ -881,9 +881,10 @@ msgstr ""
881881

882882
#: ../../howto/curses.rst:550
883883
msgid ""
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."
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."
887888
msgstr ""
888889
"`\"使用 Urwid 的控制台应用程序\" <http://www.pyvideo.org/video/1568/console-"
889890
"applications-with-urwid>`_: 一场演示使用 Urwid 编写应用程序的 PyCon CA 2012 演讲的视频。"

howto/logging-cookbook.po

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

258258
#: ../../howto/logging-cookbook.rst:370
259259
msgid "An example of using these two classes follows (imports omitted)::"
@@ -949,9 +949,8 @@ msgstr ""
949949
#: ../../howto/logging-cookbook.rst:1426
950950
msgid ""
951951
"For more information about this configuration, you can see the `relevant "
952-
"section "
953-
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
954-
"logging>`_ of the Django documentation."
952+
"section <https://docs.djangoproject.com/en/stable/topics/logging"
953+
"/#configuring-logging>`_ of the Django documentation."
955954
msgstr ""
956955
"有关本配置的更多信息,请参阅 Django 文档的 `有关章节 "
957956
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
@@ -1303,9 +1302,9 @@ msgstr "自定义信息对象的使用"
13031302
#: ../../howto/logging-cookbook.rst:2013
13041303
msgid ""
13051304
"There is another, perhaps simpler way that you can use {}- and $- formatting"
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 "
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 "
13091308
":func:`str` on that object to get the actual format string. Consider the "
13101309
"following two classes::"
13111310
msgstr ""
@@ -1412,8 +1411,8 @@ msgid ""
14121411
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14131412
"above."
14141413
msgstr ""
1415-
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1416-
":ref:`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1414+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1415+
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14171416

14181417
#: ../../howto/logging-cookbook.rst:2164
14191418
msgid "Customized exception formatting"

0 commit comments

Comments
 (0)