Skip to content

fix(platform-objects): distinct zh-CN/ja-JP labels for the two Setup organization nav entries - #25177

Merged
baozhoutao merged 1 commit into
mainfrom
claude/funny-wozniak-y0guvw
Oct 22, 2026
Merged

baozhoutao merged 1 commit into
mainfrom
claude/funny-wozniak-y0guvw

Conversation

@baozhoutao

@baozhoutao baozhoutao commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Refs #25176

Clause-②: no
Metadata-protocol: none

What

Setup → People & Organization carries nav_organization (the active organization's record page) and nav_organizations (the organization list, shown where org-scoping is mounted). Both translated to 「组织」 in zh-CN and 「組織」 in ja-JP, so a multi-organization deployment showed two identical entries that open different pages.

  • zh-CN: 「当前组织」 / 「所有组织」
  • ja-JP: 「現在の組織」 / 「すべての組織」
  • New setup-nav-distinct-labels.test.ts: fails when two entries in one Setup nav group read the same in any shipped locale (en / zh-CN / ja-JP / es-ES). Verified red on the old translations, green after.
  • patch changeset for @objectstack/platform-objects.

Only translated-locale values change; no translation keys are added or dropped, and the English source (and so the source hashes) is unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RDdLaUJMtzFXcrF3gyzpJD

…organization nav entries

nav_organization (current organization record) and nav_organizations (the
organization list under org-scoping) both translated to "组织" / "組織",
so People & Organization showed two identical entries. Rename them to
当前组织 / 所有组织 and 現在の組織 / すべての組織, and add a test that no two
entries in one Setup nav group share a label in any locale.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RDdLaUJMtzFXcrF3gyzpJD
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tests tooling labels Oct 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

Nothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 1 changed package(s)), so this run has no opinion about the docs.

What this run could not see

Coarse fallback — 3 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 72a302a9dde3347e15a971c5da28df205496a217 → packageMentionDocs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants