Skip to content

Translate ../../library/string.rst:420-430 #712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions library/string.po
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ msgid ""
"``'X'``, underscores will be inserted every 4 digits. For other "
"presentation types, specifying this option is an error."
msgstr ""
"``’_’`` 選項表示對於浮點表示型別和整數表示型別 ``’d’`` 使用下劃線作為千位分隔"
"符號。對於整數表示型別 ``’b’``,``’o’``,``’x’`` 和 ``’X’``,每 4 位數字會插"
"入底線。對於其他表示型別,指定此選項會出錯。"

#: ../../library/string.rst:427
msgid "Added the ``'_'`` option (see also :pep:`515`)."
Expand All @@ -564,6 +567,8 @@ msgid ""
"including any prefixes, separators, and other formatting characters. If not "
"specified, then the field width will be determined by the content."
msgstr ""
"*width* 是一個十進制整數,定義了最小總欄位寬度,包括任何前綴、分隔符號和其他"
"格式字元。如果未指定,則欄位寬度將由內容決定。"

#: ../../library/string.rst:434
msgid ""
Expand Down