fix(i18n): sync mismatched keys between en.js and zh.js#3534
Merged
Conversation
Add 4 keys missing from en.js that are actively used in source code, add 5 missing Chinese translations to zh.js, integrate check-i18n into CI to prevent future drift, and skip JSON file write in CI to avoid dirtying the working tree. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Contributor
Code Coverage Summary
CLI Package - Full Text ReportCore Package - Full Text ReportFor detailed HTML reports, please see the 'coverage-reports-22.x-ubuntu-latest' artifact from the main CI run. |
wenshao
reviewed
Apr 22, 2026
…opertyAccessFromIndexSignature Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
wenshao
approved these changes
Apr 23, 2026
wenshao
left a comment
Collaborator
There was a problem hiding this comment.
No issues found. LGTM! ✅ — gpt-5.4 via Qwen Code /review
Collaborator
Author
|
hi, @pomelo-nwu @tanzhenxin I will merge this bug fix to main branch. Feel free to reach out to me anytime if you have any further needs or concerns. |
chiga0
pushed a commit
that referenced
this pull request
Apr 24, 2026
* fix(i18n): sync mismatched keys between en.js and zh.js (#3503) Add 4 keys missing from en.js that are actively used in source code, add 5 missing Chinese translations to zh.js, integrate check-i18n into CI to prevent future drift, and skip JSON file write in CI to avoid dirtying the working tree. --- Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
xaelistic
pushed a commit
to xaelistic/qwen-code
that referenced
this pull request
Jun 7, 2026
* fix(i18n): sync mismatched keys between en.js and zh.js (QwenLM#3503) Add 4 keys missing from en.js that are actively used in source code, add 5 missing Chinese translations to zh.js, integrate check-i18n into CI to prevent future drift, and skip JSON file write in CI to avoid dirtying the working tree. --- Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
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.
Summary
Fixes #3503
en.jsthat are actively used in source code viat()but were missing from the canonical English locale:Session (temporary),The name of the extension to update.,Invalid API key...,Show context window usage breakdown...zh.js:No server selected,Value:,prompts,required,Enumnpm run check-i18nstep to CI (ci.ymllint job) to prevent future key driftunused-keys-only-in-locales.jsonin CI environments to avoid dirtying the working treeAfter this change,
en.jsandzh.jsare fully aligned at 1268 keys each.Test plan
npm run check-i18npasses with 0 errorsen.jsandzh.jskey sets are identical (1268 keys each, 0 missing, 0 extra)CI=true npm run check-i18nskips JSON file writenpm run build --workspace=packages/clisucceeds人工验证
以mcp为例
修复前


修复后,显示“未选择服务器”
🤖 Generated with Qwen Code