Skip to content

OpenAutoPath v0.2.0 — 中英文语言支持 / Chinese and English support

Latest

Choose a tag to compare

@dialoug dialoug released this 11 Nov 08:26

中文

本版新增简体中文与英语界面,并补齐通知、报错和调试日志的语言支持。

  • 默认简体中文,可通过“视图 → 语言 → 英语”切换;设置保存在本机,重启后生效。
  • 内嵌 2,147 条英文界面及消息翻译、1,034 条中文诊断翻译、80 条日志翻译和 63 组模型分类显示名称。
  • Qt 标准按钮和文件对话框跟随应用语言;组合错误消息保留路径、数值和内部标识。
  • 增加双语界面、真实日志输出和语言设置回归测试;Windows 包包含 Qt 翻译源码、许可和相应完整性检查。

本地验证:RelWithDebInfo 主程序构建成功,9 项相关测试通过,Runtime 安装中的翻译源码与许可哈希一致。正式包须通过本次 Release 工作流的跨平台 CI 和解压启动验证后才发布。

已知边界:切换语言需要重启;未收录的第三方异常及第三方库直接输出的消息可能保留原文。文件名、用户命名、内部标识和 NC 程序原文不作翻译。

English

This release adds Simplified Chinese and English interfaces, including application notifications, errors and debug logs.

  • Select 视图 → 语言 → 英语 in the default Chinese interface, then restart. The preference is stored locally.
  • Embedded catalogs include 2,147 English UI/message entries, 1,034 Chinese diagnostic entries, 80 log entries and 63 pairs of model classification labels.
  • Qt standard controls follow the application language. Composed diagnostics preserve paths, numeric values and stable identifiers.
  • Adds regression coverage for both languages, actual logging and saved preferences. Windows packages include the Qt translation source and licenses, with packaging checks.

Local verification: the RelWithDebInfo application builds, nine relevant tests pass, and installed translation source/license hashes match. Release CI must also pass cross-platform checks and extracted-package startup validation before publication.

Language changes require a restart. Unknown third-party exceptions and messages written directly by third-party libraries may remain in their original language. Filenames, user names, stable identifiers and original NC program text remain unchanged.