Skip to content

Commit 0015277

Browse files
[po] auto sync
1 parent 961ae5b commit 0015277

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+13469
-7699
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.82%", "updated_at": "2024-10-16T15:55:53Z"}
1+
{"translation": "94.43%", "updated_at": "2024-11-27T06:57:22Z"}

c-api/allocation.po

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2024-10-04 14:17+0000\n"
17+
"POT-Creation-Date: 2024-11-08 14:16+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1919
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -31,21 +31,17 @@ msgstr "在堆上分配对象"
3131
#: ../../c-api/allocation.rst:17
3232
msgid ""
3333
"Initialize a newly allocated object *op* with its type and initial "
34-
"reference. Returns the initialized object. If *type* indicates that the "
35-
"object participates in the cyclic garbage detector, it is added to the "
36-
"detector's set of observed objects. Other fields of the object are not "
37-
"affected."
38-
msgstr ""
39-
"用它的类型和初始引用来初始化新分配对象 *op*。返回已初始化的对象。如果 *type* 明该对象参与循环垃圾检测器,则将其添加到检测器的观察对象集中。"
40-
" 对象的其他字段不受影响。"
34+
"reference. Returns the initialized object. Other fields of the object are "
35+
"not affected."
36+
msgstr "为新分配的对象 *op* 初始化它的类型和初始引用。 返回初始化后的对象。 对象的其他字段不会被影响。"
4137

42-
#: ../../c-api/allocation.rst:26
38+
#: ../../c-api/allocation.rst:24
4339
msgid ""
4440
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
4541
"length information for a variable-size object."
4642
msgstr "它的功能和 :c:func:`PyObject_Init` 一样,并且会初始化变量大小对象的长度信息。"
4743

48-
#: ../../c-api/allocation.rst:32
44+
#: ../../c-api/allocation.rst:30
4945
msgid ""
5046
"Allocate a new Python object using the C structure type *TYPE* and the "
5147
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -58,7 +54,7 @@ msgstr ""
5854
"对象。 f未在该 Python 对象标头中定义的字段不会被初始化。 调用方将拥有对该对象的唯一引用(即引用计数将为 1)。 内存分配的大小由类型对象的 "
5955
":c:member:`~PyTypeObject.tp_basicsize` 字段决定。"
6056

61-
#: ../../c-api/allocation.rst:43
57+
#: ../../c-api/allocation.rst:41
6258
msgid ""
6359
"Allocate a new Python object using the C structure type *TYPE* and the "
6460
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -75,7 +71,7 @@ msgstr ""
7571
":c:member:`~PyTypeObject.tp_itemsize` 字段所给出的 *size* (``Py_ssize_t``) 个字段。 "
7672
"这对于实现像元组这样能够在构造时确定其大小的对象来说很有用。 将字段数组嵌入到相同的内在分配中可减少内存分配的次数,这提高了内存管理效率。"
7773

78-
#: ../../c-api/allocation.rst:57
74+
#: ../../c-api/allocation.rst:55
7975
msgid ""
8076
"Releases memory allocated to an object using :c:macro:`PyObject_New` or "
8177
":c:macro:`PyObject_NewVar`. This is normally called from the "
@@ -87,18 +83,18 @@ msgstr ""
8783
"这通常由在对象的类型中指定的 :c:member:`~PyTypeObject.tp_dealloc` 处理器来调用。 "
8884
"在此调用之后该对象中的字段不应再被访问因为原来的内存已不再是一个有效的 Python 对象。"
8985

90-
#: ../../c-api/allocation.rst:66
86+
#: ../../c-api/allocation.rst:64
9187
msgid ""
9288
"Object which is visible in Python as ``None``. This should only be accessed"
9389
" using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
9490
"object."
9591
msgstr ""
9692
"这个对象是像 ``None`` 一样的 Python 对象。它可以使用 :c:macro:`Py_None` 宏访问,该宏的拿到指向该对象的指针。"
9793

98-
#: ../../c-api/allocation.rst:73
94+
#: ../../c-api/allocation.rst:71
9995
msgid ":c:func:`PyModule_Create`"
10096
msgstr ":c:func:`PyModule_Create`"
10197

102-
#: ../../c-api/allocation.rst:74
98+
#: ../../c-api/allocation.rst:72
10399
msgid "To allocate and create extension modules."
104100
msgstr "分配内存和创建扩展模块"

c-api/init.po

Lines changed: 434 additions & 373 deletions
Large diffs are not rendered by default.

c-api/long.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
# Zombie110year <zombie110year@gmail.com>, 2024
1414
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
1515
# 稀饭~~ <wangwhai@qq.com>, 2024
16-
# Wulian233 <xiguawulian@gmail.com>, 2024
16+
# lian Wu (Wulian) <xiguawulian@gmail.com>, 2024
1717
# Freesand Leo <yuqinju@163.com>, 2024
1818
#
1919
#, fuzzy
2020
msgid ""
2121
msgstr ""
2222
"Project-Id-Version: Python 3.13\n"
2323
"Report-Msgid-Bugs-To: \n"
24-
"POT-Creation-Date: 2024-10-04 14:17+0000\n"
24+
"POT-Creation-Date: 2024-11-12 08:36+0000\n"
2525
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
2626
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2727
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -631,11 +631,11 @@ msgstr ""
631631
#: ../../c-api/long.rst:456
632632
msgid ""
633633
"*flags* is either ``-1`` (``Py_ASNATIVEBYTES_DEFAULTS``) to select defaults "
634-
"that behave most like a C cast, or a combintation of the other flags in the "
634+
"that behave most like a C cast, or a combination of the other flags in the "
635635
"table below. Note that ``-1`` cannot be combined with other flags."
636636
msgstr ""
637637
"*flags* 可以是 ``-1`` (``Py_ASNATIVEBYTES_DEFAULTS``) 表示选择最接近 C "
638-
"强制转换类型的行为,或是下表中其他旗标的组合。 请注意 ``-1`` 不能与其他旗标组合使用。"
638+
"强制转换类型的默认行为,或是下表中其他旗标的组合。 请注意 ``-1`` 不能与其他旗标组合使用。"
639639

640640
#: ../../c-api/long.rst:461
641641
msgid ""
@@ -785,13 +785,13 @@ msgid ""
785785
"is subject to change."
786786
msgstr "具体有哪些值会被视为紧凑形式属于实现细节并可能发生改变。"
787787

788-
#: ../../c-api/long.rst:543
788+
#: ../../c-api/long.rst:546
789789
msgid ""
790790
"If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`, "
791791
"return its value."
792792
msgstr "如果 *op* 为紧凑形式,如 :c:func:`PyUnstable_Long_IsCompact` 所确定的,则返回它的值。"
793793

794-
#: ../../c-api/long.rst:546
794+
#: ../../c-api/long.rst:549
795795
msgid "Otherwise, the return value is undefined."
796796
msgstr "在其他情况下,返回值是未定义的。"
797797

c-api/monitoring.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-10-11 14:17+0000\n"
16+
"POT-Creation-Date: 2024-11-12 08:36+0000\n"
1717
"PO-Revision-Date: 2024-05-11 01:07+0000\n"
1818
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -208,11 +208,11 @@ msgstr ""
208208
msgid ""
209209
"The ``version`` argument is a pointer to a value which should be allocated "
210210
"by the user together with ``state_array`` and initialized to 0, and then set"
211-
" only by :c:func:`!PyMonitoring_EnterScope` itelf. It allows this function "
211+
" only by :c:func:`!PyMonitoring_EnterScope` itself. It allows this function "
212212
"to determine whether event states have changed since the previous call, and "
213213
"to return quickly if they have not."
214214
msgstr ""
215-
"``version`` 参数是一个指向应与 ``state_array`` 由用户一起分配的值的指针并初始化为 0,并仅由 "
215+
"``version`` 是一个指向应与 ``state_array`` 一起由用户分配的值并初始化为 0,然后仅由 "
216216
":c:func:`!PyMonitoring_EnterScope` 本身来设置。 "
217217
"它允许此函数确定事件状态自上次调用以来是否发生改变,并在它们未改变时立即返回。"
218218

0 commit comments

Comments
 (0)