Skip to content

i18n: translate the result-periods screen#34

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

i18n: translate the result-periods screen#34
Vance1832 merged 1 commit into
mainfrom
i18n-result-periods

Conversation

@Vance1832

Copy link
Copy Markdown
Owner

Continues the EN/Burmese localization of the owner console — the result-periods screen.

What

  • New resultPeriods namespace added to both messages/en.ts and messages/my.ts (Burmese type-checked against English).
  • Dropdown options (status / visibility / result-date / bet-type) 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.* / filters.* namespaces where applicable.
  • Drawer (create/edit) title, subtitle, field labels, toggle, hints, and error messages localized.

Verification

npm run typecheck && npm run lint && npm test && npm run build — all green. Grepped the file for leftover capitalized literals (none, excluding class names / data values / status keys).

🤖 Generated with Claude Code

Localize the owner-only result-periods console screen (EN/Burmese).
Adds a `resultPeriods` namespace to both messages/en.ts and messages/my.ts,
moves the status/visibility/date/bet-type dropdown options and column
definitions 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 4e85e36 into main Jun 25, 2026
2 checks passed
@Vance1832 Vance1832 deleted the i18n-result-periods branch June 25, 2026 12:19
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