@@ -8,7 +8,7 @@ msgstr ""
8
8
"Project-Id-Version :Python 3.12\n "
9
9
"Report-Msgid-Bugs-To :\n "
10
10
"POT-Creation-Date :2023-07-17 17:39+0800\n "
11
- "PO-Revision-Date :2023-11-25 16:25 +0800\n "
11
+ "PO-Revision-Date :2023-11-25 16:46 +0800\n "
12
12
"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -994,6 +994,10 @@ msgid ""
994
994
"unlike with :meth:`substitute`, any other appearances of the ``$`` will "
995
995
"simply return ``$`` instead of raising :exc:`ValueError`."
996
996
msgstr ""
997
+ "與 :meth:`substitute` 類似,但如果佔位符號沒有填入任何 *mapping* 與 *kwds* 的"
998
+ "時候,原始的佔位符號會出現在密集的結果字串裡,而不是顯示例外 `KeyError`。同"
999
+ "時,與 :meth:`substitute` 不同的是,任何包含 ``$`` 的字句會直接回傳 ``$`` 而"
1000
+ "非顯示 :exc:`ValueError`。"
997
1001
998
1002
#: ../../library/string.rst:792
999
1003
msgid ""
@@ -1010,6 +1014,8 @@ msgid ""
1010
1014
"Returns false if the template has invalid placeholders that will cause :meth:"
1011
1015
"`substitute` to raise :exc:`ValueError`."
1012
1016
msgstr ""
1017
+ "當樣本裡面包含無效的佔位符號導致 :meth:`substitute` 顯示 :exc:`ValueError`,"
1018
+ "回傳錯誤。"
1013
1019
1014
1020
#: ../../library/string.rst:810
1015
1021
msgid ""