Skip to content

i18n: translate the ledgers screen#35

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

i18n: translate the ledgers screen#35
Vance1832 merged 1 commit into
mainfrom
i18n-ledgers

Conversation

@Vance1832

Copy link
Copy Markdown
Owner

Continues the EN/Burmese localization of the owner console — the ledgers screen.

What

  • New ledgers namespace added to both messages/en.ts and messages/my.ts (Burmese type-checked against English).
  • Localizes the ledger list table, the create/edit drawer, and the per-number capacity drawer (range filter buttons, summary cards, capacity rows).
  • Dropdown options (status / priority / result period) and table columns built inside the component so they read t.
  • Status badge labels mapped through a STATUS_KEY object → message keys.
  • Filter values stay in English (filter logic unchanged); only labels are localized. Reuses shared common.status.

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 ledgers console screen (EN/Burmese), including the
ledger list table, create/edit drawer, and the per-number capacity drawer
(range filters, summary cards, capacity rows). Adds a `ledgers` namespace to
both messages/en.ts and messages/my.ts, builds the status/priority/result-
period dropdown options and columns inside the component so they read `t`,
and maps status keys to message keys via a STATUS_KEY object. Filter values
stay in English; only labels are localized.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Vance1832 Vance1832 merged commit 2616010 into main Jun 25, 2026
2 checks passed
@Vance1832 Vance1832 deleted the i18n-ledgers branch June 25, 2026 12:30
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