Skip to content

feat(i18n): update missing Chinese Simple(zh-CN) translations#2367

Closed
fnoopv wants to merge 2 commits intonpmx-dev:mainfrom
fnoopv:main
Closed

feat(i18n): update missing Chinese Simple(zh-CN) translations#2367
fnoopv wants to merge 2 commits intonpmx-dev:mainfrom
fnoopv:main

Conversation

@fnoopv
Copy link
Copy Markdown

@fnoopv fnoopv commented Apr 3, 2026

🔗 Linked issue

No GitHub issue, general call for translation support.

🧭 Context

屏幕截图_20260403_152002

📚 Description

Add missing translation entries.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

Hello! Thank you for opening your first PR to npmx, @fnoopv! 🚀

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any issues you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Vercel

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
i18n/locales/zh-CN.json Localization changed, will be marked as complete. 🔄️
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 3, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 778b870c-0a5c-4da2-8069-5561152cac15

📥 Commits

Reviewing files that changed from the base of the PR and between e434578 and 8f8b13f.

📒 Files selected for processing (1)
  • i18n/locales/zh-CN.json
✅ Files skipped from review due to trivial changes (1)
  • i18n/locales/zh-CN.json

📝 Walkthrough

Walkthrough

This PR updates the Simplified Chinese localisation file (i18n/locales/zh-CN.json), adding and extending ~192 lines of translation keys across multiple UI areas: footer and brand, blog empty states, settings (including translation status, accent colours and background themes), package and profile displays (skills, comparisons, docs, versions, vulnerabilities, trends, downloads), code viewer and diff controls (UI toggles, copy/selection actions, facet bulk controls, compare progress/errors), a full translation status page, vacations, logo/brand guide entries and alt logo text.

Possibly related PRs

Suggested reviewers

  • danielroe
  • ghostdevv
  • 9romise
🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description is related to the changeset. It clearly states the intent to add missing translation entries for Simplified Chinese (zh-CN), which aligns with the file changes that add/extend Chinese UI translation keys in the i18n/locales/zh-CN.json file.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
⚔️ Resolve merge conflicts
  • Resolve merge conflict in branch main

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1bc15fb3-8254-4b46-bfd8-744ba620c3ab

📥 Commits

Reviewing files that changed from the base of the PR and between d3f60cb and e434578.

📒 Files selected for processing (1)
  • i18n/locales/zh-CN.json

Copy link
Copy Markdown
Contributor

@RYGRIT RYGRIT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think?

@fnoopv
Copy link
Copy Markdown
Author

fnoopv commented Apr 9, 2026

What do you think?你怎么看?

fixed

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev (canary) Ready Ready Preview, Comment Apr 9, 2026 11:02am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Apr 9, 2026 11:02am
npmx-lunaria Ignored Ignored Apr 9, 2026 11:02am

Request Review

@fnoopv
Copy link
Copy Markdown
Author

fnoopv commented Apr 9, 2026

Another contributor has already provided a better zh-CN translation. Closd.

@fnoopv fnoopv closed this Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants