From 9c6274c5c84f9b64beced4fdf72b8a7edde4ba9c Mon Sep 17 00:00:00 2001 From: Vina Chang Date: Sun, 22 Oct 2023 11:15:11 +0800 Subject: [PATCH 1/3] translate library/string.rst:478 & 481 --- library/string.po | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/library/string.po b/library/string.po index e90d211cfe..d529d32398 100644 --- a/library/string.po +++ b/library/string.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-17 17:39+0800\n" -"PO-Revision-Date: 2018-05-23 16:11+0000\n" +"PO-Revision-Date: 2023-10-22 11:05+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -17,6 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 3.4\n" #: ../../library/string.rst:2 msgid ":mod:`string` --- Common string operations" @@ -647,7 +648,7 @@ msgstr "``'x'``" msgid "" "Hex format. Outputs the number in base 16, using lower-case letters for the " "digits above 9." -msgstr "" +msgstr "十六進位格式。輸出以 16 為基數的數字,9 以上的數字使用小寫字母。" #: ../../library/string.rst:481 msgid "``'X'``" @@ -659,6 +660,8 @@ msgid "" "digits above 9. In case ``'#'`` is specified, the prefix ``'0x'`` will be " "upper-cased to ``'0X'`` as well." msgstr "" +"十六進位格式。輸出以 16 為基數的數字,9以上的數字使用大寫字母。如果指定了" +"``’#’``,則前綴 ``’0x’`` 也會被轉成大寫的 ``’0x’``。" #: ../../library/string.rst:486 ../../library/string.rst:570 msgid "``'n'``" From 71d5003636323c9f23f05d4a9671976e20369f68 Mon Sep 17 00:00:00 2001 From: Vina Chang Date: Sun, 22 Oct 2023 11:50:17 +0800 Subject: [PATCH 2/3] add space between chinese character and english character --- library/string.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/string.po b/library/string.po index d529d32398..37c810fb9f 100644 --- a/library/string.po +++ b/library/string.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-17 17:39+0800\n" -"PO-Revision-Date: 2023-10-22 11:05+0800\n" +"PO-Revision-Date: 2023-10-22 11:49+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -660,8 +660,8 @@ msgid "" "digits above 9. In case ``'#'`` is specified, the prefix ``'0x'`` will be " "upper-cased to ``'0X'`` as well." msgstr "" -"十六進位格式。輸出以 16 為基數的數字,9以上的數字使用大寫字母。如果指定了" -"``’#’``,則前綴 ``’0x’`` 也會被轉成大寫的 ``’0x’``。" +"十六進位格式。輸出以 16 為基數的數字,9 以上的數字使用大寫字母。如果指定了" +"``’#’``,則前綴 ``’0x’`` 也會被轉成大寫的 ``’0X’``。" #: ../../library/string.rst:486 ../../library/string.rst:570 msgid "``'n'``" From 2957c6a2fd9cc9ee80568d764d4892d8dc684318 Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Sun, 22 Oct 2023 11:52:10 +0800 Subject: [PATCH 3/3] Update library/string.po --- library/string.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/string.po b/library/string.po index 37c810fb9f..1adba22282 100644 --- a/library/string.po +++ b/library/string.po @@ -661,7 +661,7 @@ msgid "" "upper-cased to ``'0X'`` as well." msgstr "" "十六進位格式。輸出以 16 為基數的數字,9 以上的數字使用大寫字母。如果指定了" -"``’#’``,則前綴 ``’0x’`` 也會被轉成大寫的 ``’0X’``。" +"``'#'``,則前綴 ``'0x'`` 也會被轉成大寫的 ``'0X'``。" #: ../../library/string.rst:486 ../../library/string.rst:570 msgid "``'n'``"