Skip to content

Translate c-api/hash.po to Traditional Chinese #1122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions c-api/hash.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2001-2024, Python Software Foundation
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
Expand Down Expand Up @@ -39,22 +39,24 @@ msgid ""
"The `Mersenne prime <https://en.wikipedia.org/wiki/Mersenne_prime>`_ ``P = "
"2**n -1``, used for numeric hash scheme."
msgstr ""
"用於數值雜湊方案的\\ `梅森質數 (Mersenne prime) <https://en.wikipedia.org/"
"wiki/Mersenne_prime>`_ ``P = 2**n -1``。"

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

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

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

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

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

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

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

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