Skip to content

Commit 39c20cf

Browse files
[po] auto sync
1 parent d15a987 commit 39c20cf

28 files changed

+196
-128
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.12%", "updated_at": "2024-06-07T15:47:12Z"}
1+
{"translation": "95.18%", "updated_at": "2024-06-07T19:47:00Z"}

c-api/buffer.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -264,6 +264,8 @@ msgid ""
264264
"the contents of a single item. If this is ``NULL``, ``\"B\"`` (unsigned "
265265
"bytes) is assumed."
266266
msgstr ""
267+
"在 :mod:`struct` 模块样式语法中以 *NULL* 结束的字符串描述单个条目的内容。 如果这是 ``NULL``,将假定为 "
268+
"``\"B\"`` (无符号字节型)。"
267269

268270
#: ../../c-api/buffer.rst:156
269271
msgid "This field is controlled by the :c:macro:`PyBUF_FORMAT` flag."

c-api/weakref.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -60,6 +60,10 @@ msgid ""
6060
"a weakly referenceable object, or if *callback* is not callable, ``None``, "
6161
"or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
6262
msgstr ""
63+
"返回对象 *ob* 的弱引用对象。 该函数总是会返回一个新的引用,但不保证创建一个新的对象;它有可能返回一个现有的引用对象。 第二个形参 "
64+
"*callback* 可以是一个可调用对象,它会在 *ob* 被作为垃圾回收时接收通知;它应当接受一个单独形参,即弱引用对象本身。 *callback*"
65+
" 也可以是 ``None`` 或 ``NULL``。 如果 *ob* 不是一个弱引用对象,或者如果 *callback* 不是可调用对象, "
66+
"``None`` 或 ``NULL``,该函数将返回 ``NULL`` 并引发 :exc:`TypeError`。"
6367

6468
#: ../../c-api/weakref.rst:44
6569
msgid ""
@@ -73,6 +77,10 @@ msgid ""
7377
" ``None``, or ``NULL``, this will return ``NULL`` and raise "
7478
":exc:`TypeError`."
7579
msgstr ""
80+
"返回对象 *ob* 的弱引用代理对象。 该函数总是会返回一个新的引用,但不保证创建一个新的对象;它有可能返回一个现有的代理对象。 第二个形参 "
81+
"*callback* 可以是一个可调用对象,它会在 *ob* 被作为垃圾回收时接收通知;它应当接受一个单独形参,即弱引用对象本身。 *callback*"
82+
" 也可以是 ``None`` 或 ``NULL``。 如果 *ob* 不是一个弱引用对象,或者如果 *callback* 不是可调用对象, "
83+
"``None`` 或 ``NULL``,该函数将返回 ``NULL`` 并引发 :exc:`TypeError`。"
7684

7785
#: ../../c-api/weakref.rst:56
7886
msgid ""

extending/extending.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -937,6 +937,11 @@ msgid ""
937937
"as referencing uninitialized data --- core dumps, wrong results, mysterious "
938938
"crashes."
939939
msgstr ""
940+
"每个使用 :c:func:`malloc` 分配的内存块最终都应当通过恰好一次对 :c:func:`free` 的调用返回到可用内存池中。 调用 "
941+
":c:func:`free` 的时机非常重要。 如果一个块地址被遗忘而没有为它执行 :c:func:`free` "
942+
"调用,它所占用的内存在程序终结之前将无法被重新使用。 这就称为 :dfn:`内存泄漏`。 另一方面,如果程序为一个块地址调用了 "
943+
":c:func:`free` 然后却继续使用该内存块,它将与通过另一个 :c:func:`malloc` 调用对该内存块的重新使用产生冲突。 这就称为 "
944+
":dfn:`使用已释放的内存`。 它所造成的后果与引用未初始化数据一样糟糕 --- 核心转储、错误结果、意外崩溃等等。"
940945

941946
#: ../../extending/extending.rst:865
942947
msgid ""

extending/newtypes.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -643,6 +643,9 @@ msgid ""
643643
" field. The legacy :c:member:`~PyTypeObject.tp_weaklistoffset` field should "
644644
"be left as zero."
645645
msgstr ""
646+
"对于可被弱引用的对象,扩展类型必须设置 :c:member:`~PyTypeObject.tp_flags` 字段的 "
647+
"``Py_TPFLAGS_MANAGED_WEAKREF`` 比特位。 旧式的 "
648+
":c:member:`~PyTypeObject.tp_weaklistoffset` 字段应当保持为零。"
646649

647650
#: ../../extending/newtypes.rst:553
648651
msgid ""

glossary.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -881,10 +881,12 @@ msgid ""
881881
"for use with :data:`sys.meta_path`, and :term:`path entry finders <path "
882882
"entry finder>` for use with :data:`sys.path_hooks`."
883883
msgstr ""
884+
"存在两种类型的查找器: :term:`元路径查找器 <meta path finder>` 配合 :data:`sys.meta_path` 使用,以及"
885+
" :term:`路径条目查找器 <path entry finder>` 配合 :data:`sys.path_hooks` 使用。"
884886

885887
#: ../../glossary.rst:440
886888
msgid "See :ref:`importsystem` and :mod:`importlib` for much more detail."
887-
msgstr ""
889+
msgstr "请参阅 :ref:`importsystem` 和 :mod:`importlib` 以了解更多细节。"
888890

889891
#: ../../glossary.rst:441
890892
msgid "floor division"

howto/mro.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -492,6 +492,8 @@ msgid ""
492492
"effectively stopping the programmer from generating ambiguous hierarchies. "
493493
"The reason for that is that the C3 algorithm fails when the merge::"
494494
msgstr ""
495+
"作为一般规则,应当避免像上面这样的层级结构,因为不清楚 F 是否应该重写 E,反之亦然。 Python 2.3 通过在创建类 G "
496+
"时引发异常解决了这个歧义性问题,有效地阻止了程序员生成有歧义的层级结构。 其原因是 C3 算法在执行以下合并时将会失败::"
495497

496498
#: ../../howto/mro.rst:437
497499
msgid ""

howto/pyporting.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -60,6 +60,8 @@ msgid ""
6060
"the old guide in the `archive "
6161
"<https://docs.python.org/3.10/howto/pyporting.html>`_."
6262
msgstr ""
63+
"自 Python 3.11 开始原来的移植指南已不再可用。 你可以在 `归档 "
64+
"<https://docs.python.org/3.10/howto/pyporting.html>`_ 中找到这个旧指南。"
6365

6466
#: ../../howto/pyporting.rst:27
6567
msgid "Third-party guides"

library/base64.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -297,6 +297,7 @@ msgid ""
297297
"characters added to it. If this is non-zero, each output line will be at "
298298
"most this many characters long, excluding the trailing newline."
299299
msgstr ""
300+
"*wrapcol* 控制输出是否应当添加换行符 (``b'\\n'``)。 如其为非零值,则每个输出行将只有该值所限定长度的字符数量,不包括末尾换行符。"
300301

301302
#: ../../library/base64.rst:198
302303
msgid ""

library/cmath.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:48+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -79,6 +79,8 @@ msgid ""
7979
"*Cartesian* coordinates. It is completely determined by its *real part* "
8080
"``z.real`` and its *imaginary part* ``z.imag``."
8181
msgstr ""
82+
"Python 复数 ``z`` 是使用 *直角* 或 *笛卡尔* 坐标在内部存储的。 这完全取决于其 *实部* ``z.real`` 及其 *虚部* "
83+
"``z.imag`` 的值。"
8284

8385
#: ../../library/cmath.rst:48
8486
msgid ""
@@ -132,6 +134,8 @@ msgid ""
132134
"Return the complex number *x* with polar coordinates *r* and *phi*. "
133135
"Equivalent to ``complex(r * math.cos(phi), r * math.sin(phi))``."
134136
msgstr ""
137+
"使用极坐标形式 *r* 和 *phi* 返回复数 *x* 的值。 相当于 ``complex(r * math.cos(phi), r * "
138+
"math.sin(phi))``。"
135139

136140
#: ../../library/cmath.rst:94
137141
msgid "Power and logarithmic functions"

0 commit comments

Comments
 (0)