Skip to content

Commit 98b5eea

Browse files
Copilotmattwang44
andauthored
Translate c-api/hash.po to Traditional Chinese (#1122)
Co-authored-by: mattwang44 <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
1 parent c9f4af1 commit 98b5eea

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

c-api/hash.po

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2001-2024, Python Software Foundation
1+
# Copyright (C) 2001-2025, Python Software Foundation
22
# This file is distributed under the same license as the Python package.
33
#
44
# Translators:
@@ -39,22 +39,24 @@ msgid ""
3939
"The `Mersenne prime <https://en.wikipedia.org/wiki/Mersenne_prime>`_ ``P = "
4040
"2**n -1``, used for numeric hash scheme."
4141
msgstr ""
42+
"用於數值雜湊方案的\\ `梅森質數 (Mersenne prime) <https://en.wikipedia.org/"
43+
"wiki/Mersenne_prime>`_ ``P = 2**n -1``。"
4244

4345
#: ../../c-api/hash.rst:28
4446
msgid "The exponent ``n`` of ``P`` in :c:macro:`PyHASH_MODULUS`."
45-
msgstr ""
47+
msgstr ":c:macro:`PyHASH_MODULUS` 中 ``P`` 的指數 ``n``。"
4648

4749
#: ../../c-api/hash.rst:34
4850
msgid "Prime multiplier used in string and various other hashes."
49-
msgstr ""
51+
msgstr "用於字串和其他各種雜湊的質數乘數 (prime multiplier)。"
5052

5153
#: ../../c-api/hash.rst:40
5254
msgid "The hash value returned for a positive infinity."
53-
msgstr ""
55+
msgstr "正無窮大回傳的雜湊值。"
5456

5557
#: ../../c-api/hash.rst:46
5658
msgid "The multiplier used for the imaginary part of a complex number."
57-
msgstr ""
59+
msgstr "用於複數虛數部分的乘數。"
5860

5961
#: ../../c-api/hash.rst:52
6062
msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`."
@@ -87,17 +89,21 @@ msgid ""
8789
"Hash a pointer value: process the pointer value as an integer (cast it to "
8890
"``uintptr_t`` internally). The pointer is not dereferenced."
8991
msgstr ""
92+
"雜湊指標值:將指標值作為整數處理(在內部轉型為 ``uintptr_t``)。指標不會被取"
93+
"值 (dereference)。"
9094

9195
#: ../../c-api/hash.rst:88
9296
msgid "The function cannot fail: it cannot return ``-1``."
93-
msgstr ""
97+
msgstr "此函式不會失敗:它不會回傳 ``-1``。"
9498

9599
#: ../../c-api/hash.rst:94
96100
msgid ""
97101
"Generic hashing function that is meant to be put into a type object's "
98102
"``tp_hash`` slot. Its result only depends on the object's identity."
99103
msgstr ""
104+
"泛用雜湊函式,旨在放入型別物件的 ``tp_hash`` 插槽中。其結果僅取決於物件的識別"
105+
"性。"
100106

101107
#: ../../c-api/hash.rst:99
102108
msgid "In CPython, it is equivalent to :c:func:`Py_HashPointer`."
103-
msgstr ""
109+
msgstr "在 CPython 中,它等價於 :c:func:`Py_HashPointer`。"

0 commit comments

Comments
 (0)