Skip to content
Prev Previous commit
Next Next commit
Change term '格式' into '語法'
  • Loading branch information
josix committed Jul 15, 2018
commit 34b88d4976ab6a55d43e4cffa4792342e8310fef
10 changes: 5 additions & 5 deletions tutorial/classes.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Python 3.6 TW\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
"PO-Revision-Date: 2018-07-15 17:19+0800\n"
"PO-Revision-Date: 2018-07-15 21:33+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/"
"python-36-tw/language/zh-Hant/)\n"
Expand Down Expand Up @@ -49,7 +49,7 @@ msgid ""
"nature of Python: they are created at runtime, and can be modified further "
"after creation."
msgstr ""
"與其他程式語言相比,Python 的類別機制為類別新增了最少的格式跟語意。他混合了 C"
"與其他程式語言相比,Python 的類別機制為類別新增了最少的語法跟語意。他混合了 C"
"++ 和 Modula-3 的類別機制。Python 的類別提供了標準物件導向程式設計 (Object "
"Oriented Programming) 的特色:類別繼承允許繼承多個基礎類別 (Base Class) 、一"
"個衍伸類別 (Derived Class) 可以覆寫(override) 任何其基礎類別的方法,並且方"
Expand All @@ -76,7 +76,7 @@ msgstr ""
"中一樣,Python 並沒有在物件方法裡參照物件成員的簡寫:被宣告的方法函數明確地以"
"第一個參數代表物件,而此參數會在呼叫時隱性地被提供。如同在 Smalltak 中,類別"
"都是物件。這樣為引入及重命名提供了語意。不像在 C++ 和 Modula-3中,內建的型態"
"可以作為基礎類別被用於使用者的延伸。另外,如同在 C++中,多數內建有著特別格式"
"可以作為基礎類別被用於使用者的延伸。另外,如同在 C++中,多數內建有著特別語法"
"的運算子(算術運算子、下標等)可以為類別實例被重新定義。"

#: ../../tutorial/classes.rst:34
Expand Down Expand Up @@ -371,11 +371,11 @@ msgstr "初看類別"
msgid ""
"Classes introduce a little bit of new syntax, three new object types, and "
"some new semantics."
msgstr "類別採用一些新的格式,三個新的物件型別,以及一些新的語意。"
msgstr "類別採用一些新的語法,三個新的物件型別,以及一些新的語意。"

#: ../../tutorial/classes.rst:221
msgid "Class Definition Syntax"
msgstr "類別定義格式"
msgstr "類別定義語法"

#: ../../tutorial/classes.rst:223
msgid "The simplest form of class definition looks like this::"
Expand Down