Repository navigation
Conversation
Traditional Chinese system locales (zh-TW, zh-HK, zh-MO, zh-Hant*) used to fall back to English. They now resolve to a new zh-Hant catalog, which is also selectable in Settings > Appearance > Language. i18next's default load:'all' would resolve zh-Hant through zh before en, so keys missing from zh-Hant would show Simplified Chinese; both the renderer and main instances now use load:'currentOnly' to fall straight back to English. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bootstrap, repair, and the translation policy now cover zh-Hant: CJK/Latin spacing, native picker labels, and a git-ignored bootstrap cache. Co-Authored-By: Claude Opus 5.5 <[email protected]>
計算機 and 製表符 are mainland usage; Traditional Chinese UI copy uses 電腦 and 分頁. "Computer Use" is now consistently 電腦控制 instead of three variants. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important Review skippedWe couldn't safely recover the incremental review. No full review was started, and the last reviewed checkpoint was preserved. Retry later, or explicitly request a full review by commenting You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to
|
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Description check | The description explains what changed and why, but omits several required template sections and verification details. | Add a linked issue if you are an outside contributor. Add before-and-after visual proof, or state N/A with a reason if there is no visual or interaction change. Describe testing steps and platforms, and complete the testing checkboxes. Add … | |
| Docstring Coverage | Docstring coverage is 53.85% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 14 files. | Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (3 passed)
-
Check name Status Explanation Title check ✅ Passed The title identifies the Traditional Chinese terminology change, which matches the stated purpose of the pull request. Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check
-
Resolution
Add a linked issue if you are an outside contributor. Add before-and-after visual proof, or state N/A with a reason if there is no visual or interaction change. Describe testing steps and platforms, and complete the testing checkboxes. Add the agent skill upstream boundary response, review notes, and checklist. Include AI disclosure if you are an outside contributor.
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
There was a problem hiding this comment.
ℹ️ No critical issues — a couple of minor suggestions inline.
Reviewed changes
This initial review covers the whole PR (4 commits, 23 files). Despite the title, it does not stop at a terminology fix: it adds a complete Traditional Chinese (zh-Hant) UI language and then folds in the Taiwan-terminology pass.
- New
zh-HantUI language —UI_LANGUAGE_CHINESE_TRADITIONALthreaded throughshared/ui-language.ts,shared/ui-locale.ts, the settings picker (supported-languages.ts+ the label in every catalog), and both lazy locale loaders.zh-TW/zh-HK/zh-MO/zh-Hant*system locales now resolve to it instead of English. load: 'currentOnly'— added to the main and renderer i18next inits so keys absent fromzh-Hantfall back to English rather than inheriting Simplified copy fromzh.- New
zh-Hant.jsoncatalog (~15k entries) with a Simplified-character guard test and a settings-label test;bootstrap/repair/translation policy taught aboutzh-Hant;en-runtime-required.jsonregenerated.
ℹ️ The PR is much larger than its title and description
The title and body describe only the computer/tab terminology change, but the PR also introduces a complete, selectable UI language (~19k added lines), changes runtime i18next behavior (load: 'currentOnly'), and touches the locale tooling. A reviewer who reads this as "a small zh-Hant wording fix" would miss that it is the first-class locale addition — updating the description (or splitting the terminology pass out) would make the merge decision match the change.
ℹ️ Nitpicks
src/renderer/src/i18n/i18n.ts:76still reads "the input to the four lazy catalogs"; there are now six non-English catalogs.- The existing per-locale regression suites still enumerate only
{ es, ja, ko, zh }(e.g.locale-english-regression.test.ts,notification-agent-status-locales.test.ts,native-chat-locales.test.ts,smart-workspace-jira-locales.test.ts,DictationIndicator.localization.test.ts), sozh-Hantsits outside the nets that catch untranslated or reverted strings.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
| const entries: [string, string][] = [] | ||
| collectStrings(zhHant, '', entries) | ||
| expect( | ||
| entries.filter(([, value]) => /計算機|製表符/.test(value)).map(([path]) => path) |
There was a problem hiding this comment.
The guard passes, but zh-Hant.json still ships two Simplified 云 (cloud) values where Traditional Chinese uses 雲:
auto.components.skills.SkillShareDialog.newVersionDescription—...然後將不可變版本釋出到現有云包。auto.components.settings.EphemeralVmRuntimesSection.cloudVmEmptyWithSetup—還沒有云虛擬機器執行時。...
云 is a valid Traditional character with a different reading ("to say"), so it cannot join the blanket SIMPLIFIED_ONLY_CHARACTERS set without false-positive risk; a targeted cloud-term assertion (or a forbidden-value list) is the way to guard this class alongside fixing the two values.
Technical details
# Two Simplified `云` survive the Simplified-character guard
## Affected sites
- src/renderer/src/i18n/locales/zh-Hant.json — `auto.components.skills.SkillShareDialog.newVersionDescription` holds `現有云包`; should be `現有雲包`.
- src/renderer/src/i18n/locales/zh-Hant.json — `auto.components.settings.EphemeralVmRuntimesSection.cloudVmEmptyWithSetup` holds `云虛擬機器`; should be `雲虛擬機器`.
- src/renderer/src/i18n/zh-hant-simplified-character-guard.test.ts:5-8 — the curated `SIMPLIFIED_ONLY_CHARACTERS` set deliberately omits shared characters, so `云` slips through.
## Required outcome
- The two catalog values use `雲` for cloud.
- The guard catches this class so it cannot regress silently.
## Suggested approach
- Fix the two values. For the guard, either assert a cloud-term pattern (e.g. the catalog contains no `云` immediately preceding `包`/`虛擬`/`端`/`服務`) or extend the curated set carefully, accepting that a legitimate verbal `云` would then false-positive.Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add translations for strings introduced upstream (CSV viewer, Codex shared-server notices, Antigravity accounts, etc.) and drop keys removed from en.json. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Swift 6.4's swiftbuild engine writes every triple to one shared Products/Release dir, so the arm64 build overwrote the x64 one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Drop 128 keys upstream removed, add {{agent}} to the two providerRejected
strings, and translate the 832 new strings with Taiwan wording.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Taiwan writes cloud as 雲端; replace the Simplified 云 and bare 雲, and keep the Bitbucket Cloud product name in English. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Rewrite s2t leftovers such as 會話→工作階段, 獲取→取得, 構建→建置, 令牌→權杖, 本地→本機, 選項卡/標籤頁→分頁, 後臺→背景 and 終端→終端機, keep Pull Request in English and 智慧體 unchanged, and extend the zh-Hant guard test so these terms cannot return. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A full pass over all 15863 strings fixed about 4200 entries: mistranslations (kebab-case 烤肉串盒, Cookie 曲奇餅, Quit 辭職, terminal 航站樓), a spam fragment in the GitLab MR label, text that no longer matched its English, leftover English, mainland wording, row and column swaps, and product names that must stay in English (OpenAI, Orca Relay, Orca Mobile, Artifacts, HTML). Usage tokens stay "token"; auth tokens use 權杖. The guard test now also blocks the transliterated brands and the spam fragment. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The tray/menu bar menu was built once at startup, so switching the UI language rebuilt the app menu but left the tray menu in the old language until restart. Rebuild it alongside the app menu on language and language-pack changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
StatusBar is wrapped in React.memo and reads its copy through translate(), so a language switch skipped its render and labels such as "Used", the host count and the refresh hints stayed in the previous language. Subscribe with useTranslation(), as TabBarItemRow does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
One command merges dev into release, pushes both, and with --build-mac packages a local macOS app for this Mac's architecture into a cleaned dist/. It restores the recurring pnpm-lock.yaml noise instead of committing it and returns to the starting branch. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Memory on one machine is not visible on another, so the sync flow, build rules, Taiwan wording choices and upstream PR rules now live in docs/zh-hant-fork.md, referenced from the end of AGENTS.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
release carried f40df7a (Swift 6.4 lipo slice copy) plus six dev->release merges. Merging release back makes dev a descendant of release so release can fast-forward from origin/dev from now on. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The sync script merged dev into release and pushed both, so release kept growing its own merge commits. It now fetches, lists release..origin/dev, fast-forwards only, and pushes release alone; dev changes go through PRs. BRANCHING.md records this fork as an ELF type-1 contribution fork. docs/zh-hant-fork.md and AGENTS.md point at it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…orwarded it Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(E-255): merge release build fix back into dev
chore(E-255): fast-forward release from origin/dev and add BRANCHING.md
…ws build (#3) Building release on Windows failed twice: the mobile web bundle needs mobile/ installed on its own, and packaging needs orca-agent-hook.exe. Co-authored-by: Claude Opus 5.5 <[email protected]>
|
Thank you, I like your work and it brings a lot of convenience to a developer. I will also provide you with and modify the code if I find any bugs in the process of using it. |
|
Thank you for this! Traditional Chinese (Taiwan) is now a built-in UI language as of #29795: 繁體中文(台灣) in Settings → Appearance → Language. It's picked automatically for zh-TW, zh-HK, zh-MO and zh-Hant system locales, while zh-CN, zh-SG and zh-Hans stay on Simplified. Your work here fed into the terminology choices, including Taiwan wording like 電腦 and 分頁. Closing this one in favor of that PR. If you spot wording that reads wrong to a Taiwanese user, a follow-up PR against |

Summary
Adjusts the Traditional Chinese locale strings to use Taiwan-appropriate terms for “computer” and “tab” in the UI.
Before
The zh-Hant locale used wording that was more aligned with Simplified Chinese or generic terms rather than Taiwan usage.
After
The locale now uses Taiwan-specific terminology in the affected UI strings.
Why
This keeps the application language consistent with the expected Traditional Chinese phrasing for Taiwanese users and reduces wording mismatch in the interface.