mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 17:27:22 +02:00
rebuild and no more uppercase
This commit is contained in:
parent
5e7042c64b
commit
1b0d836a42
10 changed files with 74 additions and 18 deletions
|
@ -53,7 +53,7 @@ var str = exports.str = function(key, params) {
|
|||
return template(
|
||||
strings[key][locale],
|
||||
params
|
||||
).toUpperCase();
|
||||
);
|
||||
};
|
||||
|
||||
var getIntlKey = exports.getIntlKey = function(obj, key) {
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
exports.strings = {
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
'learn-git-branching': {
|
||||
'__desc__': 'The title of the app, with spaces',
|
||||
'en_US': 'Learn Git Branching'
|
||||
},
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
'select-a-level': {
|
||||
'__desc__': 'The prompt to select a level on the drop down view',
|
||||
|
@ -154,6 +159,16 @@ exports.strings = {
|
|||
'en_US': 'You are in a level builder, so multiple forms of help are available. Please select either "help general" or "help builder"'
|
||||
},
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
'goal-to-reach': {
|
||||
'__desc__': 'title of window that shoes the goal tree to reach',
|
||||
'en_US': 'Goal To Reach'
|
||||
},
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
'hide-goal': {
|
||||
'__desc__': 'the helper message for the window that shows the goal tree',
|
||||
'en_US': 'You can hide this window with "hide goal"'
|
||||
},
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
'hide-start': {
|
||||
'__desc__': 'The helper message for the window that shows the start tree for a level',
|
||||
'en_US': 'You can hide this window with "hide start"'
|
||||
|
|
|
@ -4,6 +4,7 @@ var Q = require('q');
|
|||
var Backbone = (!require('../util').isBrowser()) ? require('backbone') : window.Backbone;
|
||||
|
||||
var Main = require('../app');
|
||||
var intl = require('../intl');
|
||||
var Constants = require('../util/constants');
|
||||
var KeyboardListener = require('../util/keyboard').KeyboardListener;
|
||||
var GitError = require('../util/errors').GitError;
|
||||
|
@ -590,8 +591,8 @@ var CanvasTerminalHolder = BaseView.extend({
|
|||
options = options || {};
|
||||
this.destination = $('body');
|
||||
this.JSON = {
|
||||
title: options.title || 'Goal To Reach',
|
||||
text: options.text || 'You can hide this window with "hide goal"'
|
||||
title: options.title || intl.str('goal-to-reach'),
|
||||
text: options.text || intl.str('hide-goal')
|
||||
};
|
||||
|
||||
this.render();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue