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

Skip to content

Commit cafaaa3

Browse files
[po] auto sync
1 parent 0220515 commit cafaaa3

37 files changed

Lines changed: 157 additions & 165 deletions

bugs.po

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ msgid ""
5757
"tracker>`. If you have a suggestion on how to fix it, include that as well."
5858
msgstr ""
5959
"如果您在本文档中发现了错误并打算帮助我们改进,请将错误提交到 :ref:`追踪系统 <using-the-tracker>`。 "
60-
"如果您有相应的修正建议,请一并提交。 (译者注:如果是中文文档翻译相关的错误,请务必提交到 "
61-
"https://github.com/python/python-docs-zh-"
62-
"cn/issues。如果将翻译问题反馈到了其他地方,可能会因为语言不通而不能及时处理。)"
60+
"如果您有相应的修正建议,请一并提交。 (译者注:如果是中文文档翻译相关的错误,请务必提交到 https://github.com/python"
61+
"/python-docs-zh-cn/issues。如果将翻译问题反馈到了其他地方,可能会因为语言不通而不能及时处理。)"
6362

6463
#: ../../bugs.rst:22
6564
msgid ""
@@ -92,8 +91,8 @@ msgstr "在追踪系统上参与问题改进的过程概述。"
9291

9392
#: ../../bugs.rst:35
9493
msgid ""
95-
"`Helping with Documentation "
96-
"<https://devguide.python.org/docquality/#helping-with-documentation>`_"
94+
"`Helping with Documentation <https://devguide.python.org/docquality"
95+
"/#helping-with-documentation>`_"
9796
msgstr ""
9897
"`改进文档 <https://devguide.python.org/docquality/#helping-with-documentation>`_"
9998

c-api/typeobj.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,9 +1919,9 @@ msgstr ""
19191919
msgid ""
19201920
"This bit is set when the object supports garbage collection. If this bit is"
19211921
" set, instances must be created using :c:func:`PyObject_GC_New` and "
1922-
"destroyed using :c:func:`PyObject_GC_Del`. More information in section "
1923-
":ref:`supporting-cycle-detection`. This bit also implies that the GC-"
1924-
"related fields :c:member:`~PyTypeObject.tp_traverse` and "
1922+
"destroyed using :c:func:`PyObject_GC_Del`. More information in section :ref"
1923+
":`supporting-cycle-detection`. This bit also implies that the GC-related "
1924+
"fields :c:member:`~PyTypeObject.tp_traverse` and "
19251925
":c:member:`~PyTypeObject.tp_clear` are present in the type object."
19261926
msgstr ""
19271927

distutils/apiref.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ msgstr "*maintainer*"
158158
#: ../../distutils/apiref.rst:61
159159
msgid ""
160160
"The name of the current maintainer, if different from the author. Note that "
161-
"if the maintainer is provided, distutils will use it as the author in "
162-
":file:`PKG-INFO`"
161+
"if the maintainer is provided, distutils will use it as the author in :file"
162+
":`PKG-INFO`"
163163
msgstr ""
164164

165165
#: ../../distutils/apiref.rst:68

distutils/introduction.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ msgstr ""
4343
msgid ""
4444
"This document covers using the Distutils to distribute your Python modules, "
4545
"concentrating on the role of developer/distributor: if you're looking for "
46-
"information on installing Python modules, you should refer to the "
47-
":ref:`install-index` chapter."
46+
"information on installing Python modules, you should refer to the :ref"
47+
":`install-index` chapter."
4848
msgstr ""
4949
"本文档介绍了使用 Distutils 模块分发你的 Python 模块,主要是针对开发者/分发者的使用的——如果你想了解如何安装 Python "
5050
"模块,你应该参考这个章节: :ref:`install-index`。"

distutils/sourcedist.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ msgstr ""
327327
#: ../../distutils/sourcedist.rst:174
328328
msgid ""
329329
"You can disable the default set of included files with the :option:`!--no-"
330-
"defaults` option, and you can disable the standard exclude set with "
331-
":option:`!--no-prune`."
330+
"defaults` option, and you can disable the standard exclude set with :option"
331+
":`!--no-prune`."
332332
msgstr ""
333333

334334
#: ../../distutils/sourcedist.rst:178

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: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -954,9 +954,8 @@ msgstr ""
954954
#: ../../howto/logging-cookbook.rst:1426
955955
msgid ""
956956
"For more information about this configuration, you can see the `relevant "
957-
"section "
958-
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
959-
"logging>`_ of the Django documentation."
957+
"section <https://docs.djangoproject.com/en/stable/topics/logging"
958+
"/#configuring-logging>`_ of the Django documentation."
960959
msgstr ""
961960
"有关本配置的更多信息,请参阅 Django 文档的 `有关章节 "
962961
"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
@@ -1308,9 +1307,9 @@ msgstr "自定义信息对象的使用"
13081307
#: ../../howto/logging-cookbook.rst:2013
13091308
msgid ""
13101309
"There is another, perhaps simpler way that you can use {}- and $- formatting"
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 "
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 "
13141313
":func:`str` on that object to get the actual format string. Consider the "
13151314
"following two classes::"
13161315
msgstr ""
@@ -1417,8 +1416,8 @@ msgid ""
14171416
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14181417
"above."
14191418
msgstr ""
1420-
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1421-
":ref:`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1419+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1420+
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14221421

14231422
#: ../../howto/logging-cookbook.rst:2164
14241423
msgid "Customized exception formatting"

howto/logging.po

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

872872
#: ../../howto/logging.rst:564

library/array.po

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

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

library/cgi.po

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ msgid ""
142142
"consume standard input, it should be instantiated only once."
143143
msgstr ""
144144
"要获取提交的表单数据,请使用 :class:`FieldStorage` 类。 如果表单包含非 ASCII 字符,请使用 *encoding* "
145-
"关键字参数并设置为文档所定义的编码格式值。 它通常包含在 HTML 文档的 HEAD 部分的 META 标签中或者由 "
146-
":mailheader:`Content-Type` 标头所指明。 这会从标准输入或环境读取表单内容(取决于根据 CGI 标准设置的多个环境变量的值)。"
147-
" 由于它可能会消耗标准输入,它应当只被实例化一次。"
145+
"关键字参数并设置为文档所定义的编码格式值。 它通常包含在 HTML 文档的 HEAD 部分的 META 标签中或者由 :mailheader"
146+
":`Content-Type` 标头所指明。 这会从标准输入或环境读取表单内容(取决于根据 CGI 标准设置的多个环境变量的值)。 "
147+
"由于它可能会消耗标准输入,它应当只被实例化一次。"
148148

149149
#: ../../library/cgi.rst:97
150150
msgid ""
@@ -163,10 +163,9 @@ msgstr ""
163163

164164
#: ../../library/cgi.rst:105
165165
msgid ""
166-
"For instance, the following code (which assumes that the "
167-
":mailheader:`Content-Type` header and blank line have already been printed) "
168-
"checks that the fields ``name`` and ``addr`` are both set to a non-empty "
169-
"string::"
166+
"For instance, the following code (which assumes that the :mailheader"
167+
":`Content-Type` header and blank line have already been printed) checks that"
168+
" the fields ``name`` and ``addr`` are both set to a non-empty string::"
170169
msgstr ""
171170
"举例来说,下面的代码(假定 :mailheader:`Content-Type` 标头和空行已经被打印)会检查字段 ``name`` 和 "
172171
"``addr`` 是否均被设为非空字符串::"
@@ -602,8 +601,8 @@ msgid ""
602601
msgstr ""
603602
"首先,请检查是否有安装上的小错误 --- 仔细阅读上面关于安装 CGI 脚本的部分可以使你节省大量时间。 "
604603
"如果你不确定你是否正确理解了安装过程,请尝试将此模块 (:file:`cgi.py`) 的副本作为 CGI 脚本安装。 "
605-
"当作为脚本被发起调用时,该文件将以 HTML 格式转储其环境和表单内容。 请给它赋予正确的模式等,并向它发送一个请求。 如果它是安装在标准的 "
606-
":file:`cgi-bin` 目录下,应该可以通过在你的浏览器中输入表单的 URL 来向它发送请求。"
604+
"当作为脚本被发起调用时,该文件将以 HTML 格式转储其环境和表单内容。 请给它赋予正确的模式等,并向它发送一个请求。 如果它是安装在标准的 :file"
605+
":`cgi-bin` 目录下,应该可以通过在你的浏览器中输入表单的 URL 来向它发送请求。"
607606

608607
#: ../../library/cgi.rst:435
609608
msgid ""

0 commit comments

Comments
 (0)