big intl update, only polishing left, Issue #42

This commit is contained in:
Peter Cottle 2013-02-23 23:31:30 -08:00
parent 7e165c6fdc
commit a0c8c34522
10 changed files with 471 additions and 232 deletions

View file

@ -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]);