i18n(chart-editor): ChartEditor 界面文案接入 i18n(消除中英混排)#4
Merged
Conversation
- ChartEditor 的图表类型 / 区块标题 / 字段标签 / 按钮 / 状态 / 矩阵工具栏等全部走 t();
字体名、matplotlib 图例位置、Colormap、DPI 等技术标识符保留不译
- i18n 字典新增 ce.* 中英键;RunView 的「图表微调」入口按钮统一用 t("ce.launch")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
把图表微调编辑器
ChartEditor的全部界面文案接入 i18n,消除「折线图 Line」这类中英混排(承接 PR #3 合入后图表微调整合的收尾)。改动
ChartEditor.tsx:图表类型 / 区块标题 / 字段标签 / 按钮 / 状态 / 热图矩阵工具栏等全部走t();字体名、matplotlib 图例位置、Colormap、DPI等技术标识符保留不译。i18n.tsx:新增ce.*中英键。RunView.tsx:figure 任务头「图表微调」入口按钮统一用t("ce.launch")。验证
tsc --noEmit+vite build均通过;grep 自检 ChartEditor 仅余注释为中文,UI 文案 0 硬编码。🤖 Generated with Claude Code