Skip to content

Commit 3304749

Browse files
[po] auto sync
1 parent ef3d5fa commit 3304749

21 files changed

+3351
-4045
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.78%", "updated_at": "2025-05-30T14:55:47Z"}
1+
{"translation": "81.68%", "updated_at": "2025-05-30T15:55:35Z"}

c-api/allocation.po

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001 Python Software Foundation
2+
# Copyright (C) 2001-2025, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# 强 陈 <lxchenqiang@163.com>, 2021
8-
# Sonny <758896823@qq.com>, 2021
9-
# Naisen Xu <723648649@qq.com>, 2021
10-
# Freesand Leo <yuqinju@163.com>, 2025
11-
# 汇民 王 <whuim@qq.com>, 2025
7+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
128
#
139
#, fuzzy
1410
msgid ""
1511
msgstr ""
16-
"Project-Id-Version: Python 3.14\n"
12+
"Project-Id-Version: Python 3.13\n"
1713
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2025-05-08 02:53-0300\n"
19-
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
20-
"Last-Translator: 汇民 王 <whuim@qq.com>, 2025\n"
14+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
15+
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
2117
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2218
"MIME-Version: 1.0\n"
2319
"Content-Type: text/plain; charset=UTF-8\n"
@@ -91,21 +87,29 @@ msgstr ""
9187
":c:func:`PyObject_GC_NewVar`。"
9288

9389
#: ../../c-api/allocation.rst:63
94-
msgid "Same as :c:func:`PyObject_Free`."
95-
msgstr "与:c:func:`PyObject_Free` 相同。"
90+
msgid ""
91+
"Releases memory allocated to an object using :c:macro:`PyObject_New` or "
92+
":c:macro:`PyObject_NewVar`. This is normally called from the "
93+
":c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type."
94+
" The fields of the object should not be accessed after this call as the "
95+
"memory is no longer a valid Python object."
96+
msgstr ""
97+
"释放使用 :c:macro:`PyObject_New` 或 :c:macro:`PyObject_NewVar` 分配给一个对象的内存。 "
98+
"这通常由在对象的类型中指定的 :c:member:`~PyTypeObject.tp_dealloc` 处理器来调用。 "
99+
"在此调用之后该对象中的字段不应再被访问因为原来的内存已不再是一个有效的 Python 对象。"
96100

97-
#: ../../c-api/allocation.rst:67
101+
#: ../../c-api/allocation.rst:72
98102
msgid ""
99103
"Object which is visible in Python as ``None``. This should only be accessed"
100104
" using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
101105
"object."
102106
msgstr ""
103107
"这个对象是像 ``None`` 一样的 Python 对象。它可以使用 :c:macro:`Py_None` 宏访问,该宏的拿到指向该对象的指针。"
104108

105-
#: ../../c-api/allocation.rst:74
106-
msgid ":c:func:`PyModule_Create`"
107-
msgstr ":c:func:`PyModule_Create`"
109+
#: ../../c-api/allocation.rst:79
110+
msgid ":ref:`moduleobjects`"
111+
msgstr ""
108112

109-
#: ../../c-api/allocation.rst:75
113+
#: ../../c-api/allocation.rst:80
110114
msgid "To allocate and create extension modules."
111115
msgstr "分配内存和创建扩展模块"

c-api/code.po

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
8-
# Xu Siyuan, 2024
9-
# Alpha Du <alphanow@gmail.com>, 2024
10-
# CommonZ <zyyzcode@outlook.com>, 2024
11-
# Freesand Leo <yuqinju@163.com>, 2025
7+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
128
#
139
#, fuzzy
1410
msgid ""
1511
msgstr ""
1612
"Project-Id-Version: Python 3.13\n"
1713
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2025-01-17 14:16+0000\n"
19-
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
20-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
14+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
15+
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
2117
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2218
"MIME-Version: 1.0\n"
2319
"Content-Type: text/plain; charset=UTF-8\n"
@@ -248,12 +244,10 @@ msgstr "代码对象监视器回调函数的类型。"
248244
#: ../../c-api/code.rst:184
249245
msgid ""
250246
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
251-
"`co` has been fully initialized. Otherwise, the callback is invoked before "
247+
"*co* has been fully initialized. Otherwise, the callback is invoked before "
252248
"the destruction of *co* takes place, so the prior state of *co* can be "
253249
"inspected."
254250
msgstr ""
255-
"如果 *event* 为 ``PY_CODE_EVENT_CREATE`` ,则回调会在 `co` 完全初始化后被唤起。 否则,回调会在 *co* "
256-
"执行销毁之前被唤起,这样就可以检查 *co* 之前的状态。"
257251

258252
#: ../../c-api/code.rst:189
259253
msgid ""

c-api/function.po

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Kade For, 2021
8-
# Alpha Du <alphanow@gmail.com>, 2021
9-
# allenjuly7 <allenjuly7@astu.fun>, 2021
10-
# Josh Ouyang <me@joshoy.org>, 2021
11-
# Freesand Leo <yuqinju@163.com>, 2025
7+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
128
#
139
#, fuzzy
1410
msgid ""
1511
msgstr ""
1612
"Project-Id-Version: Python 3.13\n"
1713
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2025-02-21 14:16+0000\n"
19-
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
20-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
14+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
15+
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
2117
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2218
"MIME-Version: 1.0\n"
2319
"Content-Type: text/plain; charset=UTF-8\n"
@@ -230,17 +226,14 @@ msgstr "该回调可以检查但不能修改 *func*; 这样做可能具有不可
230226
#: ../../c-api/function.rst:171
231227
msgid ""
232228
"If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked "
233-
"after `func` has been fully initialized. Otherwise, the callback is invoked "
229+
"after *func* has been fully initialized. Otherwise, the callback is invoked "
234230
"before the modification to *func* takes place, so the prior state of *func* "
235231
"can be inspected. The runtime is permitted to optimize away the creation of "
236232
"function objects when possible. In such cases no event will be emitted. "
237233
"Although this creates the possibility of an observable difference of runtime"
238234
" behavior depending on optimization decisions, it does not change the "
239235
"semantics of the Python code being executed."
240236
msgstr ""
241-
"如果 *event* 是 ``PyFunction_EVENT_CREATE``,则该回调会在 `func` 完成初始化之后被唤起。 "
242-
"在其他情况下,该回调会在对 *func* 进行修改之前被唤起,这样就可以检查 *func* 之前的状态。 如有可能函数对象的创建允许被运行时优化掉。 "
243-
"在此情况下将不发出任何事件。 虽然根据不同的优化决定这会产生可被观察到的运行时行为变化,但是它不会改变被运行的 Python 代码的语义。"
244237

245238
#: ../../c-api/function.rst:180
246239
msgid ""

0 commit comments

Comments
 (0)