fix special case of enPassant translation - closes #8012
This commit is contained in:
parent
5ef6c04e5d
commit
30ea09a2bb
|
@ -17,7 +17,8 @@ object bits {
|
|||
def daily(p: lila.puzzle.Puzzle, fen: chess.format.FEN, lastMove: String) =
|
||||
views.html.board.bits.mini(fen, p.color, lastMove)(span)
|
||||
|
||||
def jsI18n(implicit lang: Lang) = i18nJsObject(i18nKeys)
|
||||
def jsI18n(implicit lang: Lang) = i18nJsObject(i18nKeys) +
|
||||
(PuzzleTheme.enPassant.key.value -> JsString(PuzzleTheme.enPassant.name.txt()(lila.i18n.defaultLang)))
|
||||
|
||||
lazy val jsonThemes = PuzzleTheme.all
|
||||
.collect {
|
||||
|
|
Loading…
Reference in a new issue