mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
big intl update, only polishing left, Issue #42
This commit is contained in:
parent
7e165c6fdc
commit
a0c8c34522
10 changed files with 471 additions and 232 deletions
|
@ -44,8 +44,10 @@ var LevelBuilder = Level.extend({
|
|||
options = options || {};
|
||||
options.level = options.level || {};
|
||||
|
||||
options.level.startDialog = {
|
||||
childViews: require('../dialogs/levelBuilder').dialog
|
||||
var locale = intl.getLocale();
|
||||
options.level.startDialog = {};
|
||||
options.level.startDialog[locale] = {
|
||||
childViews: intl.getDialog(require('../dialogs/levelBuilder'))
|
||||
};
|
||||
LevelBuilder.__super__.initialize.apply(this, [options]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue