Skip to content

add Chinese support#948

Open
Antenbabby wants to merge 13 commits into
jordanbaird:mainfrom
Antenbabby:main
Open

add Chinese support#948
Antenbabby wants to merge 13 commits into
jordanbaird:mainfrom
Antenbabby:main

Conversation

@Antenbabby
Copy link
Copy Markdown

add Chinese support
添加中文支持

antennaBabby and others added 13 commits May 24, 2026 19:39
Clicking the HItem (hidden section divider) now shows an IceBarPanel
anchored below HItem instead of expanding items inline in the menu bar.
The popup displays only stowed icons and supports click-to-interact
via the existing tempShowItem mechanism.

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
Triggered on push to main and claude/* branches.

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
Uploads the compiled Ice.app as a downloadable artifact.

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
Use find to locate .app in DerivedData, then package with ditto.
This ensures the .app bundle is packaged correctly regardless of
the exact DerivedData layout.

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
upload-artifact@v4 zips directory contents, not the directory itself,
which breaks .app bundles. Now using ditto to create a proper zip
and uploading that instead.

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
- Add ad-hoc code signing to CI build so macOS properly processes
  Accessibility permission requests
- Fix Accessibility permission settingsURL to navigate users to
  the correct System Settings pane (was nil before)

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
New infrastructure:
- Ice/Localization/AppLanguage.swift — language enum with auto-detect
- Ice/Localization/LocalizationManager.swift — ObservableObject manager
- Ice/Localization/LocalizationKey.swift — string table with Chinese translations

Localized files:
- All settings panes (General, Advanced, About, Hotkeys, Layout, Appearance)
- SettingsView sidebar and navigation
- NSMenu items (ControlItem right-click, MenuBarManager)
- Enum display strings (RehideStrategy, IceBarLocation, MenuBarTintKind,
  MenuBarSection.Name, SystemAppearance)

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
- Fix duplicate raw value "Menu Bar Appearance" in LocalizationKey
- Wrap annotation strings with LocalizedStringKey for type compatibility

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
- Fix LocalizedStringKey type mismatches in all settings panes
- Add appState/loc to PreviewButton struct
- Fix extra/missing parentheses in annotation calls

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
- Make toggleSectionDividers and settingsMenuBarAppearance raw values unique
- Fix AboutSettingsPane string type mismatch
- Fix GeneralSettingsPane annotation paren placement

Co-Authored-By: Claude Haiku 4.5 (1M context) <noreply@anthropic.com>
Add language switching (English/Chinese) and CI build workflow
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