Feat/dashboard i18n chinese - 代码报告看板兼容中文#130
Conversation
i18n keys added: - pathFinder: title, description, fromNode, toNode, selectNode, findPath, searching, noPath, pathFound, nodes - persona: overviewDesc, learnDesc, deepDiveDesc - diff: diff, on, off, hideOverlay, showOverlay, noData, changed, affected - codeViewer: noFileSelected, linesRange, fullFile, openLarger, close, closeExpanded, loading, sourceUnavailable, lineCount - fileExplorer: noFilePaths - token: unexpectedResponse, serverUnreachable - warning: all fatal/autoCorrection/droppedItem pluralization keys, copyTextFatal1/2, copyTextNonFatal1/2/3, copied, copyIssues, copyFatal, copyNonFatal, clipboardFailed, expand, collapse - layer: layersCount
Summary / 简介This PR introduces internationalization (i18n) support to the Dashboard and adds a complete Chinese (Simplified) translation. It replaces all hardcoded strings across the UI components with i18n keys and provides a language switcher for users to toggle between English and Chinese seamlessly. Changes / 主要更改
|
There was a problem hiding this comment.
I was wondering how to define if a codebase is "Chinese Code"? The README or something.
I'd recommend the skill to ask the user~
Code reviewFound 5 issues:
同样的回退也出现在
i18n 初始化缺
Understand-Anything/understand-anything-plugin/packages/dashboard/src/App.tsx Lines 189 to 194 in bd0db2a 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
|
补一句 process 上的建议(无意冒犯): 看 18 个 commits 的粒度,像是 AI 一个文件一个文件改出来的。这种工作流下 AI 看不到跨文件影响,所以才漏掉:
这几个问题如果作者在合 PR 之前 pnpm dev:dashboard 跑起来切到中文,基本一眼就发现了。下次 AI 写完整体 grep 一下 + 浏览器里实际点一下,大概能筛掉 80% 这种。 |
|
Hi, thanks for your contribution. I'll close this for the problem has been solved by #142 |
No description provided.