From 9b7474d9866d346ccc1155fbcc352d5c5b2d1fa7 Mon Sep 17 00:00:00 2001 From: hannahlo Date: Sun, 22 Oct 2023 16:58:28 +0800 Subject: [PATCH 1/2] Translate rst:736, rst:738 --- library/string.po | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/library/string.po b/library/string.po index 8855b9722e9..c0d1e7dffc4 100644 --- a/library/string.po +++ b/library/string.po @@ -909,7 +909,7 @@ msgstr "" #: ../../library/string.rst:736 msgid "Template strings" -msgstr "" +msgstr "樣板字串" #: ../../library/string.rst:738 msgid "" @@ -920,6 +920,12 @@ msgid "" "Python. As an example of a library built on template strings for i18n, see " "the `flufl.i18n `_ package." msgstr "" +"樣板字串提供如 :pep:`292` 所述更簡單的字串替換。" +"樣板字串的主要用例是國際化 (i18n)," +"因為在這種情況下,更簡單的語法和功能使得它" +"比其他 Python 內建字串格式化工具更容易翻譯。" +"基於樣板字串建構的 i18n 函式庫範例,請參閱" +"`flufl.i18n `_ 套件。" #: ../../library/string.rst:748 msgid "" From e58da5759d0357a66d6b4e7754b1c50d6b3fc29b Mon Sep 17 00:00:00 2001 From: HannahLo Date: Mon, 23 Oct 2023 14:39:16 +0000 Subject: [PATCH 2/2] Add space between zh and en --- library/string.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/string.po b/library/string.po index c0d1e7dffc4..5db0f07c285 100644 --- a/library/string.po +++ b/library/string.po @@ -924,7 +924,7 @@ msgstr "" "樣板字串的主要用例是國際化 (i18n)," "因為在這種情況下,更簡單的語法和功能使得它" "比其他 Python 內建字串格式化工具更容易翻譯。" -"基於樣板字串建構的 i18n 函式庫範例,請參閱" +"基於樣板字串建構的 i18n 函式庫範例,請參閱 " "`flufl.i18n `_ 套件。" #: ../../library/string.rst:748