Skip to content

fix(i18n): extract remaining CLI + dashboard hardcoded strings#945

Merged
esengine merged 5 commits into
esengine:mainfrom
Evan-Pycraft:feat/dashboard-i18n-gaps
May 15, 2026
Merged

fix(i18n): extract remaining CLI + dashboard hardcoded strings#945
esengine merged 5 commits into
esengine:mainfrom
Evan-Pycraft:feat/dashboard-i18n-gaps

Conversation

@Evan-Pycraft
Copy link
Copy Markdown
Contributor

@Evan-Pycraft Evan-Pycraft commented May 15, 2026

Summary

合并 CLI + dashboard i18n 补漏。

CLI (3 files):

  • stats.ts — 用法提示改用 t()
  • run.ts — API key 提示改用 t(),MCP hint 复用已有 key
  • sessions.ts — 空会话提示改用 t()

Dashboard (5 files):

  • i18n/en.ts + zh-CN.ts: +3 sections (error, fmt, settings), 补齐 changes key
  • lib/error-boundary.ts: 错误覆盖层 8 处英文字符串改用 t()
  • lib/format.ts: fmtRelativeTime 4 个相对时间改用 t()
  • panels/changes.ts: 3 个 alert() 改用 t()

Test plan

  • npm run build — clean
  • npx tsc --noEmit — clean
  • en ↔ zh-CN key parity — clean

@Evan-Pycraft Evan-Pycraft changed the title fix(i18n): fill dashboard i18n gaps — error overlay, relative time, changes keys fix(i18n): extract remaining CLI + dashboard hardcoded strings May 15, 2026
@esengine
Copy link
Copy Markdown
Owner

LGTM — clean extraction, en/zh parity holds, CI green across platforms. Ready to squash.

@esengine esengine merged commit 43cae05 into esengine:main May 15, 2026
4 checks passed
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