Skip to content

String resvise #721

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

Closed
wants to merge 2 commits into from
Closed
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
19 changes: 13 additions & 6 deletions library/string.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-17 17:39+0800\n"
"PO-Revision-Date: 2023-10-22 20:52+0800\n"
"PO-Revision-Date: 2023-11-25 16:04+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand All @@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.4\n"
"X-Generator: Poedit 3.4.1\n"

#: ../../library/string.rst:2
msgid ":mod:`string` --- Common string operations"
Expand Down Expand Up @@ -564,12 +564,15 @@ msgid ""
"is equivalent to a *fill* character of ``'0'`` with an *alignment* type of "
"``'='``."
msgstr ""
"當寬度欄位未給予明確的對齊將起用符號喚醒,將前面位數將填入零字元。這鄉當於填"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"當寬度欄位未給予明確的對齊將起用符號喚醒,將前面位數將填入零字元。這鄉當於填"
"當*寬度*欄位未給予明確的對齊將起用符號喚醒,將前面位數將填入零字元。這鄉當於填"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rST語法與其他特殊用法需保留於譯文中,例如本段的 width'0'

"入字元0和對齊類型\"=\""

#: ../../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 +584,23 @@ msgid ""
"the field content. The *precision* is not allowed for integer presentation "
"types."
msgstr ""
"*精準度* 是一個十進制整數,指示表示類型 ``'f'`` 和 ``'F'`` 的小數點後應顯示多"
"少位,或表示類型 `` 的小數點前後應顯示多少位'g'` ` 或``'G'``。對於字串表示類"
"型,該欄位指示最大欄位大小 - 換言之,將使用欄位中的多少字元。整數表示型別不允"
"許*精度*。"

#: ../../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 "可用的自串表示型別有:"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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