Repository navigation
feat(i18n): complete the Simplified Chinese catalog (7288/7288) - #4142
Open
AndersHsueh wants to merge 1 commit into
Open
AndersHsueh wants to merge 1 commit into
AndersHsueh wants to merge 1 commit into
Conversation
zh.json covered 3570 of 7288 keys (49%), so Simplified Chinese users saw English for the rest of the UI. Translate the remaining 3718 keys and bring the file in line with en.json. - Preserve every placeholder, including repeated ones, and keep the key order identical to en.json so the diff stays reviewable. - Project terminology: 机器人 (bot), 群组聊天 (room), 部门 (department), 例行任务 (routine), 提供方 (provider), 智能体 (agent), 密钥 (key), token, 方案 (plan). Product names stay in English (MausBot Cloud, Boat, Postiz, HighLevel, Grok, Codex, Jev). - Normalize the existing values that used Traditional Chinese wording (房間/聊天室, 代理程序, 主控台, 載入, 自訂, 封存, 釘選, 網域, 標頭 …), full-width punctuation, 「」 quotes and 「——」 dashes. - pnpm i18n:check passes: 100% (7288/7288), 16 languages valid.
|
@AndersHsueh is attempting to deploy a commit to the SupaMaus Team on Vercel. A member of the Team first needs to authorize it. |
|
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:
|
Author
|
@coderabbitai full review |
Action not completed
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
src/locales/zh.jsonnow covers the whole English catalog: 7288 / 7288 keys (100%), up from 3570 (49%). Key order matchesen.jsonexactly.Only
src/locales/zh.jsonchanged.zh-tw.jsonis untouched (still a partial pack).Why
Simplified Chinese was half English in the UI: any key missing from
zh.jsonfalls back to English, so about 51% of the interface stayed in English forzhusers. This closes the gap so the language is usable end to end.How it was verified
pnpm i18n:check→zh.json: 100% (7288/7288),locale catalogs valid (16 languages, 7288 English strings). No source-hash edits: new keys carry no recorded hash, asdocs/localization.mddescribes.{name}twice,{bot} {where},{count}in plurals) — 0 mismatches againsten.json.en.json— 0 missing, 0 extra.never / no longer / can't / must not, digit and unit parity, and a scan for untranslated leftovers (the only values identical to English are brand names and placeholder-only strings).pnpm typecheck/pnpm testwere not run locally: this checkout has nonode_modules, and a JSON catalog does not affect either. CI covers both.Screenshots (UI changes)
None yet — I can add before/after shots of Settings → General → 简体中文 on request. The visible change is that previously-English screens now render in Chinese.
Checklist
pnpm typecheckandpnpm testpass locally — not run here (nonode_modulesin this checkout);pnpm i18n:checkdoes pass.dist-server/editsshell: true/ cmd.exe string-building — untouched.