Skip to content

i18n: translate the settlement-preview screen#38

Merged
Vance1832 merged 1 commit into
mainfrom
i18n-settlement-preview
Jun 25, 2026
Merged

i18n: translate the settlement-preview screen#38
Vance1832 merged 1 commit into
mainfrom
i18n-settlement-preview

Conversation

@Vance1832

Copy link
Copy Markdown
Owner

Continues the EN/Burmese localization of the owner console — the settlement-preview screen.

What

  • New settlementPreview namespace in both messages/en.ts and messages/my.ts (Burmese type-checked against English).
  • Localizes the settlement-batches table, the per-batch detail drawer (summary cards + matched-users table), and the approve/void confirmation modals including the required void reason.
  • Dropdown options (status / result period / date) and table columns built inside the component so they read t.
  • Status badge labels mapped through a STATUS_KEY object → message keys; reuses shared common.status / filters.*. The SET-… batch id routes through a batchIdFull helper.
  • Filter values stay in English (filter logic unchanged); only labels are localized.

Verification

npm run typecheck && npm run lint && npm test && npm run build — all green. Grepped the file for leftover capitalized literals (none).

🤖 Generated with Claude Code

Localize the owner-only settlement-preview console screen (EN/Burmese): the
batches table, the per-batch detail drawer (summary cards + matched-users
table), and the approve/void confirmation modals (including the required void
reason). Adds a `settlementPreview` namespace to both messages/en.ts and
messages/my.ts, builds the status/period/date dropdown options and table
columns inside the component so they read `t`, maps status keys to message
keys via a STATUS_KEY object, and routes the SET-… batch id through a
`batchIdFull` helper. Filter values stay in English.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Vance1832 Vance1832 merged commit 89ec8fc into main Jun 25, 2026
2 checks passed
@Vance1832 Vance1832 deleted the i18n-settlement-preview branch June 25, 2026 13:10
Vance1832 added a commit that referenced this pull request Jun 25, 2026
All owner screens are now bilingual (result-periods #34, ledgers #35,
ledger-templates #36, result-entry #37, settlement-preview #38,
company-reserve #39, user-management #40), completing the EN/Burmese
localization across the whole app. Update HANDOFF.md and CLAUDE.md to reflect
that no screens remain; the i18n pattern is retained as reference for any new
screens. Real-time notifications is now the top remaining backlog item.

Co-authored-by: Khant Zayar <khantzayar0073@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants