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

Skip to content

Commit dfc32be

Browse files
[po] auto sync
1 parent 5c2f81e commit dfc32be

33 files changed

Lines changed: 148 additions & 140 deletions

faq/library.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,12 @@ msgstr "怎样用 docstring 创建文档?"
291291
msgid ""
292292
"The :mod:`pydoc` module can create HTML from the doc strings in your Python "
293293
"source code. An alternative for creating API documentation purely from "
294-
"docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx <http"
295-
"://sphinx-doc.org>`_ can also include docstring content."
294+
"docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx "
295+
"<http://sphinx-doc.org>`_ can also include docstring content."
296296
msgstr ""
297297
":mod:`pydoc` 模块可以用 Python 源码中的 docstring 创建 HTML 文件。也可以使用 `epydoc "
298-
"<http://epydoc.sourceforge.net/>`_ 来只通过 docstring 创建 API 文档。`Sphinx <http"
299-
"://sphinx-doc.org>`_ 也可以引入 docstring 的内容。"
298+
"<http://epydoc.sourceforge.net/>`_ 来只通过 docstring 创建 API 文档。`Sphinx "
299+
"<http://sphinx-doc.org>`_ 也可以引入 docstring 的内容。"
300300

301301
#: ../../faq/library.rst:191
302302
msgid "How do I get a single keypress at a time?"

glossary.po

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

21432143
#: ../../glossary.rst:1084
21442144
msgid ""
2145-
"See also :term:`binary file` for a file object able to read and write :term"
2146-
":`bytes-like objects <bytes-like object>`."
2145+
"See also :term:`binary file` for a file object able to read and write "
2146+
":term:`bytes-like objects <bytes-like object>`."
21472147
msgstr ""
21482148
"另请参看 :term:`binary file` 了解能够读写 :term:`字节类对象 <bytes-like object>` 的文件对象。"
21492149

howto/curses.po

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

881881
#: ../../howto/curses.rst:550
882882
msgid ""
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."
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."
886887
msgstr ""
887888
"`\"使用 Urwid 的控制台应用程序\" <http://www.pyvideo.org/video/1568/console-"
888889
"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
@@ -948,8 +948,9 @@ msgstr ""
948948
#: ../../howto/logging-cookbook.rst:1426
949949
msgid ""
950950
"For more information about this configuration, you can see the `relevant "
951-
"section <https://docs.djangoproject.com/en/stable/topics/logging"
952-
"/#configuring-logging>`_ of the Django documentation."
951+
"section "
952+
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
953+
"logging>`_ of the Django documentation."
953954
msgstr ""
954955
"有关本配置的更多信息,请参阅 Django 文档的 `有关章节 "
955956
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
@@ -1301,9 +1302,9 @@ msgstr "自定义日志信息对象的使用"
13011302
#: ../../howto/logging-cookbook.rst:2013
13021303
msgid ""
13031304
"There is another, perhaps simpler way that you can use {}- and $- formatting"
1304-
" to construct your individual log messages. You may recall (from :ref"
1305-
":`arbitrary-object-messages`) that when logging you can use an arbitrary "
1306-
"object as a message format string, and that the logging package will call "
1305+
" to construct your individual log messages. You may recall (from "
1306+
":ref:`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 "
13071308
":func:`str` on that object to get the actual format string. Consider the "
13081309
"following two classes::"
13091310
msgstr ""
@@ -1410,8 +1411,8 @@ msgid ""
14101411
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14111412
"above."
14121413
msgstr ""
1413-
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1414-
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1414+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1415+
":ref:`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14151416

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

howto/sockets.po

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

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

howto/urllib2.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,9 @@ msgstr ""
196196
#: ../../howto/urllib2.rst:131
197197
msgid ""
198198
"Note that other encodings are sometimes required (e.g. for file upload from "
199-
"HTML forms - see `HTML Specification, Form Submission <https://www.w3.org/TR"
200-
"/REC-html40/interact/forms.html#h-17.13>`_ for more details)."
199+
"HTML forms - see `HTML Specification, Form Submission "
200+
"<https://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13>`_ for more "
201+
"details)."
201202
msgstr ""
202203
"请注意,有时还需要采用其他编码,比如由 HTML 表单上传文件——更多细节请参见 `HTML 规范,提交表单 "
203204
"<https://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13>`_ 。 "

library/array.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ msgid ""
238238
"the optional *initializer* value, which must be a list, a :term:`bytes-like "
239239
"object`, or iterable over elements of the appropriate type."
240240
msgstr ""
241-
"一个包含由 *typecode* 限制类型的条目的新数组,并由可选的 *initializer* 值进行初始化,该值必须为一个列表、:term"
242-
":`bytes-like object` 或包含正确类型元素的可迭代对象。"
241+
"一个包含由 *typecode* 限制类型的条目的新数组,并由可选的 *initializer* "
242+
"值进行初始化,该值必须为一个列表、:term:`bytes-like object` 或包含正确类型元素的可迭代对象。"
243243

244244
#: ../../library/array.rst:75
245245
msgid ""

library/audioop.po

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

3939
#: ../../library/audioop.rst:14
4040
msgid ""
41-
"Support for 24-bit samples was added. All functions now accept any :term"
42-
":`bytes-like object`. String input now results in an immediate error."
41+
"Support for 24-bit samples was added. All functions now accept any "
42+
":term:`bytes-like object`. String input now results in an immediate error."
4343
msgstr ""
4444
"增加了对 24 位采样的支持。现在,所有函数都接受任何 :term:`类字节串对象 <bytes-like "
4545
"object>`。而传入字符串会立即导致错误。"

library/collections.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,11 +510,11 @@ msgstr "Wikipedia 链接 `Multisets <https://en.wikipedia.org/wiki/Multiset>`_."
510510

511511
#: ../../library/collections.rst:407
512512
msgid ""
513-
"`C++ multisets <http://www.java2s.com/Tutorial/Cpp/0380__set-multiset"
514-
"/Catalog0380__set-multiset.htm>`_ tutorial with examples."
513+
"`C++ multisets <http://www.java2s.com/Tutorial/Cpp/0380__set-"
514+
"multiset/Catalog0380__set-multiset.htm>`_ tutorial with examples."
515515
msgstr ""
516-
"`C++ multisets <http://www.java2s.com/Tutorial/Cpp/0380__set-multiset"
517-
"/Catalog0380__set-multiset.htm>`_ 教程和例子。"
516+
"`C++ multisets <http://www.java2s.com/Tutorial/Cpp/0380__set-"
517+
"multiset/Catalog0380__set-multiset.htm>`_ 教程和例子。"
518518

519519
#: ../../library/collections.rst:410
520520
msgid ""

library/csv.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,8 @@ msgid ""
482482
" reader. It can take on any of the :const:`QUOTE_\\*` constants (see "
483483
"section :ref:`csv-contents`) and defaults to :const:`QUOTE_MINIMAL`."
484484
msgstr ""
485-
"控制 writer 何时生成引号,以及 reader 何时识别引号。该属性可以等于任何 :const:`QUOTE_\\*` 常量(参见 :ref"
486-
":`csv-contents` 段落),默认为 :const:`QUOTE_MINIMAL`。"
485+
"控制 writer 何时生成引号,以及 reader 何时识别引号。该属性可以等于任何 :const:`QUOTE_\\*` 常量(参见 "
486+
":ref:`csv-contents` 段落),默认为 :const:`QUOTE_MINIMAL`。"
487487

488488
#: ../../library/csv.rst:401
489489
msgid ""

0 commit comments

Comments
 (0)