[Flux] Locale data flow converted to Flux

This commit is contained in:
Peter Cottle 2015-03-28 11:30:42 -07:00
parent b4a6ac3784
commit 1afd48bb39
8 changed files with 45 additions and 69 deletions

View file

@ -10,6 +10,7 @@ var Errors = require('../util/errors');
var Visualization = require('../visuals/visualization').Visualization;
var ParseWaterfall = require('../level/parseWaterfall').ParseWaterfall;
var Level = require('../level').Level;
var LocaleStore = require('../stores/LocaleStore');
var Command = require('../models/commandModel').Command;
var GitShim = require('../git/gitShim').GitShim;
@ -44,7 +45,7 @@ var LevelBuilder = Level.extend({
options = options || {};
options.level = {};
var locale = intl.getLocale();
var locale = LocaleStore.getLocale();
options.level.startDialog = {};
options.level.startDialog[locale] = {
childViews: intl.getDialog(require('../dialogs/levelBuilder'))