Repository navigation
fix(i18n): sentences that name Studio read 应用搭建 in Chinese and App Studio in the other languages - #38339
Merged
Conversation
…tudio elsewhere Every UI pack sentence that still said Studio now names the builder by its display name: 应用搭建 in the Chinese packs, App Studio in the others. The inline defaultValue fallbacks paired with those en values follow. Claude-Session: https://claude.ai/code/session_01L9qibz59TqsYwACVq1LPf9 Co-authored-by: Claude <noreply@anthropic.com>
The pins that read those sentences, in the packs or in the inline fallbacks, move to the new text. The two docs lines that quote the builder's button and app label follow, and a patch changeset records it. Claude-Session: https://claude.ai/code/session_01L9qibz59TqsYwACVq1LPf9 Co-authored-by: Claude <noreply@anthropic.com>
…t is Its last use is being removed and the key deleted by another change, so renaming it here would only conflict with that work. Claude-Session: https://claude.ai/code/session_01L9qibz59TqsYwACVq1LPf9 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibz59TqsYwACVq1LPf9 Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Nov 28, 2026
Contributor
Author
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Landing · 2026-11-28T14:44Z · zone
|
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 free
to 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.
Requested by Tesla · project thread
Fixes #37618
repo:objectstack#3 · os-tesla · session_01L9qibz59TqsYwACVq1LPf9
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Display text only, per ADR-0084's 2026-11-26 amendment (
docs/adr/0084-application-builder-information-architecture.md:368: "Its name is App Studio, and 应用搭建 in a Chinese interface … A Chinese interface shows 应用搭建 and not the English name"). The/studioaddress, thestudio.accesscapability name, package names, identifiers, code comments andskills/**are untouched. PR #37581 already renamed the brand, the app label and the doors; this PR renames every sentence that still said "Studio".ui/packages/i18n/src/locales/): 24 keys, in every pack.en,zh-Hans,ar,de,es,fr,ja,ko,pt-BRandruare edited by hand (240 values);zh-Hantis regenerated withpnpm --filter @object-ui/i18n gen:zh-hant(24 values, 應用搭建), never hand-edited.zh-Hansreads 应用搭建 and drops the spaces that only separated the Latin word from Chinese text (「在 Studio 中编辑」 → 「在应用搭建中编辑」).StudioforApp Studioinside the existing sentence, as feat(studio): the Studio app reads 应用搭建 in Chinese and App Studio in English #37581 did for the doors, the non-Latin packs included.dewrites its compounds with the coupling hyphen (App-Studio-Zugriff,App-Studio-Liste).common.editInStudio'senvalue was lowercase (Edit in studio); it now readsEdit in App Studio.capability.label.studio_accessis included (seat ruling Q1 A on the claim). The spec registry's English label (packages/spec/src/security/capabilities.ts:55) stays, so this PR touches nothing underpackages/spec/src/**. The picker reads the pack key, so the interface shows the new name.studionamespace (ui/packages/i18n/src/namespaces/studio/{en,zh}.ts): 20 keys, among them the refusal sentenceengine.studio.refusal.draftUnreadable,engine.studio.menu.label,engine.studio.backToAppTitle(NoApp)andengine.studio.landingHome. The namespace ships onlyenandzh.check-i18n-call-site-keysrequires every literaldefaultValueto equal itsenvalue, so 20 literals in 11 files follow (StudioRoute.tsx,AppNoAccessEmptyState.tsx,DesignModeHeaderPinsPanel.tsx,DesignModeMenu.tsx,DashboardView.tsx,PageView.tsx,RecordDetailView.tsx,RecordTabsConfig.tsx,StudioReturnButton.tsx,DraftReviewCard.tsx, and the capability fallback row inuseFieldTranslation.ts). No logic changes. Thestudionamespace's call sites carry no inline fallbacks.content/docs/build-without-code.mdx:22quotes the top bar's door as "Design in App Studio", and thecontent/docs/ui/apps.mdxexample readslabel: 'App Studio', asSTUDIO_APP.labeldoes..changeset/37618-app-studio-prose-name.md: patch for@object-ui/i18n,@object-ui/app-shell,@object-ui/fields,@object-ui/plugin-chatbotand@object-ui/console.Tests
Pins that read these sentences move to the new text; none is loosened, deleted or skipped.
ui/packages/i18n/src/__tests__/residue-namespaces-3546.test.tsx(common.editInStudioinen,zh-Hans,ja,ko,ar, the inline-default source pin onPageView.tsx, and its comment's quoted label),studioAccessGrantor-27521.test.ts,DraftReviewCard.i18n-38048.test.tsx.studiocatalogue):StudioRoute.test.tsx,CapabilityMultiSelectField.test.tsx(the rendered chip; the registry fixture's own English label staysStudio Access, as the spec registry does),DraftReviewCard-38048.test.tsx,DashboardView.inPageEdit-36372.test.tsx,PageView.editInStudioFollowsPackagePosture-12615.test.tsx,PackageFormDialog.newAppStep-36748.test.tsx,MetadataListCreateDialog.newObjectJoinsAppMenu-36748.test.tsx,StudioDesignSurface.backToApp-36501.test.tsx,StudioDesignSurface.homeLoop-12513.test.tsx,StudioDesignSurface.packageLessFlows-11553.test.tsx,StudioDesignSurface.packageListErrorPosture.test.tsx,StudioMenu.test.tsx.queryByRole(... 'Studio home')and/Open app|Studio home/expected null); they now nameApp Studio home, so they still look for the label that exists.Local runs (final head 0519b38)
The 108 app-shell files and the 9 fields / chatbot / console files ran at 8880f66; the only later change is the
report.builder.savedOutsideApprevert (pack values only) and the changeset count. The i18n suite, the i18n gates and the derived gates ran on the final tree.i18n gates (from
ui/):check-i18n-en-driftexit 0 ("24 en value(s) changed … 240 pack value(s) followed"; "20 en value(s) changed … 20 zh value(s) followed"),check-i18n-call-site-keysexit 0,check-i18n-dead-keysexit 0.dispatch-gates.mjs --commands: 72 derived, 71 exit 0, 1 NOT MEASURED:pnpm --filter @objectstack/spec run check:skill-examplesexits 3 (PREREQUISITE NOT MET, it reads a built client SDK this worktree did not build).--ranreconciliation: 72 accounted, 0 unrun. CI runs it.overlap-check.mjsat 0519b38: clean against origin/main 4ebe9a1 and the 5 open PRs that share files (feat(studio): App Studio's package overview gets Export as a button, a Publish history tab with the revert, and is where opening a package lands #38318, fix(runtime): a declarative update action answers its write's notice and droppedFields, and the console shows both #38304, fix(app-shell): AI-draft notice and discard on the Hooks tab, paired actions and OWD rows #38285, feat(spec,plugin-report): report chart showEmptyGroups — show the declared options that have no records #38284, feat(app-shell): a create with no named package asks to pick or create one #38204).vitest run packages/i18n/(fromui/): Test Files 110 passed (110), Tests 1874 passed, 13 skipped.vitest runon the 9 fields / plugin-chatbot / console StudioRoute files: Test Files 9 passed (9), Tests 119 passed (119).vitest runon the 108 app-shell test files that name these sentences (assertions or fixtures): Test Files 108 passed (108), Tests 1409 passed (1409).The full
fields,plugin-chatbotand console runs did not finish inside the container's command limit and are left to CI (NOT MEASURED locally).Ablation
zh-Hanscommon.editInStudioback to 「在 Studio 中编辑」:residue-namespaces-3546.test.tsxgoes red, 2 failed,expected '在 Studio 中编辑' to be '在应用搭建中编辑'. Restored, green.chatbot.draftReview.hintinline default back to the oldensentence:check-i18n-call-site-keysexits 1,DraftReviewCard.tsx:113:10 [default-value-drift] chatbot.draftReview.hint. Restored, exit 0.Acceptance notes
report.builder.savedOutsideApp, left on purpose (next note). Each of the 10 hand-edited packs changed exactly the same 24 keys, bothstudiocatalogues the same 20, and no key was added or removed.report.builder.savedOutsideAppis left unchanged (seat amendment to the claim): PR feat(app-shell): a create with no named package asks to pick or create one #38204 removes its last use and a follow-up on App Studio 改版(4-1):没有软件包的新建先问——选一个或新建一个;设置的权限集和岗位也先问;系统应用里的共享视图和报表拒绝并指路 #38149 deletes the key, so renaming it here would only conflict.packages/platform-objectsgenerated translations still say Studio (zh-CN.metadata-forms.generated.tsandzh-CN.objects.generated.ts). They are generated from spec form help and thesys_emailfield help, outsidedomain:ui.tt(key, 'fallback')inStudioReturnButton.tsxandDashboardView.tsxwere updated by hand here; reverting one of them leavescheck-i18n-call-site-keysat exit 0 (measured). Noted, not filed.44 keys, before and after
en and zh values
capability.label.studio_accesscommon.editInStudiostudioReturn.closestudioReturn.closeLabeldashboard.inPageEdit.pendingDraftconsole.studio.accessRequireddesignMode.menu.pendingDraftdesignMode.menu.translationPendingDraftdesignMode.menu.newItemLeftdesignMode.pins.pendingDraftdesignMode.recordTabs.pendingDraftempty.recordPagePlacesNoComponentDescriptionempty.recordPagePlacesNoComponentDescriptionUnnamedempty.appMenuEmptyDescriptionempty.openInStudiochatbot.draftReview.hintchatbot.draftReview.reviewAndPublishAriachatbot.draftReview.reviewAriapackagedAutomation.actionsSubtitlepackagedAutomation.actionsEmptyBodypublicFormsSetup.designHintpublicFormsSetup.emptyBodypublicFormsSetup.pendingDraftpublicFormsSetup.switchedOnEarlierVersionperm.field.systemCapabilitiesHelpengine.studio.refusal.draftUnreadableengine.inspector.servedLabel.keptengine.inspector.servedLabel.ifKeptengine.packages.admin.descriptionengine.packages.detail.openInStudioengine.packages.customizations.customizeengine.packages.customizations.customizeTitleengine.packages.customizations.rowTitleengine.studio.data.appMenu.pendingDraftengine.studio.desktopHintengine.studio.notFound.pillarengine.studio.menu.labelengine.setup.accessDirectory.notAllowedengine.studio.backToAppTitleengine.studio.backToAppTitleNoAppengine.studio.customize.pendingDraftengine.catalog.readOnly.walledengine.studio.landingHomeengine.studio.landing.customizations.pairTitleVerification
Read first, in risk order:
ui/packages/i18n/src/locales/zh-Hans.ts: the Chinese sentences, where the old Latin word took spaces with it.ui/packages/i18n/src/locales/de.ts: the only pack with compounds (App-Studio-Zugriff,App-Studio-Liste).ui/packages/i18n/src/namespaces/studio/zh.ts: the Studio front's own sentences (menu label, the way back, the refusal).Two-minute check: open
/_console/studio/PACKAGE_IDin a Chinese UI. The left menu's accessible name is 「应用搭建菜单」, and the way back's tooltip reads 「离开应用搭建,回到 …」; in an English UI they read "App Studio menu" and "Leave App Studio and go back to …".Generated by Claude Code