fix(i18n): complete and refine zh-CN translations#8866
fix(i18n): complete and refine zh-CN translations#8866wan-kong wants to merge 1 commit intomakeplane:previewfrom
Conversation
- 新增 power_k 快捷键导航完整翻译 (~100 项) - 新增 project_members 5 个字段翻译 - 新增根级键: preferences, language_and_time, timezone_setting 等 - 补全 account_settings 缺失的 heading/description - 补全 workspace_settings.settings 缺失的 billing_and_plans/exports/webhooks - 补全 project_settings 缺失的 states/labels/estimates/automations - 补全 common 缺失的 overview/actions.restore/copy_markdown Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughUpdates the Chinese Simplified (zh-CN) locale file with new translation keys for preferences, workspace/project settings, navigation, billing, webhooks, automations, and related UI labels. The file grows by 266 net lines with translation entries covering account settings, project management, and workspace navigation customization. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
packages/i18n/src/locales/zh-CN/translations.ts (1)
2884-2892: Inline English comment is unusual for this file.The comment
// Navigation customizationat line 2884 is the only inline comment within the translations object. While syntactically valid, consider removing it for consistency since other sections don't have inline comments.The translations themselves are accurate. "手风琴式侧边栏导航" is an appropriate translation for the accordion navigation pattern.
🔧 Suggested change to remove inline comment
}, - // Navigation customization customize_navigation: "自定义导航",🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@packages/i18n/src/locales/zh-CN/translations.ts` around lines 2884 - 2892, Remove the lone inline comment "// Navigation customization" within the translations object to keep file style consistent; locate the block containing keys customize_navigation, personal, accordion_navigation_control, horizontal_navigation_bar, show_limited_projects_on_sidebar, enter_number_of_projects, pin, and unpin and delete the comment line immediately above customize_navigation so only the key/value pairs remain.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@packages/i18n/src/locales/zh-CN/translations.ts`:
- Around line 2884-2892: Remove the lone inline comment "// Navigation
customization" within the translations object to keep file style consistent;
locate the block containing keys customize_navigation, personal,
accordion_navigation_control, horizontal_navigation_bar,
show_limited_projects_on_sidebar, enter_number_of_projects, pin, and unpin and
delete the comment line immediately above customize_navigation so only the
key/value pairs remain.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 284b5759-7a67-4d04-805c-a340c534a742
📒 Files selected for processing (1)
packages/i18n/src/locales/zh-CN/translations.ts
Description
Type of Change
Screenshots and Media (if applicable)
Test Scenarios
References
Summary by CodeRabbit