fix(locales): align zh-CN translations with English source#200
Open
whtis wants to merge 1 commit intoSnouzy:mainfrom
Open
fix(locales): align zh-CN translations with English source#200whtis wants to merge 1 commit intoSnouzy:mainfrom
whtis wants to merge 1 commit intoSnouzy:mainfrom
Conversation
Adds missing zh-CN entries for the BMI calculator health-risks block, calorie calculator body-fat fields, heart-rate-zones overview, heatmap unit labels, the premium gate, the workout-builder lats muscle, and commons.refresh. The bmi-calculator.health_risks block was previously misplaced under premium.hero in zh-CN.ts (where en.ts has no such key), so the lookups in the BMI calculator UI fell back to English. The block is moved to match the en.ts structure under bmi-calculator.
|
@whtis is attempting to deploy a commit to the Workoutcool Team Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Brings the simplified Chinese (zh-CN) locale up to parity with
en.tsby translating the entries that were missing or unreachable, and re-locating one block that was nested in the wrong section.Missing keys translated
bmi-calculator.health_risks.{overweight,underweight}.*(25 keys, on the BMI results page)tools.calorie-calculator.body_fat_percentageandbody_fat_info_titletools.heart-rate-zones.results.overviewheatmap.no_workout,heatmap.one_workout_unit,heatmap.multiple_workouts_unitpremium.premium_feature,premium.upgrade_to_access_feature,premium.unlock_all_featuresworkout_builder.muscles.latscommons.refreshBlock re-location
The
health_risksblock was nested underpremium.heroinzh-CN.ts, but inen.tsit lives underbmi-calculator. As a result, the BMI calculator's health-risk list fell back to English for zh-CN users. The block is moved tobmi-calculator.health_risksto match the canonical structure (and the existing translations are preserved, with two minor wording polishes forbody_pains/low_quality_life).Translation notes
zh-CN.ts(e.g.2型糖尿病,背阔肌,骨关节炎,胆囊疾病,心率储备).body_fat_info_titleis a descriptive paragraph, not a heading — translated as such to match the source.📋 Checklist
🗃️ Prisma Migrations (if applicable)
📸 Screenshots (if applicable)
N/A — strings only, no UI changes.
🔗 Related Issues
None — this is a follow-up sweep on an existing locale file.