Skip to content

docs(changeset): 将 popup-copy-english-i18n 的语言包数量由 eleven 更正为 ten - #3525

Merged
yinlianghui merged 1 commit into
mainfrom
claude/issue-3351-changeset-ten-packs
Aug 7, 2026
Merged

docs(changeset): 将 popup-copy-english-i18n 的语言包数量由 eleven 更正为 ten#3525
yinlianghui merged 1 commit into
mainfrom
claude/issue-3351-changeset-ten-packs

Conversation

@yinlianghui

Copy link
Copy Markdown
Collaborator

Fixes#3351

问题

.changeset/popup-copy-english-i18n.md 第 11 行称新增的 console.serverAction.* 键在 "all eleven locale packs" 达成完整 parity,但仓库实际只有 十个 语言包。

证据

  • packages/i18n/src/locales/ 下的 locale 文件共十个:enzhjakodefresptruarindex.ts 为聚合入口,不是语言包)。
  • packages/i18n/src/__tests__/all-locales-key-parity.test.ts:53OTHER_LOCALES 定义为 builtInLocales 中除 en 以外的键,第 60 行把它的长度固定断言为 9:expect(OTHER_LOCALES).toHaveLength(9)。9 + en = 10。

数字写错的这份 changeset 会被编译进 v17.0.0-rc.4 的公开 release notes,因此在发版前更正,避免错误数量进入对外文档。

改动

仅第 11 行 eleventen,一个单词:

-parity across all eleven locale packs.+parity across all ten locale packs.

不涉及任何代码、测试或其他文件;PR #3350 的正文与 content/docs/releases/ 均未触碰。

验证

命令结果
node scripts/check-changeset-fixed.mjsexit 0 — All workspace packages are in the changeset fixed group.
node scripts/check-changeset-no-major.mjsexit 0 — No changeset declares a `major` bump.
node scripts/check-control-bytes.mjsexit 0 — OK (scanned 3690 tracked text file(s); skipped 85 binary)

方向预判与实际一致:本次仅改 changeset 散文,不应有任何测试发生变化,因此未跑测试套件——该改动不进入任何构建产物或运行时代码路径,跑测试无法提供关于这一个词的任何信号。

改动后 grep -n "eleven\|ten" 只剩第 11 行的 ten 与第 19 行 written 中的子串匹配(后者为原有文本,非回归)。

无需追加 changeset:本 PR 修改的就是 changeset 本身。


Generated by Claude Code

changeset 正文称新增的 `console.serverAction.*` 键在 "all eleven locale
packs" 达成完整 parity,但仓库实际只有十个语言包(en/zh/ja/ko/de/fr/es/pt/
ru/ar)——`packages/i18n/src/locales/` 下十个 locale 文件,且
`all-locales-key-parity.test.ts:60` 将 `OTHER_LOCALES`(en 以外)固定断言为
9 个,9 + en = 10。
该 changeset 会被编译进 v17.0.0-rc.4 的公开 release notes,因此在发版前把
这处数字改正,避免错误数量进入对外文档。仅改动这一个词,不涉及任何代码或
其他文件。
Fixes#3351
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GTRjn8xBqp75dk7kFupVRt
@vercel

vercelBot commented Aug 7, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
objectuiIgnoredIgnoredAug 7, 2026 2:43am

Request Review

@yinlianghui
yinlianghui marked this pull request as ready for review August 7, 2026 03:11
@yinlianghui
yinlianghui added this pull request to the merge queueAug 7, 2026
Merged via the queue into main with commit e222b24Aug 7, 2026
7 checks passed
@yinlianghui
yinlianghui deleted the claude/issue-3351-changeset-ten-packs branch August 7, 2026 03:11
Sign up for freeto 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.

Changeset popup-copy-english-i18n.md says "eleven locale packs" — the repo has ten

2 participants

@yinlianghui@claude