Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf439f94

Browse files
Yanni0923cschan1828hector-chinmattwang44
committed
Translate library/string.po---rst:265-283 (#719)
Co-authored-by: cschan <45995789+cschan1828@users.noreply.github.com>Co-authored-by: hector-chin <66636221+hector-chin@users.noreply.github.com>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parentef2398a commitf439f94

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎library/string.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ msgid ""
323323
"`str` on the value, ``'!r'`` which calls :func:`repr` and ``'!a'`` which "
324324
"calls :func:`ascii`."
325325
msgstr""
326+
"目前支援三種轉換旗標:``'!s'`` 會對該值呼叫 :func:`str`,``'!r'`` 會對該值"
327+
"呼叫 :func:`repr`,而 ``'!a'`` 則會對該值呼叫 :func:`ascii`。"
326328

327329
#:../../library/string.rst:269
328330
msgid"Some examples::"
@@ -338,12 +340,15 @@ msgid ""
338340
"decimal precision and so on. Each value type can define its own "
339341
"\"formatting mini-language\" or interpretation of the *format_spec*."
340342
msgstr""
343+
"*format_spec* 欄位描述了值的呈現規格,例如欄位寬度、對齊、填充、小"
344+
"數精度等細節資訊。每種值類型都可以定義自己的「格式化迷你語言」或對 "
345+
"*format_spec* 的解釋。"
341346

342347
#:../../library/string.rst:280
343348
msgid""
344349
"Most built-in types support a common formatting mini-language, which is "
345350
"described in the next section."
346-
msgstr""
351+
msgstr"大多數內建型別都支援常見的格式化迷你語言,下一節將會詳細說明。"
347352

348353
#:../../library/string.rst:283
349354
msgid""
@@ -354,6 +359,9 @@ msgid ""
354359
"*format_spec* string is interpreted. This allows the formatting of a value "
355360
"to be dynamically specified."
356361
msgstr""
362+
"*format_spec* 欄位還可以在其內部包含巢狀的替換字段。這些巢狀的替換字段包含字"
363+
"段名稱、轉換旗標、格式規格描述,但是不允許再更深層的巢狀。format_spec 内部的"
364+
"替換字段會在解讀 *format_spec* 字符串之前先被解讀。這允許動態地指定值的格式。"
357365

358366
#:../../library/string.rst:290
359367
msgid"See the :ref:`formatexamples` section for some examples."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp