@@ -8,7 +8,7 @@ msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"POT-Creation-Date : 2023-07-17 17:39+0800\n "
11
- "PO-Revision-Date : 2023-10-22 20:52 +0800\n "
11
+ "PO-Revision-Date : 2023-11-25 15:57 +0800\n "
12
12
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -17,7 +17,7 @@ msgstr ""
17
17
"Content-Type : text/plain; charset=UTF-8\n "
18
18
"Content-Transfer-Encoding : 8bit\n "
19
19
"Plural-Forms : nplurals=1; plural=0;\n "
20
- "X-Generator : Poedit 3.4\n "
20
+ "X-Generator : Poedit 3.4.1 \n "
21
21
22
22
#: ../../library/string.rst:2
23
23
msgid ":mod:`string` --- Common string operations"
@@ -381,18 +381,19 @@ msgid ""
381
381
"Most built-in types implement the following options for format "
382
382
"specifications, although some of the formatting options are only supported "
383
383
"by the numeric types."
384
- msgstr ""
384
+ msgstr "大部分內建型別為了格式規格實作了下列選項,不過有些選項只支援數值型別。 "
385
385
386
386
#: ../../library/string.rst:308
387
387
msgid ""
388
388
"A general convention is that an empty format specification produces the same "
389
389
"result as if you had called :func:`str` on the value. A non-empty format "
390
390
"specification typically modifies the result."
391
391
msgstr ""
392
+ "一般來說,輸入空格式會產生和 :func:`str` 相同的結果,非空的格式才會修改結果。"
392
393
393
394
#: ../../library/string.rst:312
394
395
msgid "The general form of a *standard format specifier* is:"
395
- msgstr ""
396
+ msgstr "*標準格式規範* 的一般型如下 : "
396
397
397
398
#: ../../library/string.rst:324
398
399
msgid ""
@@ -404,6 +405,11 @@ msgid ""
404
405
"curly brace with a nested replacement field. This limitation doesn't affect "
405
406
"the :func:`format` function."
406
407
msgstr ""
408
+ "如果給定了一個有效的 *align* 值,則可以在它之前加一個 *fill* 字符,且該字符可"
409
+ "為任意值,若不加的話預設為空格。使用 :ref:`formatted string literal <f-"
410
+ "strings>` 或 :meth:`str.format` 時是無法使用花括號(“``{``” 或 “``}``”)作為 "
411
+ "*fille* 字符,但仍可透過巢狀替換的方式插入花括號,並且不影響 :func:`format` "
412
+ "函式。"
407
413
408
414
#: ../../library/string.rst:333
409
415
msgid "The meaning of the various alignment options is as follows:"
0 commit comments