Repository navigation
[Feature] Add Russian and English localization - #19
Conversation
JqyModi
left a comment
There was a problem hiding this comment.
感谢贡献,方向与项目的国际化需求一致。现有英文界面已经存在,这个 PR 的主要价值是补齐语言持久化、原生菜单/公告国际化,并新增完整俄语。
我在基于当前 jqy/win 的隔离工作树中验证通过:
typecheck- production build
- path provider verification
- profile generation verification
- subscription auth / profile creation / reauthorization
- Windows launcher / config inheritance / profile creation / session sync
- 英文与俄语翻译键:217 / 217,无缺失
合并前需要修复一个 macOS 阻塞项:
macOS 应用菜单缺少 appMenu
buildApplicationMenu() 当前直接以“文件/File/Файл”作为第一项。Electron 在 macOS 上要求第一项是应用菜单(role: "appMenu");否则第一项会占据应用菜单位置,About、Services、Hide/Hide Others 等标准 macOS 菜单也会丢失。
请在 darwin 下先加入 { role: "appMenu" }(或构建等价的完整应用菜单),再追加 File/Edit/View/Window/Help;Windows 继续保留当前结构即可。建议补一个针对生成菜单模板的验证,防止后续回归。
修复后请将 PR 标记为 Ready for review,我会重新运行验证并继续合并流程。
|
Implemented the requested macOS menu fix:
Typecheck, production build, Windows packaging, and the platform-relevant verification scripts pass. The pull request is ready for re-review. Thank you! |
JqyModi
left a comment
There was a problem hiding this comment.
验收通过,批准合并。
已复验贡献者新增的 macOS 菜单修复:
- macOS 菜单首项为
role: "appMenu"; - Windows 菜单顺序保持不变;
- 新增应用菜单回归验证并通过。
完整本地验证通过:
- TypeScript 主进程和渲染进程检查;
- 生产构建;
- 应用菜单、路径、Profile 生成验证;
- 订阅授权、Profile 创建、重新授权;
- Windows 启动、配置继承、Profile 创建、历史同步;
- 中英文俄语翻译键 217/217,无缺失。
感谢贡献,PR 可以合并。

Summary
This contribution adds complete Russian and English localization for the desktop profile manager while keeping Chinese available as an option.
Verification
npm run typechecknpm run buildnpm run verify:pathsnpm run package:win:x64:dirThe change is based on
jqy/winand is ready for maintainer review. The local packaged build was tested separately; no credentials or private user data are included.