mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-17 00:00:59 +02:00
zomg so many keys
This commit is contained in:
parent
9048f09d9f
commit
7e165c6fdc
18 changed files with 354 additions and 75 deletions
|
@ -4,6 +4,7 @@ var Q = require('q');
|
|||
var Backbone = (!require('../util').isBrowser()) ? require('backbone') : window.Backbone;
|
||||
|
||||
var util = require('../util');
|
||||
var intl = require('../intl');
|
||||
var KeyboardListener = require('../util/keyboard').KeyboardListener;
|
||||
var Main = require('../app');
|
||||
|
||||
|
@ -46,10 +47,15 @@ var LevelDropdownView = ContainedBase.extend({
|
|||
this.sequenceToLevels = Main.getLevelArbiter().getSequenceToLevels();
|
||||
|
||||
this.container = new ModalTerminal({
|
||||
title: 'Select a Level'
|
||||
title: intl.str('select-a-level')
|
||||
});
|
||||
|
||||
this.render();
|
||||
this.buildSequences();
|
||||
Main.getEvents().on('localeChanged', function() {
|
||||
this.render();
|
||||
this.buildSequences();
|
||||
}, this);
|
||||
|
||||
if (!options.wait) {
|
||||
this.show();
|
||||
|
@ -264,8 +270,8 @@ var SeriesView = BaseView.extend({
|
|||
|
||||
this.destination = options.destination;
|
||||
this.JSON = {
|
||||
displayName: this.info.displayName,
|
||||
about: this.info.about,
|
||||
displayName: intl.getIntlKey(this.info, 'displayName'),
|
||||
about: intl.getIntlKey(this.info, 'about'),
|
||||
ids: this.levelIDs
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue