File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Original file line number Diff line number Diff line change @@ -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 "
@@ -1019,6 +1019,10 @@ msgid ""
1019
1019
"unlike with :meth:`substitute`, any other appearances of the ``$`` will "
1020
1020
"simply return ``$`` instead of raising :exc:`ValueError`."
1021
1021
msgstr ""
1022
+ "與 :meth:`substitute` 類似,但如果佔位符號沒有填入任何 *mapping* 與 *kwds* 的"
1023
+ "時候,原始的佔位符號會出現在密集的結果字串裡,而不是顯示例外 `KeyError`。同"
1024
+ "時,與 :meth:`substitute` 不同的是,任何包含 ``$`` 的字句會直接回傳 ``$`` 而"
1025
+ "非顯示 :exc:`ValueError`。"
1022
1026
1023
1027
#: ../../library/string.rst:792
1024
1028
msgid ""
@@ -1035,6 +1039,8 @@ msgid ""
1035
1039
"Returns false if the template has invalid placeholders that will cause :meth:"
1036
1040
"`substitute` to raise :exc:`ValueError`."
1037
1041
msgstr ""
1042
+ "當樣本裡面包含無效的佔位符號導致 :meth:`substitute` 顯示 :exc:`ValueError`,"
1043
+ "回傳錯誤。"
1038
1044
1039
1045
#: ../../library/string.rst:810
1040
1046
msgid ""
You can’t perform that action at this time.
0 commit comments