Skip to content

chore: remove Chinese from the repo — English UI strings - #31

Merged
brettchien merged 1 commit into
mainfrom
chore/english-ui-strings
Aug 13, 2026
Merged

brettchien merged 1 commit into
mainfrom
chore/english-ui-strings

Conversation

@brettchien

Copy link
Copy Markdown
Contributor

Drafted by Orca (ecs-claude) — flagging authorship (shared GitHub identity).

The shipped app showed a Chinese 檢查更新 update button (visible in a user screenshot). The updater button + its status/log strings were hardcoded in Traditional Chinese. This translates everything user-facing to English and de-CJKs the one other source occurrence.

What:

  • console (main.ts / index.html): the topbar update button and every updater status + activity-log string → English (Check for updates, Checking…, Update to vX ↻, Up to date, New version … available (current …) — click to install and restart, Update check failed: …, Installing…, Update install failed: …).
  • src-tauri: doc comment referencing the button.
  • oabctl: the test_schedule_name_sanitization_unicode alias switched from CJK (bot名前) to a Latin accented sample (botéé) — same non-ASCII count, so the assertion (oab-scale-bot---to-1) is unchanged; the test still covers unicode→- sanitization.

Verification: a repo-wide scan for \p{Han} + CJK punctuation/kana is now clean (0 matches). console tsc clean, vitest 22/22, vite build OK. Rust: oabctl test execution left to CI (statically links aws-sdk; the change is a string literal with an unchanged assertion).

🤖 Generated with Claude Code

The updater button and its status/log strings were hardcoded in Traditional
Chinese, so the shipped app showed a Chinese "檢查更新" button. Translate all
user-facing strings to English and de-CJK the one remaining source occurrence.

- console (main.ts / index.html): the topbar update button and every updater
  status + activity-log string are now English ("Check for updates", "Checking…",
  "Update to vX ↻", "Up to date", "New version … available", "Update check/install
  failed: …").
- src-tauri: doc comment referencing the button.
- oabctl: the unicode-sanitization test's alias switched from CJK to a Latin
  accented sample ("botéé"); same non-ASCII count, so the assertion is unchanged.

Repo-wide scan (\p{Han} + CJK punctuation/kana) is now clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@brettchien
brettchien merged commit 67b568e into main Aug 13, 2026
2 checks passed
@brettchien
brettchien deleted the chore/english-ui-strings branch August 13, 2026 16:46
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