yyqdbngt opened a new pull request, #3069: URL: https://github.com/apache/rocketmq-dashboard/pull/3069
### Summary Localize the remaining Chinese-only copy on the Message page (`pages/instance/message.tsx`) — 18 literals untouched by the earlier message i18n slices: - **Trace tab**: tab label, `查询轨迹` button, `正在加载轨迹数据…` / `暂无轨迹数据` states. - **Query chrome**: page-header subtitle, `重置` and `服务端历史` buttons, the scan-limit warning alert, and the results-table `操作` column header. - **Error fallbacks**: the module-level `DEFAULT_QUERY_ERROR` / `DEFAULT_TRACE_ERROR` constants are removed; the three error paths now translate inline. - **Detail & consume**: `消息详情` modal title, its `关闭` (reuses `common.close`) / `直接消费` buttons, and the `直接消费消息` modal (title, `执行`, warning notice + description, consumer-group placeholder). ### Why These flows were the last untranslated surfaces on the page in English mode; the trace panel and direct-consume modal previously rendered entirely hardcoded Chinese. ### Testing - `tsc --noEmit` passes (exit 0). - `eslint` clean on changed files (0 errors). - Vitest: `MessagePage` and `MessagePageAsyncState` suites pass (2 files / 20 tests). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
