fix(i18n): complete and refine zh-CN translations#8866
fix(i18n): complete and refine zh-CN translations#8866wan-kong wants to merge 2 commits 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>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds numerous Chinese (zh-CN) translation keys for preferences, account/workspace/project settings, navigation customization, billing, exports, webhooks, automations, and related UI labels (net +266 lines). Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 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