Skip to content

fix: Windows 托盘跟随系统读取区域设置#13

Merged
ByteColtX merged 1 commit into
mainfrom
codex/fix-windows-tray-system-locale
May 14, 2026
Merged

fix: Windows 托盘跟随系统读取区域设置#13
ByteColtX merged 1 commit into
mainfrom
codex/fix-windows-tray-system-locale

Conversation

@ByteColtX
Copy link
Copy Markdown
Owner

Summary

  • Read the Windows user default locale name for tray System language selection.
  • Keep POSIX locale environment variables as fallback.
  • Add locale resolution coverage for zh-CN, en-US, unknown fallback, and explicit preference overrides.

Tests

  • cargo test i18n --lib
  • cargo test
  • cargo clippy --all-targets -- -D warnings
  • RC_PATH=/usr/bin/true cargo check --target x86_64-pc-windows-msvc

Closes #12

@ByteColtX ByteColtX merged commit 5b74653 into main May 14, 2026
1 check passed
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.

fix: Windows 托盘“跟随系统”语言未读取 Windows 系统区域设置

1 participant