mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-06 23:24:20 +09:00
shawn-t516's Traditional Chinese translation: - Localizable.xcstrings: the "zh-Hant" localization of every key, from #314 (plus the update.* and step.needs-input strings main gained since), and 繁體中文 in the language picker after 简体中文; CFBundleLocalizations of both Mac targets. - #314's wrapping of hard-coded English in String(localized:): outfit names (MochiWardrobe), PillCatalog category titles and subtitles, and the DeepSeek, Qwen and Moonshot "key saved" messages. Pill ids are unchanged. The catalog gains #314's new keys (those, plus literals the code already shows that the catalog lacked, and the plan card's Change plan, Auto mode and Manual buttons), each translated in every language; the ones Windows already translates in extra.json reuse those translations (and #701/#700's German and Turkish) and leave extra.json, since the Mac catalog now has them. Brand names and URLs keep their English text. - scripts/test-localization.py and its CONTRIBUTING note, now also run by the macOS Build workflow. Co-Authored-By: shawn-t516 <180199675+shawn-t516@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
1.9 KiB
1.9 KiB
Contributing to Coucou
Thanks for wanting to help Mochi grow up! 🫶
Getting started
brew install xcodegen
cd NotchBuddy && xcodegen && open NotchBuddy.xcodeproj
Never edit NotchBuddy.xcodeproj by hand: change project.yml and run xcodegen.
Check resting island dimensions on screens with and without a notch:
bash scripts/test-screen-geometry.sh
bash scripts/test-display-choice.sh
Check auto-close timing and live setting changes:
bash scripts/test-auto-close.sh
Check macOS translations:
python3 scripts/test-localization.py
Add English and Traditional Chinese entries for every new localized label. Keep format arguments and plural paths intact. This check does not replace building both Mac targets or checking the language and layout in the app.
Good first contributions
- A new service integration (a poller + an entry in
PillCatalog.swiftin the.servicecategory + a detail card). Look atStripePoller.swiftfor a compact example. - A new agent: any agent already gets its own automatic pill by sending
coucou_agentin its hook payload (seedocs/AGENTS.md). Add an entry inPillCatalog.swiftin the.agentor.workspacecategory only if you want it to be declarable in Settings → Active pills. - A new emote or sound for Mochi.
- Bug fixes — please describe how to reproduce.
Rules of the house
- Swift 6, SwiftUI + AppKit, no third-party dependencies unless there's really no other way.
- Secrets go in the Keychain, never on disk or in git.
- No telemetry, no network calls except to services the user configured.
- Never block Claude Code: if the app doesn't answer, the hook must exit right away.
- Never write
~/.claude/settings.jsonwithout a backup and the user's confirmation. - Keep it light: 0 % CPU when the island is hidden.
Pull requests
- One topic per PR, with a short GIF or screenshot for anything visual.
- Build must pass with no new warnings.