From e61feefd2193f3be1b47039f8e54d8c150ac1b70 Mon Sep 17 00:00:00 2001 From: Bradley Tsai Date: Sun, 22 Oct 2023 11:40:12 +0800 Subject: [PATCH 1/4] translate: rst: 2, 19, 26 --- library/string.po | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/string.po b/library/string.po index e90d211cfe..adb94d9c3a 100644 --- a/library/string.po +++ b/library/string.po @@ -20,7 +20,7 @@ msgstr "" #: ../../library/string.rst:2 msgid ":mod:`string` --- Common string operations" -msgstr "" +msgstr ":mod:`string` --- 常見的字串操作" #: ../../library/string.rst:7 msgid "**Source code:** :source:`Lib/string.py`" @@ -36,7 +36,7 @@ msgstr ":ref:`string-methods`" #: ../../library/string.rst:19 msgid "String constants" -msgstr "" +msgstr "字串常量" #: ../../library/string.rst:21 msgid "The constants defined in this module are:" @@ -48,6 +48,7 @@ msgid "" "`ascii_uppercase` constants described below. This value is not locale-" "dependent." msgstr "" +"下文描述的 :const:`ascii_lowercase` 和 :const:`ascii_uppercase` 的字串串接。該值不依賴於區域。" #: ../../library/string.rst:32 msgid "" From d02d18b533f5146db6079e90aebf864243f7d193 Mon Sep 17 00:00:00 2001 From: Bradley Tsai Date: Sun, 22 Oct 2023 11:47:41 +0800 Subject: [PATCH 2/4] fix: change some terms --- library/string.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/string.po b/library/string.po index adb94d9c3a..a8b0b26d36 100644 --- a/library/string.po +++ b/library/string.po @@ -48,7 +48,7 @@ msgid "" "`ascii_uppercase` constants described below. This value is not locale-" "dependent." msgstr "" -"下文描述的 :const:`ascii_lowercase` 和 :const:`ascii_uppercase` 的字串串接。該值不依賴於區域。" +"下文描述的 :const:`ascii_lowercase` 和 :const:`ascii_uppercase` 常量的串接。該值不依賴於區域。" #: ../../library/string.rst:32 msgid "" From 53f35d1bd57a2d323d8fc7019554574f7ea1128e Mon Sep 17 00:00:00 2001 From: Bradley Tsai Date: Sun, 22 Oct 2023 15:41:42 +0800 Subject: [PATCH 3/4] fix: change the translation of constant --- library/string.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/string.po b/library/string.po index a8b0b26d36..3ac0ac465a 100644 --- a/library/string.po +++ b/library/string.po @@ -36,7 +36,7 @@ msgstr ":ref:`string-methods`" #: ../../library/string.rst:19 msgid "String constants" -msgstr "字串常量" +msgstr "字串常數" #: ../../library/string.rst:21 msgid "The constants defined in this module are:" @@ -48,7 +48,7 @@ msgid "" "`ascii_uppercase` constants described below. This value is not locale-" "dependent." msgstr "" -"下文描述的 :const:`ascii_lowercase` 和 :const:`ascii_uppercase` 常量的串接。該值不依賴於區域。" +"下文描述的 :const:`ascii_lowercase` 和 :const:`ascii_uppercase` 常數的串接。該值不依賴於區域。" #: ../../library/string.rst:32 msgid "" From 89bd3456d789fbf66555d653d0cd477546af85d1 Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Sun, 22 Oct 2023 20:57:05 +0800 Subject: [PATCH 4/4] Apply suggestions from code review --- library/string.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/string.po b/library/string.po index 3ac0ac465a..2a775e8562 100644 --- a/library/string.po +++ b/library/string.po @@ -48,7 +48,7 @@ msgid "" "`ascii_uppercase` constants described below. This value is not locale-" "dependent." msgstr "" -"下文描述的 :const:`ascii_lowercase` 和 :const:`ascii_uppercase` 常數的串接。該值不依賴於區域。" +"下文描述的 :const:`ascii_lowercase` 和 :const:`ascii_uppercase` 常數的串接,該值不依賴於區域設定。" #: ../../library/string.rst:32 msgid ""