@@ -8,7 +8,7 @@ msgstr ""
88"Project-Id-Version :Python 3.12\n "
99"Report-Msgid-Bugs-To :\n "
1010"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 "
1212"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
1414"tw)\n "
@@ -994,6 +994,10 @@ msgid ""
994994"unlike with :meth:`substitute`, any other appearances of the ``$`` will "
995995"simply return ``$`` instead of raising :exc:`ValueError`."
996996msgstr ""
997+ "與 :meth:`substitute` 類似,但如果佔位符號沒有填入任何 *mapping* 與 *kwds* 的"
998+ "時候,原始的佔位符號會出現在密集的結果字串裡,而不是顯示例外 `KeyError`。同"
999+ "時,與 :meth:`substitute` 不同的是,任何包含 ``$`` 的字句會直接回傳 ``$`` 而"
1000+ "非顯示 :exc:`ValueError`。"
9971001
9981002#: ../../library/string.rst:792
9991003msgid ""
@@ -1010,6 +1014,8 @@ msgid ""
10101014"Returns false if the template has invalid placeholders that will cause :meth:"
10111015"`substitute` to raise :exc:`ValueError`."
10121016msgstr ""
1017+ "當樣本裡面包含無效的佔位符號導致 :meth:`substitute` 顯示 :exc:`ValueError`,"
1018+ "回傳錯誤。"
10131019
10141020#: ../../library/string.rst:810
10151021msgid ""