Skip to content

Translate Chinese source strings to English#10

Merged
arichyx merged 1 commit into
mainfrom
fix/english-source-strings
Jul 18, 2026
Merged

Translate Chinese source strings to English#10
arichyx merged 1 commit into
mainfrom
fix/english-source-strings

Conversation

@arichyx

@arichyx arichyx commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Translates Chinese text in logs, error messages, and probe output to English across MultitouchKit, ApplicationMonitorKit, the Lunchpad app sources, and the diagnostic probes. AGENTS.md requires code comments, documentation, and release notes in English; this extends the same convention to runtime strings.

What changed

  • MultitouchKit: MultitouchMonitorError descriptions and IOKit call labels (start/wait/read touch data stream).
  • ApplicationMonitorKit: ApplicationDirectoryMonitorError descriptions (no roots, create/start FSEvents stream).
  • Lunchpad: LunchpadLayoutStoreError descriptions (folder name, not found, protected system folder, database not open, Application Support missing), catalog synchronizer logs, AppDelegate startup/sync logs, IconGridView launch error.
  • Probes (MultitouchProbe, AppChangeProbe, GestureProbe): console instructions and status output.

Intentionally left in Chinese

  • Sources/Lunchpad/Resources/zh-Hans.lproj/Localizable.strings — the Simplified Chinese localization resource itself.
  • Tests/LunchpadTests/* — fixtures that assert actual localized values ("设置", "计算器", "其他", "创建时间", "修改时间") and verify the scanner/search handle non-ASCII localized bundle names. Translating them would defeat the tests.
  • openspec/ — spec documents that reference expected localized values as requirements.

Verification

  • swift build — clean.
  • swift test — 120 tests pass.
  • git diff --check — no whitespace issues.

The 9 changed files contain only string-literal text changes; no control flow, API, or test semantics were altered.

Replace Chinese text in logs, error messages, and probe output with
English across MultitouchKit, ApplicationMonitorKit, Lunchpad app
sources, and the diagnostic probes. AGENTS.md requires code comments,
documentation, and release notes in English; this extends the same
convention to runtime strings.

Left unchanged:
- zh-Hans.lproj/Localizable.strings (Chinese localization resource)
- Tests asserting localized values (e.g. "设置", "计算器")
- OpenSpec docs referencing expected localized values
@arichyx
arichyx merged commit fe77fe1 into main Jul 18, 2026
1 check passed
@arichyx
arichyx deleted the fix/english-source-strings branch July 18, 2026 07:30
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