Skip to content

i18n: translate the ledger-templates screen#36

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

i18n: translate the ledger-templates screen#36
Vance1832 merged 1 commit into
mainfrom
i18n-ledger-templates

Conversation

@Vance1832

Copy link
Copy Markdown
Owner

Continues the EN/Burmese localization of the owner console — the ledger-templates screen.

What

  • New ledgerTemplates namespace in both messages/en.ts and messages/my.ts (Burmese type-checked against English).
  • Localizes the build-ledgers section, automatic period scheduling (weekday toggles, daily close time, days-ahead, code prefix), the new-template builder + tier rows, and the saved-templates list.
  • Weekday labels map through a WEEKDAY_KEYS array so the Mon..Sun buttons read t while preserving the Mon=0..Sun=6 index logic.
  • Status/result messages and tier badges localized; dropdown values (period/template ids, status data) stay in English.

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 ledger-templates console screen (EN/Burmese):
the build-ledgers section, automatic period scheduling (weekday toggles,
close time, days-ahead, code prefix), the new-template builder with its
tier rows, and the saved-templates list. Adds a `ledgerTemplates` namespace
to both messages/en.ts and messages/my.ts; weekday labels map through a
WEEKDAY_KEYS array so the Mon..Sun buttons read `t`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Vance1832 Vance1832 merged commit 05c0fbb into main Jun 25, 2026
2 checks passed
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