From 0613e3ead776c630af0b280e139393481fb604ec Mon Sep 17 00:00:00 2001 From: Matt Wang Date: Tue, 30 Apr 2024 02:31:27 +0800 Subject: [PATCH 1/2] feat: translate `c-api/hash.po` --- c-api/hash.po | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/c-api/hash.po b/c-api/hash.po index bf46c8c664..20dbe02594 100644 --- a/c-api/hash.po +++ b/c-api/hash.po @@ -1,17 +1,17 @@ -# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. -# FIRST AUTHOR , YEAR. # -#, fuzzy +# Translators: +# Matt Wang , 2024 msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-02-18 00:03+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2024-04-30 00:20+0800\n" +"Last-Translator: Matt Wang \n" +"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" +"tw)\n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,40 +19,42 @@ msgstr "" #: ../../c-api/hash.rst:4 msgid "PyHash API" -msgstr "" +msgstr "PyHash API" #: ../../c-api/hash.rst:6 msgid "See also the :c:member:`PyTypeObject.tp_hash` member." -msgstr "" +msgstr "另請參閱 :c:member:`PyTypeObject.tp_hash` 成員。" #: ../../c-api/hash.rst:10 msgid "Hash value type: signed integer." -msgstr "" +msgstr "雜湊值型別:有符號整數。" #: ../../c-api/hash.rst:16 msgid "Hash value type: unsigned integer." -msgstr "" +msgstr "雜湊值型別:無符號整數。" #: ../../c-api/hash.rst:23 msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`." -msgstr "" +msgstr ":c:func:`PyHash_GetFuncDef` 所使用的雜湊函式定義。" #: ../../c-api/hash.rst:31 msgid "Hash function name (UTF-8 encoded string)." -msgstr "" +msgstr "雜湊函式名稱(UTF-8 編碼字串)。" #: ../../c-api/hash.rst:35 msgid "Internal size of the hash value in bits." -msgstr "" +msgstr "雜湊值的內部大小(以位元為單位)。" #: ../../c-api/hash.rst:39 msgid "Size of seed input in bits." -msgstr "" +msgstr "Seed 輸入的大小(以位元為單位)。" #: ../../c-api/hash.rst:46 msgid "Get the hash function definition." -msgstr "" +msgstr "取得雜湊函式定義。" #: ../../c-api/hash.rst:49 msgid ":pep:`456` \"Secure and interchangeable hash algorithm\"." msgstr "" +":pep:`456`\\ 「安全且可交替的雜湊演算法 (Secure and interchangeable hash " +"algorithm)」。" From 232088fe27bd4e69fc10865619a8083f460f0661 Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Wed, 8 May 2024 10:37:19 +0800 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Payon --- c-api/hash.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/hash.po b/c-api/hash.po index 20dbe02594..543ff1d4b4 100644 --- a/c-api/hash.po +++ b/c-api/hash.po @@ -56,5 +56,5 @@ msgstr "取得雜湊函式定義。" #: ../../c-api/hash.rst:49 msgid ":pep:`456` \"Secure and interchangeable hash algorithm\"." msgstr "" -":pep:`456`\\ 「安全且可交替的雜湊演算法 (Secure and interchangeable hash " +":pep:`456`\\ 「安全且可交替使用的雜湊演算法 (Secure and interchangeable hash " "algorithm)」。"