From 6e923360b35d44f393b308b386913cdee2787689 Mon Sep 17 00:00:00 2001 From: Shiyao Qi Date: Thu, 19 Jun 2014 23:15:11 +0800 Subject: [PATCH] Correct translation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correct "修改" to "设置", it is better to use "设置" rather than "修改", while the English word is set, and even in the initializer. --- source/chapter2/14_Initialization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/chapter2/14_Initialization.md b/source/chapter2/14_Initialization.md index aa99b433..ac8398d0 100755 --- a/source/chapter2/14_Initialization.md +++ b/source/chapter2/14_Initialization.md @@ -170,7 +170,7 @@ cheeseQuestion.response = "Yes, I do like cheese. >注意: 对某个类实例来说,它的常量属性只能在定义它的类的构造过程中修改;不能在子类中修改。 -你可以修改上面的`SurveyQuestion`示例,用常量属性替代变量属性`text`,指明问题内容`text`在其创建之后不会再被修改。尽管`text`属性现在是常量,我们仍然可以在其类的构造器中修改它的值: +你可以修改上面的`SurveyQuestion`示例,用常量属性替代变量属性`text`,指明问题内容`text`在其创建之后不会再被修改。尽管`text`属性现在是常量,我们仍然可以在其类的构造器中设置它的值: ```swift class SurveyQuestion { @@ -643,4 +643,4 @@ println(board.squareIsBlackAtRow(0, column: 1)) // 输出 "true" println(board.squareIsBlackAtRow(9, column: 9)) // 输出 "false" -``` \ No newline at end of file +```