Repository navigation
fix(platform-objects): retranslate the view navigation help in seven locales - #36424
objectstack-fleet[bot] merged 3 commits into
Conversation
…locales Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTqAcPU4VyEPH7iVn2
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTqAcPU4VyEPH7iVn2
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTqAcPU4VyEPH7iVn2
📓 Docs Drift Check7 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. 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): 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 44481b95c130170d90d98fca861f2703003d7fac && git checkout 44481b95c130170d90d98fca861f2703003d7fac
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin ff60149900897ccc1e2077997eb44946d858450b 7fefd744b213f26d20abc2fcc79e35ba8a69aa26 && git checkout -B drift-repro ff60149900897ccc1e2077997eb44946d858450b && git merge --no-ff 7fefd744b213f26d20abc2fcc79e35ba8a69aa26
node scripts/docs-audit/affected-docs.mjs --json ff60149900897ccc1e2077997eb44946d858450b |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTqAcPU4VyEPH7iVn2 Red check · area f7-docs · 2026-11-22T11:30Z |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTqAcPU4VyEPH7iVn2 席位核对Area self-review (f7-docs; 45 changed lines, text only,
|
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTqAcPU4VyEPH7iVn2 Landing · area f7-docs · 2026-11-22T11:52Z
State: ready + auto-merge into the merge queue. |
Requested by Steedos · project thread
Fixes #35915
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
packages/platform-objects/src/apps/translations/{ar,de,fr,ko,pt-BR,ru,zh-Hant}.metadata-forms.generated.ts: two leaf values each,metadataForms.view.fields.navigation.helpText(line 1358) and"navigation.mode".helpText(line 1362), re-translated from the current English source, following the zh-CN / ja-JP / es-ES renderings. Code tokens (drawer,page,new_window,none,preventNavigation: true,listViews,navigation,mode) are kept as written; the deprecation marker uses each locale's existing spelling ([VERALTET],[OBSOLÈTE],[OBSOLETO],[УСТАРЕЛО],[사용 중단],[مُهمَل],[已棄用]).{same seven}.source-hashes.generated.ts:node scripts/check-i18n-bundles.mjs --filter=platform-objects --writedropped the one rowmetadataForms.view.fields.navigation.mode.helpTextfrom each. That row recorded the leaf as a byte copy of an older English source; it is now a real translation, so the extractor drops the entry itself (no hand edit)..changeset/35915-navigation-help-seven-locales.md:@objectstack/platform-objectspatch (the bundles ship in that package).Why
The view
navigation.modewas deprecated under #35854 (ruling: the record name opens the full page, the hover icon the side panel;nonestill means rows open nothing). The English source and zh-CN, ja-JP, es-ES were rewritten then; these seven locales still said the drawer is the default, andnavigation.modeserved an older English copy.Tests
pnpm --filter @objectstack/platform-objects exec vitest run --maxWorkers=2 src/apps/translationsat 7fefd74: Test Files 26 passed (26), Tests 610 passed (610).node scripts/check-i18n-bundles.mjs --filter=platform-objectsat 7fefd74: EXIT=0,platform-objects in sync (32 bundle(s)).Acceptance notes
grepfor the old phrasings (e.g. zh-Hant 「預設為抽屜」, destandardmäßig Seitenleiste) in the seven files: 0 hits. The newnavigationhelp still names the drawer, as its size ("drawer size"), like the English.Verification
Read first:
zh-Hant.metadata-forms.generated.tslines 1358 and 1362 (compare withzh-CNat the same lines).Two-minute check:
git grep -n '預設為抽屜\|tiroir par défaut\|standardmäßig Seitenleiste' -- packages/platform-objects/src/apps/translationsprints nothing.Local gates (derived by dispatch-gates for this diff)
check:nul-bytes,check:issue-citations,check:published-files,check:cross-package-test-inputs, the changeset families (check-adr-0087-registration,check-changeset-no-major,check-empty-changeset,check:changeset-gate-self-tests).pnpm check:i18nacross all nine packages (ran with--filter=platform-objects, the one package this diff touches; the other eight need their build closures);pnpm check:dual-build-cjs-loads(exit 3, needs a fullpnpm build);check-plugin-teardown-shape --self-test(exit 3, shallow clone cannot reach its pinned control commit);check-comment-mask-corpus(did not finish within 240s).🤖 Generated with Claude Code
https://claude.ai/code/session_01QsR2jTqAcPU4VyEPH7iVn2