Skip to content

feat(i18n): update zh-TW translation#1652

Merged
danielroe merged 7 commits intonpmx-dev:mainfrom
IdacIp:i18n/zh-tw
Feb 26, 2026
Merged

feat(i18n): update zh-TW translation#1652
danielroe merged 7 commits intonpmx-dev:mainfrom
IdacIp:i18n/zh-tw

Conversation

@IdacIp
Copy link
Contributor

@IdacIp IdacIp commented Feb 26, 2026

🔗 Linked issue

None

🧭 Context

Some UI strings were missing in Traditional Chinese. Some strings keep the English word might be better to use a proper translation in development context.

📚 Description

Translates the missing zh-TW UI strings
Fixes a zh-TW UI strings:
"issues": "Issues"

@vercel
Copy link

vercel bot commented Feb 26, 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 26, 2026 4:33am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 26, 2026 4:33am
npmx-lunaria Ignored Ignored Feb 26, 2026 4:33am

Request Review

@github-actions
Copy link

github-actions bot commented Feb 26, 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-TW.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

codecov bot commented Feb 26, 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
Contributor

coderabbitai bot commented Feb 26, 2026

📝 Walkthrough

Walkthrough

This pull request adds and updates Chinese (Traditional) translation keys across two locale files: i18n/locales/zh-TW.json and lunaria/files/zh-TW.json. The changes introduce new translation entries for UI features including version distribution displays, trend analysis visualisation, package dependency messaging, accessibility information, team and sponsor sections, and various copy-to-clipboard actions. Existing translation values are also updated where needed, such as renaming issue labels and refining skeleton component text. All modifications are translation data additions and updates without functional logic changes.

Possibly related PRs

Suggested reviewers

  • danielroe
  • whitep4nth3r
🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description is directly related to the changeset, which consists entirely of Traditional Chinese (zh-TW) translation additions and updates.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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
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.

🧹 Nitpick comments (4)
lunaria/files/zh-TW.json (2)

384-385: Minor: Extra space after comma in analysis string.

There's an extra space after the comma in "為止, 呈現" — in Chinese, spaces typically aren't used after punctuation marks.

📝 Suggested fix
-        "analysis": "{package_name} 的起始數值為 {start_value},到 {end_value} 為止, 呈現 {trend} 趨勢,平均每個時間間隔的增減率為 {downloads_slope} 次下載",
+        "analysis": "{package_name} 的起始數值為 {start_value},到 {end_value} 為止,呈現 {trend} 趨勢,平均每個時間間隔的增減率為 {downloads_slope} 次下載",

647-647: Minor: Formality inconsistency — "您" vs "你".

This line uses "您" (formal "you"), whilst the rest of the file consistently uses "你" (informal "you"). Consider using "你" here for consistency.

📝 Suggested fix
-      "missing_permission": "您沒有權限將套件加入 {'@'}{scope}。",
+      "missing_permission": "你沒有權限將套件加入 {'@'}{scope}。",
i18n/locales/zh-TW.json (2)

384-385: Minor: Extra space after comma (same as lunaria file).

Same issue as in lunaria/files/zh-TW.json — there's an extra space after the comma in "為止, 呈現".

📝 Suggested fix
-        "analysis": "{package_name} 的起始數值為 {start_value},到 {end_value} 為止, 呈現 {trend} 趨勢,平均每個時間間隔的增減率為 {downloads_slope} 次下載",
+        "analysis": "{package_name} 的起始數值為 {start_value},到 {end_value} 為止,呈現 {trend} 趨勢,平均每個時間間隔的增減率為 {downloads_slope} 次下載",

648-648: Minor: Formality inconsistency (same as lunaria file).

Uses "您" whilst the rest of the file uses "你". Consider changing to "你" for consistency.

📝 Suggested fix
-      "missing_permission": "您沒有權限將套件加入 {'@'}{scope}。",
+      "missing_permission": "你沒有權限將套件加入 {'@'}{scope}。",

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e61657e and 71ea148.

📒 Files selected for processing (2)
  • i18n/locales/zh-TW.json
  • lunaria/files/zh-TW.json

@IdacIp IdacIp marked this pull request as draft February 26, 2026 04:24
@danielroe danielroe added this pull request to the merge queue Feb 26, 2026
Merged via the queue into npmx-dev:main with commit 9b2b2b0 Feb 26, 2026
17 checks passed
@github-actions
Copy link

Thanks for your first contribution, @IdacIp! 🚀

We'd love to welcome you to the npmx community. Come and say hi on Discord! And once you've joined, visit npmx.wamellow.com to claim the contributor role.

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.

2 participants