-
-
Notifications
You must be signed in to change notification settings - Fork 222
Translate rst:595 to rst:702 #713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -843,75 +843,76 @@ msgstr "" | |||||
|
|
||||||
| #: ../../library/string.rst:595 | ||||||
| msgid "Format examples" | ||||||
| msgstr "" | ||||||
| msgstr "格式範例" | ||||||
|
|
||||||
| #: ../../library/string.rst:597 | ||||||
| msgid "" | ||||||
| "This section contains examples of the :meth:`str.format` syntax and " | ||||||
| "comparison with the old ``%``-formatting." | ||||||
| msgstr "" | ||||||
| msgstr "本節包含 :meth:`str.format` 語法以及與舊式 ``%`` 格式化的比較。" | ||||||
|
|
||||||
| #: ../../library/string.rst:600 | ||||||
| msgid "" | ||||||
| "In most of the cases the syntax is similar to the old ``%``-formatting, with " | ||||||
| "the addition of the ``{}`` and with ``:`` used instead of ``%``. For " | ||||||
| "example, ``'%03.2f'`` can be translated to ``'{:03.2f}'``." | ||||||
| msgstr "" | ||||||
| msgstr "此語法在大多情況下與舊式的 ``%`` 格式化類似,只是增加了 ``{}`` 和 ``:`` 來取代 ``%``。" | ||||||
| "例如, ``'%03.2f'`` 可以改寫為 ``'{:03.2f}'`` 。" | ||||||
|
|
||||||
| #: ../../library/string.rst:604 | ||||||
| msgid "" | ||||||
| "The new format syntax also supports new and different options, shown in the " | ||||||
| "following examples." | ||||||
| msgstr "" | ||||||
| msgstr "新的語法還支援新的選項,將在以下的範例中說明。" | ||||||
|
|
||||||
| #: ../../library/string.rst:607 | ||||||
| msgid "Accessing arguments by position::" | ||||||
| msgstr "" | ||||||
| msgstr "按位置取得引數" | ||||||
|
||||||
|
|
||||||
| #: ../../library/string.rst:620 | ||||||
| msgid "Accessing arguments by name::" | ||||||
| msgstr "" | ||||||
| msgstr "按名稱取得引數" | ||||||
|
|
||||||
| #: ../../library/string.rst:628 | ||||||
| msgid "Accessing arguments' attributes::" | ||||||
| msgstr "" | ||||||
| msgstr "取得引數的屬性" | ||||||
|
|
||||||
| #: ../../library/string.rst:643 | ||||||
| msgid "Accessing arguments' items::" | ||||||
| msgstr "" | ||||||
| msgstr "取得引數的值: ::" | ||||||
|
|
||||||
| #: ../../library/string.rst:649 | ||||||
| msgid "Replacing ``%s`` and ``%r``::" | ||||||
| msgstr "" | ||||||
| msgstr "替換 ``%s`` 和 ``%r``: ::" | ||||||
|
|
||||||
| #: ../../library/string.rst:654 | ||||||
| msgid "Aligning the text and specifying a width::" | ||||||
| msgstr "" | ||||||
| msgstr "對齊文字以及指定寬度: ::" | ||||||
|
|
||||||
| #: ../../library/string.rst:665 | ||||||
| msgid "Replacing ``%+f``, ``%-f``, and ``% f`` and specifying a sign::" | ||||||
| msgstr "" | ||||||
| msgstr "替換 ``%+f`` , ``%-f`` 和 ``% f`` 以及指定正負號: ::" | ||||||
|
||||||
| msgstr "替換 ``%+f`` , ``%-f`` 和 ``% f`` 以及指定正負號: ::" | |
| msgstr "替換 ``%+f``,``%-f`` 和 ``% f`` 以及指定正負號: ::" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這裏的formatting會不會翻成 格式 比較好?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下面的formatting亦同