Repository navigation
fix(i18n): help text that names Studio reads App Studio, and 应用搭建 in Chinese - #38481
Conversation
…Chinese Claude-Session: https://claude.ai/code/session_01FEkQ5nVXvVvyPPzdih9DTy Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5nVXvVvyPPzdih9DTy Co-Authored-By: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 2 package(s): 18 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 9 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 181 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin b7580c568cea0b00ad6192657bac9b488dc30112 && git checkout b7580c568cea0b00ad6192657bac9b488dc30112
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 70d2d48ace7bf516bc747aecf6eb0e39c8fc31eb d5181f0c2ed736747d65870db942271efbc6b80e && git checkout -B drift-repro 70d2d48ace7bf516bc747aecf6eb0e39c8fc31eb && git merge --no-ff d5181f0c2ed736747d65870db942271efbc6b80e
node scripts/docs-audit/affected-docs.mjs --json 70d2d48ace7bf516bc747aecf6eb0e39c8fc31eb
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nVXvVvyPPzdih9DTy Final green head:
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB 席位核对 — REWORK · L1-b · area o5-ux · Head-sha
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB Contract reviewServed-tier: PR #38481 for card #38340, published-schema face (four non-test paths under ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
The implementing leaves, against the contract and the acceptance scenario: the card's done-when ("the generated zh-CN translations contain no sentence-level Studio outside identifiers") holds on the tree — zero occurrences of "Studio" in Nits (no effect on correctness or the contract; none is to be fixed on this head, since a fix outside the prose faces moves the head):
Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB 席位核对 — ACCEPT · L1-b · area o5-ux · Head-sha
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nVXvVvyPPzdih9DTy Landing record, area o5-ux · head
State: ready and auto-merge armed through this stroke; the merge queue lands it. On merge, |
Requested by Leehom · project thread
Fixes #38340
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Five help texts in App Studio's own forms named the surface "Studio". Their sources now say "App Studio", the regenerated
enbundles follow, and the Chinese leaves say 应用搭建 (zh-CN) and 應用搭建 (zh-Hant), the name ADR-0084's 2026-11-26 amendment gives the surface (decision 2: "Its name is App Studio, and 应用搭建 in a Chinese interface … so the English name changes as well. Only display text changes").relatedListshelppackages/spec/src/data/object.metadata-form.tsvariablesdescriptionpackages/spec/src/system/email-template.metadata-form.tslabelhelppackages/spec/src/ai/tool.metadata-form.tssys_email_template›labelhelppackages/platform-objects/src/audit/sys-email-template.object.tssys_email_template›managed_byhelpemail-template.zod.ts:139("Author hint shown in Studio") is not one of the five translated strings, so it is left alone.encome from the generator). zh-Hant carried the same five sentences, so it is fixed in the same pass with the spelling the Console's zh-Hant pack already uses. Other locales keep their text.Studio Access: joins this PR (area o5-ux agreed). Thestudio.accessrow inpackages/spec/src/security/capabilities.tsnow has the labelApp Studio Accessand the description "Enter the App Studio metadata-design surfaces." The Console'senpack anduseFieldTranslation.tsfallback already readApp Studio Access; the registry label is the English fallback for any client without those packs. The capability namestudio.accessis unchanged.node scripts/check-i18n-bundles.mjs --write: only the twoenbundles moved (5 lines). No source-hash table moved.object.metadata-form.ts.overlap-check.mjsat this head: merges cleanly. Whichever of this PR and feat(objectql): a record in a closed state, and its lines, are closed to change (closedStates, ADR-0162 D1-D7, D10) #38421 lands second regenerates the translation bundles (bash scripts/pm/os-regen-merge.sh), never a hand merge.packages/spec/src/**(non-test), socontract-review.mdreads the published-schema face and owes a contract-tier L2 record, even though onlyhelpText/description/labelstring values change and no schema shape, key or export moves.Read first:
packages/spec/src/security/capabilities.ts(the only row whose label a client may show as-is), thenzh-CN.metadata-forms.generated.ts(three hand-edited leaves).Tests
No test pinned any of these strings (
git grepover*.test.*for each English sentence: zero hits). No new test: the change is display text, and the card's acceptance is a grep.pnpm --filter @objectstack/platform-objects exec vitest run src/apps/translations src/audit: 36 files, 663 tests passed.pnpm --filter @objectstack/spec exec vitest runoversrc/security/*.test.ts, the email-template, tool and object metadata-form tests andsrc/metadata-forms: 19 files, 478 tests passed.pnpm --filter @objectstack/plugin-security exec vitest run src/builtin-capabilities.test.ts src/builtin-capabilities.boot.test.ts: 2 files, 24 tests passed.Acceptance notes
Verification
grep -c Studio packages/platform-objects/src/apps/translations/zh-CN.*.generated.tsanswers 0 for every file (zh-Hant too).node scripts/check-i18n-bundles.mjs: OK, all bundles in sync.pnpm --filter @objectstack/spec check:generated: all 14 generated artifacts up to date.Two-minute check: in a Chinese interface, open an object's form in App Studio; the Related Lists help ends its built-in-tab sentence with 在应用搭建的对象设置里设置.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FEkQ5nVXvVvyPPzdih9DTy