fix: i18n zh-TW locale updates#242
Conversation
WalkthroughThe changes update language labels for Chinese locales in the locale configuration file to be more specific and replace all English strings in the Traditional Chinese localization file with their correct Traditional Chinese translations. No logic, keys, or formatting were altered—only display names and translation values were updated. Changes
Poem
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
frontend/src/lib/i18n/locales.ts(1 hunks)frontend/src/lib/i18n/locales/zh-TW.json(1 hunks)
🔇 Additional comments (1)
frontend/src/lib/i18n/locales.ts (1)
30-31: Chinese locale labels are now precise – looks goodSwitching to “简体中文” and “繁體中文(台灣)” removes ambiguity and aligns with industry-standard naming. No further action required.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #242 +/- ##
=======================================
Coverage 13.80% 13.80%
=======================================
Files 20 20
Lines 2513 2513
=======================================
Hits 347 347
Misses 2151 2151
Partials 15 15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
📝 Changes
Translation Updates
Language Label Improvements
zh-CN: "中文" → "简体中文" (Simplified Chinese)zh-TW: "中文" → "繁體中文(台灣)" (Traditional Chinese - Taiwan)🎯 Motivation
🔍 Type of Change
🧪 Testing
📋 Files Changed
frontend/src/lib/i18n/locales/zh-TW.json- Updated Traditional Chinese translationsfrontend/src/lib/i18n/locales.ts- Improved Chinese language labels🌐 Impact
This change improves the experience for Traditional Chinese users and makes language selection clearer for all Chinese-speaking users.