Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb80266f

Browse files
proudofsiminmattwang44
authored andcommitted
translate rst:802:810.
1 parent48e29bf commitb80266f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎library/string.po‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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"
@@ -1019,6 +1019,10 @@ msgid ""
10191019
"unlike with :meth:`substitute`, any other appearances of the ``$`` will "
10201020
"simply return ``$`` instead of raising :exc:`ValueError`."
10211021
msgstr""
1022+
"與 :meth:`substitute` 類似,但如果佔位符號沒有填入任何 *mapping* 與 *kwds* 的"
1023+
"時候,原始的佔位符號會出現在密集的結果字串裡,而不是顯示例外 `KeyError`。同"
1024+
"時,與 :meth:`substitute` 不同的是,任何包含 ``$`` 的字句會直接回傳 ``$`` 而"
1025+
"非顯示 :exc:`ValueError`。"
10221026

10231027
#:../../library/string.rst:792
10241028
msgid""
@@ -1035,6 +1039,8 @@ msgid ""
10351039
"Returns false if the template has invalid placeholders that will cause :meth:"
10361040
"`substitute` to raise :exc:`ValueError`."
10371041
msgstr""
1042+
"當樣本裡面包含無效的佔位符號導致 :meth:`substitute` 顯示 :exc:`ValueError`,"
1043+
"回傳錯誤。"
10381044

10391045
#:../../library/string.rst:810
10401046
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp