Skip to content

feat(localization): 支持简体中文界面 - #2

Merged
DCjanus merged 12 commits into
mainfrom
feat/settings-simplified-chinese
Oct 16, 2026
Merged

DCjanus merged 12 commits into
mainfrom
feat/settings-simplified-chinese

Conversation

@DCjanus

@DCjanus DCjanus commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Related issue

不关联 Issue;这是 fork 自维护的本地化改动。

What changed

  • 使用 String Catalog 提供设置页、启动器、应用菜单和内置操作的简体中文翻译,覆盖 AI Providers、听写、会议详情与日历议程、GitHub 扩展安装与更新、窗口快捷键预设、备份导出与 Raycast 导入等界面。
  • 在“通用 → 外观”提供跟随系统、English 和简体中文三种应用语言选项,切换后重启生效。
  • 保留用户输入、应用名称与第三方扩展内容的原文;设置导航 identity 与翻译展示文本分离,并在展示端解析模型标签及动态格式化提示。

Memory footprint

仅增加静态字符串资源和按需字符串解析;未新增长期状态、后台任务或缓存。

Leak-tested: 不适用;未改变对象生命周期或资源持有关系。

Demo

已在 /Applications 中的最新 Dev App 验证备份页:导出分类、文件说明及共享的 Raycast 导入选项显示为中文,两组选项在“全选”和“取消全选”之间切换正常。

已核对安装包中的中文资源及数量、文件名状态格式;听写等其他新增界面的目视验收尚未完成。

Drawbacks

  • 新增内置文案时需要同步维护 String Catalog。本地化检查覆盖设置文案、显式运行时格式 key 和听写模型标签,备份分类及数量单位、选择器标签和全选按钮的两个分支也纳入检查;其他间接呈现路径仍需要人工审计。
  • 用户内容、第三方扩展名称和技术示例按来源原样显示。

Tests & validation

  • 设置导航与语言选项的回归 harness 验证翻译不会改变目标 identity 或读写其他应用的语言偏好。
  • 构造 Settings 目录外的运行时格式 key:缺少中文条目时本地化检查失败,补齐对应翻译后通过。

@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from b2a35cb to 04bb325 Compare September 17, 2026 07:09
@DCjanus
DCjanus changed the base branch from main to fix/app-localization-foundation September 17, 2026 07:09
@DCjanus
DCjanus added this pull request to stack #5 September 17, 2026 07:19
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from 04bb325 to e427253 Compare September 17, 2026 08:01
@DCjanus
DCjanus removed this pull request from stack #5 September 17, 2026 08:03
@DCjanus
DCjanus added this pull request to stack #7 September 17, 2026 08:03
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch 2 times, most recently from 2c213be to 6ed048b Compare September 18, 2026 03:45
@DCjanus
DCjanus removed this pull request from stack #7 September 18, 2026 04:10
@DCjanus
DCjanus added this pull request to stack #9 September 18, 2026 04:10
DCjanus pushed a commit that referenced this pull request Sep 18, 2026
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from 6ed048b to 90a1b76 Compare September 18, 2026 20:47
@DCjanus
DCjanus removed this pull request from stack #9 September 18, 2026 20:51
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from 90a1b76 to f4bd69f Compare September 18, 2026 21:00
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from f4bd69f to bfcd68c Compare September 23, 2026 03:46
@DCjanus
DCjanus added this pull request to stack #10 September 23, 2026 03:47
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch 2 times, most recently from 05fd1dc to f27cd84 Compare September 28, 2026 04:05
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from f27cd84 to 495d585 Compare September 28, 2026 04:14
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from 495d585 to 47b07a1 Compare September 29, 2026 16:07
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from fd53bff to 08f77ab Compare October 4, 2026 04:49
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch 2 times, most recently from a952b0c to f892916 Compare October 4, 2026 05:09
@DCjanus
DCjanus removed this pull request from stack #10 October 5, 2026 04:12
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from a735197 to d2beedd Compare October 5, 2026 04:13
@DCjanus
DCjanus added this pull request to stack #12 October 5, 2026 04:16
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from d2beedd to a93d896 Compare October 5, 2026 04:34
DCjanus added 12 commits October 9, 2026 09:57
Keep settings identities and user-authored text stable while localizing Tinycast-owned UI, including surfaces added by upstream.

Assisted-by: codex:gpt-5.6-sol
@DCjanus
DCjanus force-pushed the feat/settings-simplified-chinese branch from a93d896 to 63ad431 Compare October 9, 2026 02:08
Base automatically changed from fix/app-localization-foundation to main October 16, 2026 06:57
@DCjanus
DCjanus merged commit 63ad431 into main Oct 16, 2026
3 of 4 checks passed
@DCjanus
DCjanus deleted the feat/settings-simplified-chinese branch October 16, 2026 06:57
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