Skip to content

[6/N] fix(zh): localize calculator and hardware references / 完善计算器与硬件参考页面中文本地化 - #837

Draft
edwingao28 wants to merge 3 commits into
masterfrom
feat/zh-calculator-hardware
Draft

[6/N] fix(zh): localize calculator and hardware references / 完善计算器与硬件参考页面中文本地化#837
edwingao28 wants to merge 3 commits into
masterfrom
feat/zh-calculator-hardware

Conversation

@edwingao28

Copy link
Copy Markdown
Collaborator

Part of #823 / 属于 #823 路线图的一部分

What changed

  • Complete the Simplified Chinese review of Calculator, GPU Specs, GPU Metrics/PowerX, topology dialogs, and Current InferenceX Image.
  • Localize chart axes, selectors, tooltips, legends, topology labels, table headers, empty/error/retry states, dates, and accessibility names.
  • Add keyboard-operable GPU statistics sorting and tracked retry/share/relock interactions.
  • Cover 1440, 390, and 375 widths in the relevant Cypress specs while preserving exact English strings and number formatting.

Validation

  • Focused locale and behavior suite: 272 tests passed.
  • Workspace unit suite, typecheck, lint, format, and diff check: passed.
  • Independent source/spec and code-quality reviews: approved.

Pending Draft verification

  • Run Chrome and Firefox against the fixture build and regenerate observed timings. The new current-inferencex-image.cy.ts entry is intentionally absent until an observed full run is available.
  • Complete the Chinese maintainer's page-by-page visual and copy review before marking ready.

中文说明

  • 完成 Calculator、GPU Specs、GPU Metrics/PowerX、拓扑弹窗与 Current InferenceX Image 的中文审核。
  • 中文化图表坐标轴、选择器、tooltip、图例、拓扑标签、表头、空/错误/重试状态、日期和无障碍名称。
  • GPU 统计排序改为可通过键盘操作,并为重试、分享和重新锁定交互补齐 analytics。
  • 相关 Cypress spec 明确覆盖 1440、390 和 375 宽度,同时保持英文字符串与数字格式不变。

验证

  • 聚焦本地化与行为测试:272 项通过。
  • 全仓单元测试、typecheck、lint、格式检查和 diff 检查:通过。
  • 独立源码/规格审核及代码质量审核:通过。

Draft 阶段待验证

  • 在 fixture build 上运行 Chrome 与 Firefox,并按完整实测结果更新 timings。新增的 current-inferencex-image.cy.ts 在取得实测前刻意不填写 timing。
  • 转为 Ready 前,由中文维护者完成逐页面视觉与文案终审。

Localize Calculator, GPU Specs, GPU Metrics, and Current InferenceX Image across charts, tooltips, states, accessibility, and responsive route coverage.

Preserve English output and technical units while adding locale-aware registries, retry states, and desktop/mobile Cypress paths.

中文:完善 Calculator、GPU Specs、GPU Metrics 与 InferenceX 当前镜像的中文文案,覆盖图表、提示框、状态、无障碍和响应式路由测试;同时保持英文输出与技术单位不变。
Cover Calculator, GPU Specs, GPU Metrics, and Current InferenceX Image at 1440px, 390px, and 375px with objective locale and containment assertions.

Move Current Image coverage out of the localization smoke spec, restore the exact English Mori spelling while keeping reviewed Chinese MoRI copy, and refresh the tooltip localization comment.

中文:补齐 Calculator、GPU Specs、GPU Metrics 与 InferenceX 当前镜像在 1440、390 和 375 像素下的客观语言与页面宽度检查。将当前镜像测试移出中文 smoke spec,恢复英文 Mori 原始拼写,同时保留中文 MoRI 写法,并更新提示框本地化注释。
Restore the exact English scale-out expand-button aria-label while retaining localized Chinese button and SVG labels.

Freeze Current InferenceX Image route tests at a fixed UTC instant so zero-day age assertions remain deterministic across midnight.

中文:恢复横向扩展按钮原有的英文 aria-label,同时保留自然的中文按钮与 SVG 标签;固定 InferenceX 当前镜像路由测试的 UTC 时间,避免跨午夜时 0 天断言波动。
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview Aug 23, 2026 10:32pm

Request Review

@edwingao28 edwingao28 changed the title fix(zh): localize calculator and hardware references / 完善计算器与硬件参考页面中文本地化 【3/7】fix(zh): localize calculator and hardware references / 完善计算器与硬件参考页面中文本地化 Aug 23, 2026
@edwingao28 edwingao28 changed the title 【3/7】fix(zh): localize calculator and hardware references / 完善计算器与硬件参考页面中文本地化 [3/7] fix(zh): localize calculator and hardware references / 完善计算器与硬件参考页面中文本地化 Aug 23, 2026
@edwingao28 edwingao28 changed the title [3/7] fix(zh): localize calculator and hardware references / 完善计算器与硬件参考页面中文本地化 [6/N] fix(zh): localize calculator and hardware references / 完善计算器与硬件参考页面中文本地化 Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant