Repository navigation
fix(i18n): the compact toolbar hint says the same thing in every language - #37523
Conversation
…uage The ten translated compactToolbar hints and the console zh-CN overlay now carry the whole reworded English hint. The hint and the describe name the popover "Display", the word the toolbar shows. The types jsdoc and the plugin-list README no longer put Refresh in the Display panel, and the view liveness note points at the current toolbarFlags lines. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CaA9KCLA988RAhFACC
📓 Docs Drift Check
What this run could not see
Coarse fallback — 177 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head bc41a77 · 2026-11-26T11:30Z |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: ① Derived judgments
② Semver levelAll five packages at ③ Boundary flags
④ Design judgmentM1 (must-fix) —
S1 (should-fix) — the sentences this diff rewrote in
Held against the tree:
Nits (the lane seat's files, no effect on the contract):
Implemented-by: VERDICT: FAIL |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
The popover's button reads list.viewSettings ("View settings"); nothing
reads list.display. The describe and the form helpText keep "View
settings", and each translation uses its locale's list.viewSettings label.
The types jsdoc and the plugin-list README describe the panel as it is:
name, columns, Layout, Group, Row height and Row color, with Save,
Restore defaults and Export in the footer. ko and es use the UI's own
words for refresh and pull to refresh.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CaA9KCLA988RAhFACC
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head f4ae8ed · 2026-11-26T12:11Z |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: Delta record on record 7190887867 (FAIL at ① Derived judgments
No must-fix, no should-fix. ② Semver levelFive packages at ③ Boundary flags
Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X
Landing on seat ACCEPT 7191740870, which sits on the same-head delta PASS 7191731377. The maintainer named this PR on the seat thread's decision card: 「合并 #37523」 on 「合并已 ACCEPT 的非受管 PR #37523(紧凑工具栏提示多语言)吗?」, 2026-11-26T12:26Z. Action: ready + auto-merge. Closes #36874 on merge. |
Requested by Bill · project thread
Fixes #36874
维护者速读
userActions.refresh只管宽工具栏」这几句,弹出框用界面上的叫法「视图设置」。What changes
packages/platform-objects/src/apps/translations/{ar,de,es-ES,fr,ja-JP,ko,pt-BR,ru,zh-CN,zh-Hant}.metadata-forms.generated.ts, thecompactToolbar.helpTextleaf only): each now carries the whole English hint, not just its old first sentence. The popover is named with each locale's own label for the "View settings" button (list.viewSettingsin@object-ui/i18n: 视图设置, 檢視設定, ビュー設定, 보기 설정, Ansichtseinstellungen, Paramètres de la vue, Ajustes de vista, Configurações da visualização, Настройки представления, إعدادات العرض). ko and es use the UI's own words for refresh (새로고침) and pull to refresh (Tirar para actualizar).ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts, thecompactToolbarentry): same text as the zh-CN pack.list.viewSettingson the trigger,ViewSettingsPopover.tsx:1256; the phone sheet,ListView.tsx:7791; the title switcher) and nothing readslist.display, so theview.zod.tsdescribe and theview.form.tshelpText already use the UI's word and stay as onmain(seat ruling in L1 7190902038).compactToolbarjsdoc inui/packages/types/src/objectql.tsandui/packages/plugin-list/README.mddescribe the View settings popover as it is: the view's name, its columns, and Layout, Group, Row height and Row color where the host offers them, with Save (when wired), Restore defaults and Export in its footer. No Refresh, Row numbers or Edit inline there; Refresh is drawn only atListView.tsx:8171behind!compactToolbar.userActionsnote inpackages/spec/liveness/view.jsoncitesListView.tsx:2682-2736fortoolbarFlags,:2717forshowRefreshand:8171for the button, measured at 54ea3c8.Why
PR #36872 reworded the English hint; the translations and the zh-CN overlay kept only its old first sentence, so non-English builders were told less than the English says. The scope comment on the card added the wording and line-number fixes.
Verification
pnpm check:i18nEXIT=0;pnpm check:i18n-stale-fillEXIT=0;pnpm check:i18n-walk-parityEXIT=0.pnpm --filter @objectstack/spec check:generatedEXIT=0 (all artifacts current, incl.check:liveness,check:docs). Rework round 1 (headf4ae8eda41): same gates re-run, all EXIT=0.check:i18n-coveragecould not measure locally (exit 3:examples/app-showcaseneeds@objectstack/service-printbuilt); left to CI. This PR adds no key.overlap-check --branch=HEAD: clean against main and 6 open PRs.Clause-②: no
Metadata-protocol: none
Human Minimum
packages/specholds no runtime logic.pnpm lintpasses.main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CaA9KCLA988RAhFACC