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
|
@ -854,6 +854,13 @@ exports.strings = {
|
|||
'uk': 'Ти вже пройшов цей рівень, спробуй інші рівні з "levels" чи повернись в пісочницю з "sandbox"'
|
||||
},
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
'solved-level': {
|
||||
'__desc__': 'When you solved a level',
|
||||
'en_US': 'Solved!!\n:D',
|
||||
'ru_RU': 'Решено!!\n:D',
|
||||
'uk' : 'Вирішено!!\n:D'
|
||||
},
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
'command-disabled': {
|
||||
'__desc__': 'When you try a command that is disabled',
|
||||
'en_US': 'That git command is disabled for this level!',
|
||||
|
|
|
@ -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