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

Skip to content

Commit bfa5c1f

Browse files
[po] auto sync
1 parent 623f10c commit bfa5c1f

58 files changed

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

c-api/intro.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -793,11 +793,11 @@ msgstr ""
793793
msgid ""
794794
"Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined "
795795
"produces what is generally meant by :ref:`a debug build of Python <debug-"
796-
"build>`. :c:macro:`Py_DEBUG` is enabled in the Unix build by adding "
797-
":option:`--with-pydebug` to the :file:`./configure` command. It is also "
798-
"implied by the presence of the not-Python-specific :c:macro:`_DEBUG` macro."
799-
" When :c:macro:`Py_DEBUG` is enabled in the Unix build, compiler "
800-
"optimization is disabled."
796+
"build>`. :c:macro:`Py_DEBUG` is enabled in the Unix build by adding :option"
797+
":`--with-pydebug` to the :file:`./configure` command. It is also implied by "
798+
"the presence of the not-Python-specific :c:macro:`_DEBUG` macro. When "
799+
":c:macro:`Py_DEBUG` is enabled in the Unix build, compiler optimization is "
800+
"disabled."
801801
msgstr ""
802802

803803
#: ../../c-api/intro.rst:752

c-api/memory.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,10 +1011,9 @@ msgstr "否则, :c:func:`malloc` 和 :c:func:`free` 。"
10111011

10121012
#: ../../c-api/memory.rst:611
10131013
msgid ""
1014-
"This allocator is disabled if Python is configured with the "
1015-
":option:`--without-pymalloc` option. It can also be disabled at runtime "
1016-
"using the :envvar:`PYTHONMALLOC` environment variable (ex: "
1017-
"``PYTHONMALLOC=malloc``)."
1014+
"This allocator is disabled if Python is configured with the :option"
1015+
":`--without-pymalloc` option. It can also be disabled at runtime using the "
1016+
":envvar:`PYTHONMALLOC` environment variable (ex: ``PYTHONMALLOC=malloc``)."
10181017
msgstr ""
10191018

10201019
#: ../../c-api/memory.rst:616

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

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

600600
#: ../../distutils/builtdist.rst:268
601601
msgid ""
602-
"If you wish, you can separate these three steps. You can use the :option:`!"
603-
"--spec-only` option to make :command:`bdist_rpm` just create the "
602+
"If you wish, you can separate these three steps. You can use the :option"
603+
":`!--spec-only` option to make :command:`bdist_rpm` just create the "
604604
":file:`.spec` file and exit; in this case, the :file:`.spec` file will be "
605605
"written to the \"distribution directory\"---normally :file:`dist/`, but "
606606
"customizable with the :option:`!--dist-dir` option. (Normally, the "

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 "
32-
":ref:`publishing-python-packages`."
31+
"References to up to date PyPI documentation can be found at :ref"
32+
":`publishing-python-packages`."
3333
msgstr "供参考的最新 PyPI 文档可以在 :ref:`publishing-python-packages` 找到。"

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/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>`_ "

glossary.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -940,8 +940,8 @@ msgid ""
940940
"functionality. Also see :ref:`annotations-howto` for best practices on "
941941
"working with annotations."
942942
msgstr ""
943-
"参见 :term:`variable annotation` 和 :pep:`484`,其中描述了此功能。 另请参阅 :ref"
944-
":`annotations-howto` 以了解使用标的最佳实践。"
943+
"参见 :term:`variable annotation` 和 :pep:`484`,其中描述了此功能。 另请参阅 "
944+
":ref:`annotations-howto` 以了解使用标的最佳实践。"
945945

946946
#: ../../glossary.rst:462
947947
msgid "__future__"
@@ -2271,8 +2271,8 @@ msgstr ""
22712271

22722272
#: ../../glossary.rst:1143
22732273
msgid ""
2274-
"See also :term:`binary file` for a file object able to read and write :term"
2275-
":`bytes-like objects <bytes-like object>`."
2274+
"See also :term:`binary file` for a file object able to read and write "
2275+
":term:`bytes-like objects <bytes-like object>`."
22762276
msgstr ""
22772277
"另请参看 :term:`binary file` 了解能够读写 :term:`字节类对象 <bytes-like object>` 的文件对象。"
22782278

@@ -2396,8 +2396,8 @@ msgid ""
23962396
"this functionality. Also see :ref:`annotations-howto` for best practices on "
23972397
"working with annotations."
23982398
msgstr ""
2399-
"参见 :term:`function annotation`, :pep:`484` 和 :pep:`526`,其中描述了此功能。 另请参阅 :ref"
2400-
":`annotations-howto` 以了解使用标注的最佳实践。"
2399+
"参见 :term:`function annotation`, :pep:`484` 和 :pep:`526`,其中描述了此功能。 另请参阅 "
2400+
":ref:`annotations-howto` 以了解使用标注的最佳实践。"
24012401

24022402
#: ../../glossary.rst:1221
24032403
msgid "virtual environment"

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"

0 commit comments

Comments
 (0)