Merge pull request #3110 from niklasf/trans-custom

make "Custom" in lobby translatable
This commit is contained in:
Thibault Duplessis 2017-05-31 16:24:34 +02:00 committed by GitHub
commit 392b569ac5
4 changed files with 5 additions and 2 deletions

View file

@ -22,5 +22,6 @@ trans.yourTurn,
trans.rating,
trans.createAGame,
trans.quickPairing,
trans.lobby
trans.lobby,
trans.custom
)))

View file

@ -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")

View file

@ -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>

View file

@ -25,6 +25,6 @@ module.exports = function(ctrl) {
onclick: function() {
$('#start_buttons .config_hook').mousedown();
}
}, 'Custom')
}, ctrl.trans('custom'))
];
};