Add translation mechanism for "Objective"

Resolves #321
This commit is contained in:
Oleksandr Redko 2015-10-24 14:33:10 +03:00
parent 5501bdf9da
commit 0c0840c585
2 changed files with 7 additions and 1 deletions

View file

@ -917,6 +917,12 @@ exports.strings = {
'ru_RU': 'Спрятать цель'
},
///////////////////////////////////////////////////////////////////////////
'objective-button': {
'__desc__': 'button label to show objective',
'en_US': 'Objective',
'ru_RU': 'Задача'
},
///////////////////////////////////////////////////////////////////////////
'goal-to-reach': {
'__desc__': 'title of window that shoes the goal tree to reach',
'en_US': 'Goal To Reach',

View file

@ -70,7 +70,7 @@ var LevelToolbarView = React.createClass({
<button
onClick={this.props.onObjectiveClick}
type="button">
Objective
{intl.str('objective-button')}
</button>
</div>
</div>