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

Commit48a3128

Browse files
committed
translate rst:802:810.
1 parent999e668 commit48a3128

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"
@@ -994,6 +994,10 @@ msgid ""
994994
"unlike with :meth:`substitute`, any other appearances of the ``$`` will "
995995
"simply return ``$`` instead of raising :exc:`ValueError`."
996996
msgstr""
997+
"與 :meth:`substitute` 類似,但如果佔位符號沒有填入任何 *mapping* 與 *kwds* 的"
998+
"時候,原始的佔位符號會出現在密集的結果字串裡,而不是顯示例外 `KeyError`。同"
999+
"時,與 :meth:`substitute` 不同的是,任何包含 ``$`` 的字句會直接回傳 ``$`` 而"
1000+
"非顯示 :exc:`ValueError`。"
9971001

9981002
#:../../library/string.rst:792
9991003
msgid""
@@ -1010,6 +1014,8 @@ msgid ""
10101014
"Returns false if the template has invalid placeholders that will cause :meth:"
10111015
"`substitute` to raise :exc:`ValueError`."
10121016
msgstr""
1017+
"當樣本裡面包含無效的佔位符號導致 :meth:`substitute` 顯示 :exc:`ValueError`,"
1018+
"回傳錯誤。"
10131019

10141020
#:../../library/string.rst:810
10151021
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp