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

fix string#711

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mattwang44 merged 4 commits intopython:event-1125from7553yn:stringResvise
Dec 18, 2023
Merged
Changes fromall 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
16 changes: 12 additions & 4 deletionslibrary/string.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -564,12 +564,16 @@ msgid ""
"is equivalent to a *fill* character of ``'0'`` with an *alignment* type of "
"``'='``."
msgstr ""
"當未給予明確的對齊指示,在 *width* 欄位前面將填入零 (``'0'``) 字元將會為"
"數值型別啟用有符號察覺的零填充 (sign-aware zero-padding)。這相當於同時"
"使用 ``'0'`` 為 *fill* 字元與對齊類型 ``'='``"

#: ../../library/string.rst:439
#, fuzzy
msgid ""
"Preceding the *width* field by ``'0'`` no longer affects the default "
"alignment for strings."
msgstr ""
msgstr "在 *width* 欄位前面加上 ``'0'`` 不再影響字串的預設對齊方式。"

#: ../../library/string.rst:443
msgid ""
Expand All@@ -581,19 +585,23 @@ msgid ""
"the field content. The *precision* is not allowed for integer presentation "
"types."
msgstr ""
"*precision* 是一個十進位整數,指定表示類型 ``'f'`` 和 ``'F'`` 的小數點後應顯示多"
"少位,或表示類型 ``'g'`` 或 ``'G'`` 的小數點前後應顯示多少位。對於字串表示類"
"型,該欄位指定最大欄位大小 - 換言之,將使用欄位中的多少字元。整數表示類型不允"
"許使用 *precision*。"

#: ../../library/string.rst:451
msgid "Finally, the *type* determines how the data should be presented."
msgstr ""
msgstr "最終,型別決定了資料將會如何呈現"

#: ../../library/string.rst:453
msgid "The available string presentation types are:"
msgstr ""
msgstr "可用的字串表示型別有:"

#: ../../library/string.rst:456 ../../library/string.rst:467
#: ../../library/string.rst:502
msgid "Type"
msgstr ""
msgstr "型別"

#: ../../library/string.rst:458
msgid "``'s'``"
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp