Skip to content

feat(i18n): improve zh-CN translations#765

Merged
danielroe merged 2 commits intonpmx-dev:mainfrom
craigary:main
Feb 2, 2026
Merged

feat(i18n): improve zh-CN translations#765
danielroe merged 2 commits intonpmx-dev:mainfrom
craigary:main

Conversation

@craigary
Copy link
Copy Markdown
Contributor

@craigary craigary commented Feb 2, 2026

  • Add missing filter chips translations
  • Add missing facet items and values for package comparison
  • Standardize second-person pronoun: 您 → 你
  • Polish various UI text for better readability
Details (in Chinese):

人称代词统一化:将所有 改为 ,使语气更加亲切自然
如:可能不需要这个依赖 → 可能不需要这个依赖

用词优化:
复制包名 → 拷贝包名
最多下载的 → 最多下载
最近发布的 → 最近发布
敬请期待 → 即将推出
一次性密码 → 一次性代码
方面 → 维度

新增翻译:
搜索筛选器 chips:搜索、下载量、关键词、安全性、最近更新
包比较功能的完整维度翻译(facets.items 和 facets.values)

其他优化:
全部/无 → 全选/取消全选
已选择 {count}/{max} 个包 语序调整
package.stats.size_tooltip.unpacked 之前使用了英文的括号+空格,改为了中文的括号

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 2, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 2, 2026 5:31pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 2, 2026 5:31pm
npmx-lunaria Ignored Ignored Feb 2, 2026 5:31pm

Request Review

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 2, 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
lunaria/files/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.

@danielroe danielroe added this pull request to the merge queue Feb 2, 2026
Merged via the queue into npmx-dev:main with commit 9ee64a0 Feb 2, 2026
12 checks passed
taskylizard pushed a commit to taskylizard/npmx.dev that referenced this pull request Feb 7, 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