UI: render non-play history moves as a dim lowercase tag
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 40s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 58s

Per owner feedback: pass/exchange/resign/timeout rows in the move history now read
as a dim, parenthesised, lowercase tag — e.g. «(обмен)» — so they stand apart from a
scored word. The move.* catalog values are lowercased (resign RU → «сдаюсь»); the
parentheses and the muted colour (var(--text-muted)) are applied in the view via a
.ha.sys modifier.
This commit is contained in:
Ilia Denisov
2026-06-11 19:23:55 +02:00
parent ac29dca865
commit b14cc38919
4 changed files with 17 additions and 12 deletions
+3 -3
View File
@@ -14,9 +14,9 @@ describe('i18n catalog', () => {
});
it('localizes move-history action labels', () => {
expect(translate('ru', 'move.exchange')).toBe('Обмен');
expect(translate('ru', 'move.pass')).toBe('Пас');
expect(translate('en', 'move.exchange')).toBe('Exchange');
expect(translate('ru', 'move.exchange')).toBe('обмен');
expect(translate('ru', 'move.pass')).toBe('пас');
expect(translate('en', 'move.exchange')).toBe('exchange');
});
it('maps error codes to keys with a generic fallback', () => {