update src/js/views/index.js

This commit is contained in:
mht 2013-12-11 15:42:27 +08:00
parent 292e70cf29
commit 7a519c822f

View file

@ -676,10 +676,10 @@ var IntlHelperBar = HelperBar.extend({
id: 'korean' id: 'korean'
}, { }, {
text: '学习 Git 分支', text: '学习 Git 分支',
id: 'chinese_s' id: 'simpchinese'
}, { }, {
text: 'Git 分支', text: 'Git 分支',
id: 'chinese_t' id: 'tradchinese'
}, { }, {
text: 'français', text: 'français',
id: 'french' id: 'french'
@ -714,12 +714,12 @@ var IntlHelperBar = HelperBar.extend({
this.hide(); this.hide();
}, },
onSimpChineseClick: function() { onSimpchineseClick: function() {
this.fireCommand('locale zh_CN; levels'); this.fireCommand('locale zh_CN; levels');
this.hide(); this.hide();
}, },
onTradChineseClick: function() { onTradchineseClick: function() {
this.fireCommand('locale zh_TW; levels'); this.fireCommand('locale zh_TW; levels');
this.hide(); this.hide();
} }