Skip to content

fix(web): add missing i18n keys for session.inactive banner#851

Open
swear01 wants to merge 1 commit into
tiann:mainfrom
swear01:fix/web-session-inactive-i18n
Open

fix(web): add missing i18n keys for session.inactive banner#851
swear01 wants to merge 1 commit into
tiann:mainfrom
swear01:fix/web-session-inactive-i18n

Conversation

@swear01

@swear01 swear01 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

The inactive-session banner rendered by SessionChat.tsx referenced two translation keys — session.inactive.autoResume and session.inactive.cannotResume — that were never added to the locale dictionaries, so the UI showed the raw key string.

Added both keys to en.ts and zh-CN.ts.

  • EN: This session is inactive. Send a message to resume. / This session is inactive and cannot be resumed.
  • ZH: 此会话已停止。发送消息即可恢复。 / 此会话已停止,无法恢复。

Verified with bun typecheck and bun run test (all packages green).

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings
No findings.

Summary
Review mode: initial
No issues found in the locale-only diff. Residual risk: no automated check currently guarantees every t(...) key exists in each locale dictionary, so similar missing-key regressions can still slip through elsewhere.

Testing
Not run (automation)

HAPI Bot

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.

1 participant