Add translation to the "solved level" message

This commit is contained in:
Oleksandr Redko 2015-11-25 00:38:20 +02:00
parent 5c56742502
commit c1be06764a
2 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,7 @@
var _ = require('underscore');
var Q = require('q');
var intl = require('../intl');
var GRAPHICS = require('../util/constants').GRAPHICS;
var GlobalStateStore = require('../stores/GlobalStateStore');
@ -220,7 +221,7 @@ GitVisuals.prototype.finishAnimation = function(speed) {
var defaultTime = GRAPHICS.defaultAnimationTime;
var nodeRadius = GRAPHICS.nodeRadius;
var textString = 'Solved!!\n:D';
var textString = intl.str('solved-level');
var text = null;
var makeText = function() {
text = this.paper.text(