Uh oh!
There was an error while loading. Please reload this page.
docs(changeset): 将 popup-copy-english-i18n 的语言包数量由 eleven 更正为 ten - #3525
Merged
Conversation
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
The latest updates on your projects. Learn more about Vercel for GitHub. |
yinlianghui
marked this pull request as ready for review
August 7, 2026 03:11
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Fixes#3351
问题
.changeset/popup-copy-english-i18n.md第 11 行称新增的console.serverAction.*键在 "all eleven locale packs" 达成完整 parity,但仓库实际只有 十个 语言包。证据
packages/i18n/src/locales/下的 locale 文件共十个:en、zh、ja、ko、de、fr、es、pt、ru、ar(index.ts为聚合入口,不是语言包)。packages/i18n/src/__tests__/all-locales-key-parity.test.ts:53将OTHER_LOCALES定义为builtInLocales中除en以外的键,第 60 行把它的长度固定断言为 9:expect(OTHER_LOCALES).toHaveLength(9)。9 +en= 10。数字写错的这份 changeset 会被编译进 v17.0.0-rc.4 的公开 release notes,因此在发版前更正,避免错误数量进入对外文档。
改动
仅第 11 行
eleven→ten,一个单词:不涉及任何代码、测试或其他文件;PR #3350 的正文与
content/docs/releases/均未触碰。验证
node scripts/check-changeset-fixed.mjsAll workspace packages are in the changeset fixed group.node scripts/check-changeset-no-major.mjsNo changeset declares a `major` bump.node scripts/check-control-bytes.mjsOK (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