fix(i18n): sync mismatched keys between en.js and zh.js (#3534)
Some checks are pending
E2E Tests / E2E Test - macOS (push) Waiting to run
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
Qwen Code CI / CodeQL (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run

* 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>
This commit is contained in:
jinye 2026-04-24 00:38:32 +08:00 committed by GitHub
parent d36f12c4c4
commit 4e0a37549d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 202 additions and 18 deletions

View file

@ -575,6 +575,8 @@ export default {
'Updates all extensions or a named extension to the latest version.':
'Updates all extensions or a named extension to the latest version.',
'Update all extensions.': 'Update all extensions.',
'The name of the extension to update.':
'The name of the extension to update.',
'Either an extension name or --all must be provided':
'Either an extension name or --all must be provided',
'Lists installed extensions.': 'Lists installed extensions.',
@ -726,6 +728,7 @@ export default {
'User Settings': 'User Settings',
'System Settings': 'System Settings',
Extensions: 'Extensions',
'Session (temporary)': 'Session (temporary)',
// Hooks - Status
'✓ Enabled': '✓ Enabled',
'✗ Disabled': '✗ Disabled',
@ -1896,6 +1899,8 @@ export default {
// Coding Plan Authentication
// ============================================================================
'API key cannot be empty.': 'API key cannot be empty.',
'Invalid API key. Coding Plan API keys start with "sk-sp-". Please check.':
'Invalid API key. Coding Plan API keys start with "sk-sp-". Please check.',
'You can get your Coding Plan API key here':
'You can get your Coding Plan API key here',
'API key is stored in settings.env. You can migrate it to a .env file for better security.':
@ -1973,6 +1978,8 @@ export default {
'Show context window usage breakdown.',
'Run /context detail for per-item breakdown.':
'Run /context detail for per-item breakdown.',
'Show context window usage breakdown. Use "/context detail" for per-item breakdown.':
'Show context window usage breakdown. Use "/context detail" for per-item breakdown.',
'body loaded': 'body loaded',
memory: 'memory',
'{{region}} configuration updated successfully.':

View file

@ -578,6 +578,7 @@ export default {
'(user)': '(用户)',
'[not set]': '[未设置]',
'[value stored in keychain]': '[值存储在钥匙串中]',
'Value:': '值:',
'Manage extension settings.': '管理扩展设置。',
'You need to specify a command (set or list).':
'您需要指定命令set 或 list。',
@ -1037,6 +1038,8 @@ export default {
'Command:': '命令:',
'Working Directory:': '工作目录:',
'Capabilities:': '功能:',
'No server selected': '未选择服务器',
prompts: '提示',
// MCP Tool List
'No tools available for this server.': '此服务器没有可用工具。',
@ -1049,7 +1052,9 @@ export default {
'{{current}}/{{total}}': '{{current}}/{{total}}',
// MCP Tool Detail
required: '必需',
Type: '类型',
Enum: '枚举',
Parameters: '参数',
'No tool selected': '未选择工具',
Annotations: '注解',