mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-21 06:35:07 +00:00
* fix(web-shell): i18n for ~43 hardcoded English strings across 15 files Multi-round audit replaced hardcoded UI strings with t() calls and added en/zh-CN i18n keys for: - Session timeline labels, aria-labels, and kind labels (MessageList) - SubAgent tab labels, tools count, pending/running status - Auth protocol option labels, placeholders, API key masking - Voice dictation UI states (VoiceButton) - Copy tooltip, Runtime badge, N/A, Server/Agent fallbacks - Mermaid code block labels, image alt text, model switch summary * fix(web-shell): i18n for missed models placeholder in AuthMessage * fix(web-shell): invalidate timeline cache on locale switch Store the t function reference in sessionTimelineCache alongside the message signature. When the locale changes, t gets a new reference, triggering cache invalidation and re-generating entries with the new language labels. |
||
|---|---|---|
| .. | ||
| DiffView.module.css | ||
| DiffView.tsx | ||
| LegacyTool.module.css | ||
| ParallelAgentsGroup.module.css | ||
| ParallelAgentsGroup.tsx | ||
| SubAgentPanel.module.css | ||
| SubAgentPanel.test.tsx | ||
| SubAgentPanel.tsx | ||
| ToolChrome.module.css | ||
| toolDisplay.tsx | ||
| ToolStatus.module.css | ||