mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-05 12:14:28 +02:00
Added few missing translations
First of all: + bottom command bar labels + missing command translation + command not supported in current environment translation
This commit is contained in:
parent
905845fa53
commit
38b19a6654
5 changed files with 71 additions and 11 deletions
|
@ -4,6 +4,7 @@ var HelperBarView = require('../react_views/HelperBarView.jsx');
|
|||
var Main = require('../app');
|
||||
|
||||
var log = require('../log');
|
||||
var intl = require('../intl');
|
||||
|
||||
class CommandsHelperBarView extends React.Component {
|
||||
|
||||
|
@ -23,32 +24,32 @@ class CommandsHelperBarView extends React.Component {
|
|||
|
||||
getItems() {
|
||||
return [{
|
||||
text: 'Levels',
|
||||
text: intl.str('command-helper-bar-levels'),
|
||||
onClick: function() {
|
||||
this.fireCommand('levels');
|
||||
}.bind(this),
|
||||
}, {
|
||||
text: 'Solution',
|
||||
text: intl.str('command-helper-bar-solution'),
|
||||
onClick: function() {
|
||||
this.fireCommand('show solution');
|
||||
}.bind(this),
|
||||
}, {
|
||||
text: 'Reset',
|
||||
text: intl.str('command-helper-bar-reset'),
|
||||
onClick: function() {
|
||||
this.fireCommand('reset');
|
||||
}.bind(this),
|
||||
}, {
|
||||
text: 'Undo',
|
||||
text: intl.str('command-helper-bar-undo'),
|
||||
onClick: function() {
|
||||
this.fireCommand('undo');
|
||||
}.bind(this),
|
||||
}, {
|
||||
text: 'Objective',
|
||||
text: intl.str('command-helper-bar-objective'),
|
||||
onClick: function() {
|
||||
this.fireCommand('objective');
|
||||
}.bind(this),
|
||||
}, {
|
||||
text: 'Help',
|
||||
text: intl.str('command-helper-bar-help'),
|
||||
onClick: function() {
|
||||
this.fireCommand('help general; git help');
|
||||
}.bind(this)
|
||||
|
|
|
@ -48,7 +48,7 @@ class LevelToolbarView extends React.Component {
|
|||
<div className="clearfix">
|
||||
<div className="levelNameWrapper">
|
||||
<i className="icon-bolt"></i>
|
||||
{' Level '}
|
||||
{ intl.str('level-label') }
|
||||
<span className="levelToolbarSpan">
|
||||
{this.props.name}
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue