Skip to content

www: fix zh-CN translation errors from linguistic review - #143

Merged
gfargo merged 1 commit into
mainfrom
fix/www-zh-cn-translation-review
Aug 11, 2026
Merged

gfargo merged 1 commit into
mainfrom
fix/www-zh-cn-translation-review

Conversation

@gfargo

@gfargo gfargo commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #142. Had an independent model pass do a native-level linguistic review of the zh-CN strings (I'm not a native speaker myself, so treat this as a strong first-pass QA, not a substitute for an actual bilingual person's sign-off before this is fully customer-facing).

Two real mistranslations fixed:

  • hero.labelPeerDep: "同版本依赖" (same-version dependency) → "对等依赖" — the original wrongly implied peer deps must match an identical version rather than satisfy a version range
  • scenarioPage.tabLibrary: "代码库" (code repository) → "库" — was conflating "library" with an unrelated concept, confusing next to the sibling "CLI"/"Jest" tabs

Plus polish:

  • Kept monorepo as the conventional untranslated loanword instead of a literal "单体仓库" (which risks reading as "monolithic architecture")
  • Disambiguated footer "Release notes" (发行说明) from nav "Changelog" (更新日志) — both pointed at different links but rendered identical Chinese text
  • Standardized "contract" on 契约 instead of 约定 (the latter reads closer to "convention") across all 5 occurrences
  • Minor punctuation consistency fix in the rebase diagram caption, and a couple of small phrasing tweaks for naturalness

Test plan

  • npm run build completes cleanly
  • Verified each corrected string renders in the built /zh-cn/... output
  • Confirmed no other files affected (translation-only change)

🤖 Generated with Claude Code

Two real mistranslations: "peer dependency" was rendered as "same-version
dependency" (对等依赖 is correct), and the Library tab on scenario pages
read as "code repository" instead of "library" (代码库 → 库).

Also: kept "monorepo" as the conventional untranslated loanword instead
of a literal "单体仓库" (which risks reading as "monolithic architecture");
disambiguated footer "Release notes" from nav "Changelog" (both were
rendering as identical Chinese text pointing at different links);
standardized "contract" on 契约 instead of 约定 (which reads closer to
"convention"); and a few punctuation/phrasing polish items.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
git-scenarios Ready Ready Preview Aug 11, 2026 12:22am

@gfargo
gfargo merged commit bf73dfa into main Aug 11, 2026
18 checks passed

This branch was successfully deployed

1 active deployment
Preview — dafc7d83 Deployed Aug 11, 2026 by vercel[bot]
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.

1 participant