Make game termination message more consistent (always use '•' as a
separator)pull/9761/head
parent
8ee29976f0
commit
0f77e19106
|
@ -71,7 +71,7 @@ object widgets {
|
|||
gameEndStatus(g),
|
||||
g.winner.map { winner =>
|
||||
frag(
|
||||
", ",
|
||||
" • ",
|
||||
winner.color.fold(trans.whiteIsVictorious(), trans.blackIsVictorious())
|
||||
)
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ function renderResult(ctrl: AnalyseCtrl): VNode[] {
|
|||
const winner = getPlayer(ctrl.data, ctrl.data.game.winner!);
|
||||
return render(result, [
|
||||
statusView(ctrl),
|
||||
winner ? ', ' + ctrl.trans(winner.color == 'white' ? 'whiteIsVictorious' : 'blackIsVictorious') : null,
|
||||
winner ? ' • ' + ctrl.trans(winner.color == 'white' ? 'whiteIsVictorious' : 'blackIsVictorious') : null,
|
||||
]);
|
||||
} else if (ctrl.study) {
|
||||
const result = findTag(ctrl.study.data.chapter.tags, 'result');
|
||||
|
|
Loading…
Reference in New Issue