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

Skip to content

Commit 15d2339

Browse files
[po] auto sync
1 parent 20bad48 commit 15d2339

24 files changed

Lines changed: 1013 additions & 1146 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.08%", "updated_at": "2024-05-30T16:47:04Z"}
1+
{"translation": "94.94%", "updated_at": "2024-05-31T15:47:32Z"}

c-api/buffer.po

Lines changed: 2 additions & 4 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-11 19:07+0000\n"
14+
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -260,12 +260,10 @@ msgstr ""
260260

261261
#: ../../c-api/buffer.rst:152
262262
msgid ""
263-
"A *NUL* terminated string in :mod:`struct` module style syntax describing "
263+
"A *NULL* terminated string in :mod:`struct` module style syntax describing "
264264
"the contents of a single item. If this is ``NULL``, ``\"B\"`` (unsigned "
265265
"bytes) is assumed."
266266
msgstr ""
267-
"在 :mod:`struct` 模块样式语法中 *NUL* 字符串,描述单个项的内容。如果这是 ``NULL``,则假定为 ``\"B\"`` "
268-
"(无符号字节) 。"
269267

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

c-api/weakref.po

Lines changed: 23 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Xu Siyuan, 2021
8-
# Freesand Leo <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2024
98
#
109
#, fuzzy
1110
msgid ""
1211
msgstr ""
13-
"Project-Id-Version: Python 3.13\n"
12+
"Project-Id-Version: Python 3.12\n"
1413
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-05-10 22:05-0300\n"
16-
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
14+
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
15+
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1817
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=UTF-8\n"
@@ -37,20 +36,18 @@ msgstr ""
3736

3837
#: ../../c-api/weakref.rst:16
3938
msgid ""
40-
"Return non-zero if *ob* is either a reference or proxy object. This "
41-
"function always succeeds."
42-
msgstr ""
39+
"Return true if *ob* is either a reference or proxy object. This function "
40+
"always succeeds."
41+
msgstr "如果 *ob* 是一个引用或代理对象则返回真值。 此函数总是会成功执行。"
4342

4443
#: ../../c-api/weakref.rst:22
4544
msgid ""
46-
"Return non-zero if *ob* is a reference object. This function always "
47-
"succeeds."
48-
msgstr ""
45+
"Return true if *ob* is a reference object. This function always succeeds."
46+
msgstr "如果 *ob* 是一个引用对象则返回真值。 此函数总是会成功执行。"
4947

5048
#: ../../c-api/weakref.rst:27
51-
msgid ""
52-
"Return non-zero if *ob* is a proxy object. This function always succeeds."
53-
msgstr ""
49+
msgid "Return true if *ob* is a proxy object. This function always succeeds."
50+
msgstr "如果 *ob* 是一个代理对象则返回真值。 此函数总是会成功执行。"
5451

5552
#: ../../c-api/weakref.rst:32
5653
msgid ""
@@ -60,13 +57,9 @@ msgid ""
6057
"a callable object that receives notification when *ob* is garbage collected;"
6158
" it should accept a single parameter, which will be the weak reference "
6259
"object itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not "
63-
"a weakly referencable object, or if *callback* is not callable, ``None``, or"
64-
" ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
60+
"a weakly referenceable object, or if *callback* is not callable, ``None``, "
61+
"or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
6562
msgstr ""
66-
"返回对象 *ob* 的一个弱引用对象。 该函数总是会返回一个新引用,但不保证创建一个新的对象;它有可能返回一个现有的引用对象。 第二个形参 "
67-
"*callback* 可以是一个可调用对象,它会在 *ob* 被作为垃圾回收时接收通知;它应当接受一个单独形参,即弱引用对象本身。 *callback*"
68-
" 也可以为 ``None`` 或 ``NULL``。 如果 *ob* 不是一个弱引用对象,或者如果 *callback* "
69-
"不是可调用对象、``None`` 或 ``NULL``,则该函数将返回 ``NULL`` 并引发 :exc:`TypeError`。"
7063

7164
#: ../../c-api/weakref.rst:44
7265
msgid ""
@@ -76,41 +69,18 @@ msgid ""
7669
"can be a callable object that receives notification when *ob* is garbage "
7770
"collected; it should accept a single parameter, which will be the weak "
7871
"reference object itself. *callback* may also be ``None`` or ``NULL``. If "
79-
"*ob* is not a weakly referencable object, or if *callback* is not callable, "
80-
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
72+
"*ob* is not a weakly referenceable object, or if *callback* is not callable,"
73+
" ``None``, or ``NULL``, this will return ``NULL`` and raise "
74+
":exc:`TypeError`."
8175
msgstr ""
82-
"返回对象 *ob* 的一个弱引用代理对象。 该函数将总是返回一个新的引用,但不保证创建一个新的对象;它有可能返回一个现有的代理对象。 第二个形参 "
83-
"*callback* 可以是一个可调用对象,它会在 *ob* 被作为垃圾回收时接收通敌;它应当接受一个单独形参,即弱引用对象本身。 *callback*"
84-
" 也可以为 ``None`` 或 ``NULL``。 如果 *ob* 不是一个弱引用对象,或者如果 *callback* "
85-
"不是可调用对象、``None`` 或 ``NULL``,则该函数将返回 ``NULL`` 并引发 :exc:`TypeError`。"
8676

8777
#: ../../c-api/weakref.rst:56
8878
msgid ""
89-
"Get a :term:`strong reference` to the referenced object from a weak "
90-
"reference, *ref*, into *\\*pobj*."
91-
msgstr ""
92-
93-
#: ../../c-api/weakref.rst:59
94-
msgid ""
95-
"On success, set *\\*pobj* to a new :term:`strong reference` to the "
96-
"referenced object and return 1."
97-
msgstr ""
79+
"Return the referenced object from a weak reference, *ref*. If the referent "
80+
"is no longer live, returns ``Py_None``."
81+
msgstr "返回弱引用 *ref* 的被引用对象。 如果被引用对象不再存在,则返回 ``Py_None``。"
9882

9983
#: ../../c-api/weakref.rst:61
100-
msgid "If the reference is dead, set *\\*pobj* to ``NULL`` and return 0."
101-
msgstr ""
102-
103-
#: ../../c-api/weakref.rst:62
104-
msgid "On error, raise an exception and return -1."
105-
msgstr ""
106-
107-
#: ../../c-api/weakref.rst:69
108-
msgid ""
109-
"Return a :term:`borrowed reference` to the referenced object from a weak "
110-
"reference, *ref*. If the referent is no longer live, returns ``Py_None``."
111-
msgstr ""
112-
113-
#: ../../c-api/weakref.rst:74
11484
msgid ""
11585
"This function returns a :term:`borrowed reference` to the referenced object."
11686
" This means that you should always call :c:func:`Py_INCREF` on the object "
@@ -120,21 +90,17 @@ msgstr ""
12090
"该函数返回被引用对象的一个 :term:`borrowed reference`。 这意味着应该总是在该对象上调用 "
12191
":c:func:`Py_INCREF`,除非是当它在借入引用的最后一次被使用之前无法被销毁的时候。"
12292

123-
#: ../../c-api/weakref.rst:80 ../../c-api/weakref.rst:88
124-
msgid "Use :c:func:`PyWeakref_GetRef` instead."
125-
msgstr ""
126-
127-
#: ../../c-api/weakref.rst:85
93+
#: ../../c-api/weakref.rst:69
12894
msgid "Similar to :c:func:`PyWeakref_GetObject`, but does no error checking."
12995
msgstr "类似于 :c:func:`PyWeakref_GetObject`,但是不带错误检测。"
13096

131-
#: ../../c-api/weakref.rst:93
97+
#: ../../c-api/weakref.rst:74
13298
msgid ""
13399
"This function is called by the :c:member:`~PyTypeObject.tp_dealloc` handler "
134100
"to clear weak references."
135101
msgstr "此函数将被 :c:member:`~PyTypeObject.tp_dealloc` 处理器调用以清空弱引用。"
136102

137-
#: ../../c-api/weakref.rst:96
103+
#: ../../c-api/weakref.rst:77
138104
msgid ""
139105
"This iterates through the weak references for *object* and calls callbacks "
140106
"for those references which have one. It returns when all callbacks have been"

0 commit comments

Comments
 (0)