Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 88f9634

Browse files
Justin Bearmattwang44
Justin Bear
authored andcommitted
translate format specification rst:305-324
1 parent 0861c86 commit 88f9634

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

library/string.po

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ msgstr ""
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919
"Plural-Forms: nplurals=1; plural=0;\n"
20+
<<<<<<< HEAD
2021
"X-Generator: Poedit 3.4.2\n"
22+
||||||| parent of 55e9f2d0a (translate format specification rst:305-324)
23+
"X-Generator: Poedit 3.4\n"
24+
=======
25+
"X-Generator: Poedit 3.4.1\n"
26+
>>>>>>> 55e9f2d0a (translate format specification rst:305-324)
2127

2228
#: ../../library/string.rst:2
2329
msgid ":mod:`string` --- Common string operations"
@@ -389,18 +395,19 @@ msgid ""
389395
"Most built-in types implement the following options for format "
390396
"specifications, although some of the formatting options are only supported "
391397
"by the numeric types."
392-
msgstr ""
398+
msgstr "大部分內建型別為了格式規格實作了下列選項,不過有些選項只支援數值型別。"
393399

394400
#: ../../library/string.rst:308
395401
msgid ""
396402
"A general convention is that an empty format specification produces the same "
397403
"result as if you had called :func:`str` on the value. A non-empty format "
398404
"specification typically modifies the result."
399405
msgstr ""
406+
"一般來說,輸入空格式會產生和 :func:`str` 相同的結果,非空的格式才會修改結果。"
400407

401408
#: ../../library/string.rst:312
402409
msgid "The general form of a *standard format specifier* is:"
403-
msgstr ""
410+
msgstr "*標準格式規範* 的一般型如下 :"
404411

405412
#: ../../library/string.rst:324
406413
msgid ""
@@ -412,6 +419,11 @@ msgid ""
412419
"curly brace with a nested replacement field. This limitation doesn't affect "
413420
"the :func:`format` function."
414421
msgstr ""
422+
"如果給定了一個有效的 *align* 值,則可以在它之前加一個 *fill* 字符,且該字符可"
423+
"為任意值,若不加的話預設為空格。使用 :ref:`formatted string literal <f-"
424+
"strings>` 或 :meth:`str.format` 時是無法使用花括號(“``{``” 或 “``}``”)作為 "
425+
"*fille* 字符,但仍可透過巢狀替換的方式插入花括號,並且不影響 :func:`format` "
426+
"函式。"
415427

416428
#: ../../library/string.rst:333
417429
msgid "The meaning of the various alignment options is as follows:"

0 commit comments

Comments
 (0)