fix(admin): close remaining raw i18n key leaks (Orders status filter, Users suspend/reactivate)

P0-8: re-verified the ~178-key admin i18n gap (docs/KNOWN-ISSUES.md
item 2, docs/ADMIN-UX-AUDIT.md) is largely fixed by prior commits,
but a live pass over Orders/Transactions/Users/Monitoring/Analytics
found 2 remaining leaks:

- adminOrders.status.all rendered literally in the Orders list's
  primary status filter (the bulk-action status select already
  excluded 'all' and was fine; the primary filter loop did not).
- adminUsers.suspend / adminUsers.reactivate rendered literally on
  every row action button on the Users page.

Added the missing keys to all 3 locales. Transactions, Monitoring,
and Analytics show no raw dot-key leaks in this pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-07-19 23:04:51 +04:00
parent e2d97d1ee9
commit 1c3926332f
4 changed files with 12 additions and 0 deletions

View File

@@ -1313,6 +1313,7 @@ export const ru: Translations = {
column_total: 'Сумма',
column_created: 'Оформлен',
status: {
all: 'Все статусы',
pending: 'Ожидает',
processing: 'Сборка',
shipped: 'Доставляется',
@@ -1701,6 +1702,8 @@ export const ru: Translations = {
revoke: 'Отозвать',
passwordlessHint: 'Участники входят через Telegram — пароли не нужны.',
confirmSuspend: 'Заблокировать этого участника? Доступ будет закрыт немедленно.',
suspend: 'Заблокировать',
reactivate: 'Восстановить',
scopeValue: {
marketplace: 'Витрина',
office: 'Бэк-офис',