feat(i18n): add missing translations for zh-CN#2084
feat(i18n): add missing translations for zh-CN#2084ShroXd wants to merge 1 commit intonpmx-dev:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
📝 WalkthroughWalkthroughThis pull request updates the Simplified Chinese locale file (zh-CN.json) with translation additions and amendments across multiple feature areas. Changes include new keyboard shortcut translations (open_main, open_diff), expanded view-on repository platform options (GitLab, Bitbucket, Codeberg, and others), revised navigation terminology for package comparison, new compare interface elements (table view, charts view, version selector), enhanced binary file indicators for downloads, and extended trends section entries. The modifications affect approximately 37 lines added and 15 lines removed. Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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)
i18n/locales/zh-CN.json (1)
290-292: Note: Duplicate translation for distinct keys.Both
main(Line 290) andhomepage(Line 292) are translated as "主页". This may be intentional if the English source uses similar wording, but if the English strings differ semantically, consider using distinct translations to preserve the nuance (e.g., "主要" for main vs "主页" for homepage).
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 6f50e3d7-0dc9-45ad-add7-e56b23a10a27
📒 Files selected for processing (1)
i18n/locales/zh-CN.json
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
🔗 Linked issue
n/a
🧭 Context
Add missing translations for zh-CN.
📚 Description
Also optimized the translation for compare page, since the original translation "比较包" suffers from syntactic ambiguity.