mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
Add translation to the "solved level" message
This commit is contained in:
parent
5c56742502
commit
c1be06764a
2 changed files with 9 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue