Files
AFFiNE/packages/frontend/apps
CommaBotandDarkSky f89487fa20 fix(electron): localize the tray menu (#15895)
The tray menu labels were hardcoded in English. They now come from i18n
keys, and the tray menu is rebuilt when the main process language
changes (the renderer already syncs its language to the main process).
Adds the Simplified Chinese translations.

A unit test builds the tray menu, switches the language to zh-Hans and
checks the labels.

fix #15684

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Desktop tray menu labels are now localized in English and Simplified
Chinese.
* Tray labels update when the app’s language changes, including
recording controls, settings, and app information.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-24 12:02:20 +08:00
..
2026-09-20 13:01:49 +08:00
2026-09-20 13:01:49 +08:00
2026-09-20 13:01:49 +08:00