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

Skip to content

Commit aa26c89

Browse files
[po] auto sync
1 parent 28b1e7b commit aa26c89

File tree

8 files changed

+1003
-918
lines changed

8 files changed

+1003
-918
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "77.30%", "updated_at": "2025-05-09T11:55:53Z"}
1+
{"translation": "77.32%", "updated_at": "2025-05-09T13:05:49Z"}

c-api/hash.po

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2024, Python Software Foundation
2+
# Copyright (C) 2001 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:
77
# Nyuan Zhang, 2024
88
# Freesand Leo <[email protected]>, 2024
9+
# 汇民 王 <[email protected]>, 2025
910
#
1011
#, fuzzy
1112
msgid ""
1213
msgstr ""
13-
"Project-Id-Version: Python 3.13\n"
14+
"Project-Id-Version: Python 3.14\n"
1415
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-10-11 14:17+0000\n"
16+
"POT-Creation-Date: 2025-05-08 02:53-0300\n"
1617
"PO-Revision-Date: 2024-02-23 14:15+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
18+
"Last-Translator: 汇民 王 <whuim@qq.com>, 2025\n"
1819
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -98,12 +99,40 @@ msgstr "对指针值执行哈希运算:将指针值作为整数来处理(在
9899
msgid "The function cannot fail: it cannot return ``-1``."
99100
msgstr "此函数不会失败:它不可能返回 ``-1``。"
100101

101-
#: ../../c-api/hash.rst:94
102+
#: ../../c-api/hash.rst:95
103+
msgid ""
104+
"Compute and return the hash value of a buffer of *len* bytes starting at "
105+
"address *ptr*. The hash is guaranteed to match that of :class:`bytes`, "
106+
":class:`memoryview`, and other built-in objects that implement the "
107+
":ref:`buffer protocol <bufferobjects>`."
108+
msgstr ""
109+
"计算并返回从地址 *ptr* 开始的 *len* "
110+
"字节缓冲区的哈希值。哈希保证与:class:`bytes`、:class:`memoryview`和其他实现 :ref:`buffer "
111+
"protocol<bufferobjects>`的内置对象的哈希匹配。"
112+
113+
#: ../../c-api/hash.rst:100
114+
msgid ""
115+
"Use this function to implement hashing for immutable objects whose "
116+
":c:member:`~PyTypeObject.tp_richcompare` function compares to another "
117+
"object's buffer."
118+
msgstr ""
119+
"使用此函数为不可变对象实现哈希,这些对象的 "
120+
":c:member:`~PyTypeObject.tp_richcompare`函数会与另一个对象的缓冲区进行比较。"
121+
122+
#: ../../c-api/hash.rst:104
123+
msgid "*len* must be greater than or equal to ``0``."
124+
msgstr "*len* 必须大于或等于``0`` 。"
125+
126+
#: ../../c-api/hash.rst:106
127+
msgid "This function always succeeds."
128+
msgstr "这个函数总是能够成功执行。"
129+
130+
#: ../../c-api/hash.rst:113
102131
msgid ""
103132
"Generic hashing function that is meant to be put into a type object's "
104133
"``tp_hash`` slot. Its result only depends on the object's identity."
105134
msgstr "将会被放入类型对象的 ``tp_hash`` 槽位的泛型哈希函数。 其结果值仅取决于对象的标识号。"
106135

107-
#: ../../c-api/hash.rst:99
136+
#: ../../c-api/hash.rst:118
108137
msgid "In CPython, it is equivalent to :c:func:`Py_HashPointer`."
109138
msgstr "在 CPython 中,它等价于 :c:func:`Py_HashPointer`。"

0 commit comments

Comments
 (0)