Merge pull request #3110 from niklasf/trans-custom
make "Custom" in lobby translatable
This commit is contained in:
commit
392b569ac5
|
@ -22,5 +22,6 @@ trans.yourTurn,
|
|||
trans.rating,
|
||||
trans.createAGame,
|
||||
trans.quickPairing,
|
||||
trans.lobby
|
||||
trans.lobby,
|
||||
trans.custom
|
||||
)))
|
||||
|
|
|
@ -520,6 +520,7 @@ val `error.minLength` = new Translated("error.minLength")
|
|||
val `error.maxLength` = new Translated("error.maxLength")
|
||||
val `error.min` = new Translated("error.min")
|
||||
val `error.max` = new Translated("error.max")
|
||||
val `custom` = new Translated("custom")
|
||||
val `nbPlayers` = new Translated("nbPlayers")
|
||||
val `nbGames` = new Translated("nbGames")
|
||||
val `nbBookmarks` = new Translated("nbBookmarks")
|
||||
|
|
|
@ -606,4 +606,5 @@
|
|||
<string name="error.maxLength">Maximum length is %s</string>
|
||||
<string name="error.min">Must be greater or equal to %s</string>
|
||||
<string name="error.max">Must be less or equal to %s</string>
|
||||
<string name="custom">Custom</string>
|
||||
</resources>
|
||||
|
|
|
@ -25,6 +25,6 @@ module.exports = function(ctrl) {
|
|||
onclick: function() {
|
||||
$('#start_buttons .config_hook').mousedown();
|
||||
}
|
||||
}, 'Custom')
|
||||
}, ctrl.trans('custom'))
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue