Skip to content

Commit 3423a58

Browse files
7553ynMaxmattwang44
committed
fix string (#711)
Co-authored-by: Max <[email protected]> Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
1 parent e500a38 commit 3423a58

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

library/string.po

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,12 +564,16 @@ msgid ""
564564
"is equivalent to a *fill* character of ``'0'`` with an *alignment* type of "
565565
"``'='``."
566566
msgstr ""
567+
"當未給予明確的對齊指示,在 *width* 欄位前面將填入零 (``'0'``) 字元將會為"
568+
"數值型別啟用有符號察覺的零填充 (sign-aware zero-padding)。這相當於同時"
569+
"使用 ``'0'`` 為 *fill* 字元與對齊類型 ``'='``"
567570

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

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

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

589597
#: ../../library/string.rst:453
590598
msgid "The available string presentation types are:"
591-
msgstr ""
599+
msgstr "可用的字串表示型別有:"
592600

593601
#: ../../library/string.rst:456 ../../library/string.rst:467
594602
#: ../../library/string.rst:502
595603
msgid "Type"
596-
msgstr ""
604+
msgstr "型別"
597605

598606
#: ../../library/string.rst:458
599607
msgid "``'s'``"

0 commit comments

Comments
 (0)