mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
[Flux] Locale data flow converted to Flux
This commit is contained in:
parent
b4a6ac3784
commit
1afd48bb39
8 changed files with 45 additions and 69 deletions
|
@ -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'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue