Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions faq/design.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,33 @@ msgstr ""

#: ../../faq/design.rst:3
msgid "Design and History FAQ"
msgstr ""
msgstr "設計和歷史常見問題"

#: ../../faq/design.rst:6
msgid "Contents"
msgstr "目錄"

#: ../../faq/design.rst:11
msgid "Why does Python use indentation for grouping of statements?"
msgstr ""
msgstr "為什麼 Python 使用縮排將陳述式進行分組?"

#: ../../faq/design.rst:13
msgid ""
"Guido van Rossum believes that using indentation for grouping is extremely "
"elegant and contributes a lot to the clarity of the average Python program. "
"Most people learn to love this feature after a while."
msgstr ""
"Guido van Rossum 相信使用縮排來分組超級優雅,並且對提高一般 Python 程式的清晰度有許多貢獻。"
"許多人在學習一段時間之後就愛上了這個功能。"

#: ../../faq/design.rst:17
msgid ""
"Since there are no begin/end brackets there cannot be a disagreement between "
"grouping perceived by the parser and the human reader. Occasionally C "
"programmers will encounter a fragment of code like this::"
msgstr ""
"因為沒有開始/結束括號,因此剖析器和人類讀者感知到的分組就不存在分歧。"
"偶爾 C 語言的程式設計師會遇到這樣的程式碼片段::"

#: ../../faq/design.rst:26
msgid ""
Expand All @@ -52,6 +56,9 @@ msgid ""
"will sometimes stare at it a long time wondering as to why ``y`` is being "
"decremented even for ``x > y``."
msgstr ""
"若陳述為真,則只有 ``x++`` 會執行,但縮排讓很多人誤會意思不是這樣。"
"即便是經驗豐富的 C 語言程式設計師,有時也會盯著螢幕良久,思考為什麼即便是 ``x > y``"
"的時候 ``y`` 也會減少。"

#: ../../faq/design.rst:31
msgid ""
Expand All @@ -75,7 +82,7 @@ msgstr ""

#: ../../faq/design.rst:48
msgid "Why am I getting strange results with simple arithmetic operations?"
msgstr ""
msgstr "為什麼我會從簡單的數學運算得到奇怪的結果?"

#: ../../faq/design.rst:50
msgid "See the next question."
Expand All @@ -87,7 +94,7 @@ msgstr "為何浮點數運算如此不精確?"

#: ../../faq/design.rst:56
msgid "Users are often surprised by results like this::"
msgstr ""
msgstr "使用者時常對這樣的結果感到驚訝::"

#: ../../faq/design.rst:61
msgid ""
Expand Down