chore: drop the game.over label, show only the result
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 10s
CI / integration (pull_request) Successful in 14s
CI / ui (pull_request) Successful in 51s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m15s

This commit is contained in:
Ilia Denisov
2026-06-17 22:58:17 +02:00
parent da491b6bde
commit 91c4efc8a8
3 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -1090,7 +1090,7 @@
<div class="status"> <div class="status">
<span>{view.bagLen === 0 ? t('game.bagEmpty') : t('game.bag', { n: view.bagLen })}</span> <span>{view.bagLen === 0 ? t('game.bagEmpty') : t('game.bag', { n: view.bagLen })}</span>
{#if gameOver} {#if gameOver}
<strong class="over">{t('game.over')}{resultText()}</strong> <strong class="over">{resultText()}</strong>
{:else if placement.pending.length === 0} {:else if placement.pending.length === 0}
<span class="turn-ind">{isMyTurn ? t('game.yourTurn') : turnLabel()}</span> <span class="turn-ind">{isMyTurn ? t('game.yourTurn') : turnLabel()}</span>
{/if} {/if}
-1
View File
@@ -83,7 +83,6 @@ export const en = {
'game.passNoExchange': 'Pass without exchanging', 'game.passNoExchange': 'Pass without exchanging',
'game.confirmResign': 'Resign this game?', 'game.confirmResign': 'Resign this game?',
'game.hintShown': 'Best move: {word} for {n}', 'game.hintShown': 'Best move: {word} for {n}',
'game.over': 'Game over',
'game.won': 'You won', 'game.won': 'You won',
'game.lost': 'You lost', 'game.lost': 'You lost',
'game.tied': 'Draw', 'game.tied': 'Draw',
-1
View File
@@ -84,7 +84,6 @@ export const ru: Record<MessageKey, string> = {
'game.passNoExchange': 'Пас без обмена', 'game.passNoExchange': 'Пас без обмена',
'game.confirmResign': 'Сдаться в этой игре?', 'game.confirmResign': 'Сдаться в этой игре?',
'game.hintShown': 'Лучший ход: {word} на {n}', 'game.hintShown': 'Лучший ход: {word} на {n}',
'game.over': 'Игра окончена',
'game.won': 'Вы выиграли', 'game.won': 'Вы выиграли',
'game.lost': 'Вы проиграли', 'game.lost': 'Вы проиграли',
'game.tied': 'Ничья', 'game.tied': 'Ничья',