Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorial/appendix.po
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ msgid ""
"script::"
msgstr ""
"如果你想從目前目錄中讀取一個額外的啟動檔案,你可以在全域啟動檔案中使用類似 "
"``if os.path.isfile('.pythonrc.py'): exec(open('.pythonrc.py').read()`` 的程"
"``if os.path.isfile('.pythonrc.py'): exec(open('.pythonrc.py').read())`` 的程"
"式碼設定這個行為。如果你想在一個腳本中使用啟動檔案,你必須在腳本中明確地這樣"
"做: ::"

Expand Down
4 changes: 2 additions & 2 deletions tutorial/datastructures.po
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ msgid ""
"The initial expression in a list comprehension can be any arbitrary "
"expression, including another list comprehension."
msgstr ""
"在 list comprehesion 中開頭的 expression 可以是任何形式的 expression,包括再"
"在 list comprehension 中開頭的 expression 可以是任何形式的 expression,包括再"
"寫一個 list comprehension。"

#: ../../tutorial/datastructures.rst:290
Expand All @@ -534,7 +534,7 @@ msgstr ""

#: ../../tutorial/datastructures.rst:299
msgid "The following list comprehension will transpose rows and columns::"
msgstr "以下的 list comprehesion 會將矩陣的行與列作轉置: ::"
msgstr "以下的 list comprehension 會將矩陣的行與列作轉置: ::"

#: ../../tutorial/datastructures.rst:301
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion tutorial/inputoutput.po
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ msgid ""
"This could also be done by passing the ``table`` dictionary as keyword "
"arguments with the ``**`` notation. ::"
msgstr ""
"用 '**' 符號,把 ``table`` 字典當作關鍵字引數來傳遞,也有一樣的結果。 ::"
"用 ``**`` 符號,把 ``table`` 字典當作關鍵字引數來傳遞,也有一樣的結果。 ::"

#: ../../tutorial/inputoutput.rst:210
msgid ""
Expand Down
9 changes: 5 additions & 4 deletions tutorial/interpreter.po
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ msgid ""
"the current line."
msgstr ""
"直譯器的命令列編輯功能有很多,在大多數系統上包含:互動編輯、歷史取代、命令"
"補完等功能。最快檢查有無支援命令列編輯的方法為:在第一個 Python 提示字元後輸"
"入 :kbd:`Control-P`,如果出現嗶嗶聲,就代表有支援;見附錄\\ :ref:`tut-"
"interacting`\\ 介紹相關的快速鍵。如果什麼事都沒有發生,或者出現一個 ``^P``,"
"就代表並沒有命令列編輯功能;此時只能使用 backspace 去除該行的字元。"
"補完等功能。最快檢查是否支援命令列編輯的方法是:在 Python 提示字元後輸入"
"一個單字,然後按左方向鍵(或 :kbd:`Control-b`\\ )。如果游標有移動,就"
"代表有命令列編輯功能;見附錄\\ :ref:`tut-interacting`\\ 介紹相關的按鍵。"
"如果什麼事都沒有發生,或者出現類似 ``^[[D`` 或 ``^B`` 的序列,就代表並"
"沒有命令列編輯功能;此時只能使用 backspace 去除目前這一行的字元。"

#: ../../tutorial/interpreter.rst:46
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion tutorial/modules.po
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ msgid ""
msgstr ""
"你也可以用 ``from module import name`` 的 import 陳述式,編寫「相對 "
"(relative) import」。這些 import 使用前導句號指示相對 import 中的目前套件和母"
"套件。例如,在 :mod:`!urround` 模組中,你可以使用: ::"
"套件。例如,在 :mod:`!surround` 模組中,你可以使用: ::"

#: ../../tutorial/modules.rst:578
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions tutorial/stdlib.po
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,9 @@ msgid ""
"for output formatting and manipulation. The module also supports objects "
"that are timezone aware. ::"
msgstr ""
":mod:`datetime` 模組提供許多 class 可以操作日期以及時間,從簡單從複雜都有。模"
":mod:`datetime` 模組提供許多 class 可以操作日期以及時間,從簡單到複雜都有。模"
"組支援日期與時間的運算,而實作的重點是有效率的成員擷取以達到輸出格式化以及操"
"作。模組也提供支援時區換算的類別。 ::"
"作。模組也提供支援帶有時區資訊的類別。 ::"

#: ../../tutorial/stdlib.rst:218
msgid ""
Expand Down