add it to the intl thing

This commit is contained in:
Peter Cottle 2013-03-24 14:42:19 -07:00
parent 66da06b8ea
commit cb1d50850b
6 changed files with 27 additions and 3 deletions

View file

@ -10155,6 +10155,9 @@ var IntlHelperBar = HelperBar.extend({
return [{ return [{
text: 'Git Branching', text: 'Git Branching',
id: 'english' id: 'english'
}, {
text: '日本語版リポジトリ',
id: 'japanese'
}, { }, {
text: 'Git 브랜치 배우기', text: 'Git 브랜치 배우기',
id: 'korean' id: 'korean'
@ -10170,6 +10173,11 @@ var IntlHelperBar = HelperBar.extend({
}]; }];
}, },
onJapaneseClick: function() {
this.fireCommand('locale ja; levels');
this.hide();
},
onEnglishClick: function() { onEnglishClick: function() {
this.fireCommand('locale en_US; levels'); this.fireCommand('locale en_US; levels');
this.hide(); this.hide();
@ -29000,6 +29008,9 @@ var IntlHelperBar = HelperBar.extend({
return [{ return [{
text: 'Git Branching', text: 'Git Branching',
id: 'english' id: 'english'
}, {
text: '日本語版リポジトリ',
id: 'japanese'
}, { }, {
text: 'Git 브랜치 배우기', text: 'Git 브랜치 배우기',
id: 'korean' id: 'korean'
@ -29015,6 +29026,11 @@ var IntlHelperBar = HelperBar.extend({
}]; }];
}, },
onJapaneseClick: function() {
this.fireCommand('locale ja; levels');
this.hide();
},
onEnglishClick: function() { onEnglishClick: function() {
this.fireCommand('locale en_US; levels'); this.fireCommand('locale en_US; levels');
this.hide(); this.hide();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
build/bundle.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -426,7 +426,7 @@
For a much easier time perusing the source, see the individual files at: For a much easier time perusing the source, see the individual files at:
https://github.com/pcottle/learnGitBranching https://github.com/pcottle/learnGitBranching
--> -->
<script src="build/bundle.min.0f8af3f2.js"></script> <script src="build/bundle.min.f86c1b8d.js"></script>
<!-- The advantage of github pages: super-easy, simple, slick static hostic. <!-- The advantage of github pages: super-easy, simple, slick static hostic.
The downside? No raw logs to parse for analytics, so I have to include The downside? No raw logs to parse for analytics, so I have to include

View file

@ -643,6 +643,9 @@ var IntlHelperBar = HelperBar.extend({
return [{ return [{
text: 'Git Branching', text: 'Git Branching',
id: 'english' id: 'english'
}, {
text: '日本語版リポジトリ',
id: 'japanese'
}, { }, {
text: 'Git 브랜치 배우기', text: 'Git 브랜치 배우기',
id: 'korean' id: 'korean'
@ -658,6 +661,11 @@ var IntlHelperBar = HelperBar.extend({
}]; }];
}, },
onJapaneseClick: function() {
this.fireCommand('locale ja; levels');
this.hide();
},
onEnglishClick: function() { onEnglishClick: function() {
this.fireCommand('locale en_US; levels'); this.fireCommand('locale en_US; levels');
this.hide(); this.hide();