File tree 1 file changed +8
-2
lines changed 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -389,18 +389,20 @@ msgid ""
389
389
"Most built-in types implement the following options for format "
390
390
"specifications, although some of the formatting options are only supported "
391
391
"by the numeric types."
392
- msgstr ""
392
+ msgstr "大部分內建型別為了格式規格實作了下列選項,不過有些選項只支援數值型別。 "
393
393
394
394
#: ../../library/string.rst:308
395
395
msgid ""
396
396
"A general convention is that an empty format specification produces the same "
397
397
"result as if you had called :func:`str` on the value. A non-empty format "
398
398
"specification typically modifies the result."
399
399
msgstr ""
400
+ "一般來說,輸入空格式規格會產生和呼叫 :func:`str` 函式相同的結果,非空的格式規"
401
+ "格才會修改結果。"
400
402
401
403
#: ../../library/string.rst:312
402
404
msgid "The general form of a *standard format specifier* is:"
403
- msgstr ""
405
+ msgstr "*標準格式規範*的一般型如下: "
404
406
405
407
#: ../../library/string.rst:324
406
408
msgid ""
@@ -412,6 +414,10 @@ msgid ""
412
414
"curly brace with a nested replacement field. This limitation doesn't affect "
413
415
"the :func:`format` function."
414
416
msgstr ""
417
+ "如果給定了一個有效的 *align* 值,則可以在它之前加一個 *fill* 字元,且該字元可"
418
+ "為任意值,若不加的話預設為空格。使用 :ref:`格式字串 <f-strings>` 或 :meth:"
419
+ "`str.format` 時是無法使用大括號(\" ``{``\" 或 \" ``}``\" )作為 *fill* 字元,但"
420
+ "仍可透過巢狀替換的方式插入大括號,並且不影響 :func:`format` 函式。"
415
421
416
422
#: ../../library/string.rst:333
417
423
msgid "The meaning of the various alignment options is as follows:"
You can’t perform that action at this time.
0 commit comments