- ely-ui passes its resolved locale to Windows text layout, so Chinese UI lays out as Chinese whatever the Windows region. - Component a4bf696: Find box, sort and filter builders and password tooltips read the catalog; stricter shipped-copy scan. - ElyMark deletes the right-clicked picture (delete_image(at)). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
8 lines
2.3 KiB
Markdown
8 lines
2.3 KiB
Markdown
FAIL
|
||
|
||
1. `vendor/gpui-pre-windows/src/direct_write.rs:1865` — 排版语言不跟随应用选择的简体中文。Windows 用户区域为 `ja-JP` 时,这里直接保留日文;即使 Ely 设置为简体中文或指定 `ELY_LOCALE=zh-CN`,所有中文标签仍按日文选字体。隔离副本用真实 DirectWrite 和组件的 Inter SemiBold 排版“打开仓库”:`ja-JP` 得到前两字 Yu Gothic UI、字重 600,后两字 Microsoft JhengHei UI、字重 700;`zh-CN` 则四字均为 Microsoft YaHei UI、字重 600,原问题仍可复现。应让中文界面的实际语言到达排版层,并覆盖系统区域与应用语言不一致的测试;仅验证 `han()` 的语言前缀不能发现此问题。证据:`.work/R4.13-r1/probes.log`。
|
||
|
||
2. `Cargo.toml:22` — 新 pin 的 `FindWidget` 只翻译了关闭提示,查找界面仍有大量固定英文(组件 `src/editor/find.rs:179`、`:325`;ElyMark 在 `apps/ely-mark/src/finding.rs:186` 使用,ElyPDF 在 `apps/ely-pdf/src/search.rs:188` 使用)。简体中文下打开查找,无匹配仍显示 `No results`,有匹配显示 `1 of 2`,展开替换仍显示 `Replace`、`Replace all`;大小写、全词及前后匹配的提示也仍是英文。设置 `I18n::new("zh-CN")` 后的渲染探针直接记录到这些文字。应在共享组件中将计数、按钮和提示全部接入中英目录,再更新 pin;增加中文渲染断言,现有 `shipped.rs` 扫描在这些英文实际显示时仍通过。证据:`.work/R4.13-r1/probes.log`、`.work/R4.13-r1/component-and-windows-baseline.log`。
|
||
|
||
3. `apps/ely-table/src/data/dialogs.rs:61` — ElyTable 实际使用的排序、筛选组件仍未完成中文显示,`agents.md:87` 记录的这项缺口属于 R4.13 要求覆盖的已使用组件。简体中文下选中数据并打开排序,仍显示 `Add sort`、`Ascending`、`Descending`;打开筛选并添加两条规则,仍显示 `Add rule`、`Match all`、`Match any` 和 `contains` 等条件。组件 `src/tables/builders.rs:227`、`:246`、`:368`、`:398` 及 `src/tables/rules.rs:29` 保留了这些英文,渲染探针已复现。应将这些显示文字接入组件的中英目录,保留条件的内部标识,更新 pin 与缺口记录,并覆盖按钮、分段选项和条件列表的中文渲染测试。证据:`.work/R4.13-r1/probes.log`。
|