Repository navigation
fix(platform-objects): the rest of the report panel hints read the business wording in ja-JP, es-ES and zh-CN - #37464
Conversation
…business wording in ja-JP, es-ES and zh-CN Re-translate the columns, order, blocks, chart, dateRange and exportOptions hints and the joined_blocks / filter_and_chart section descriptions from the current English in ja-JP and es-ES, and the six stale ones in zh-CN. Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckNothing 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): |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head d37c591 · 2026-11-26T06:54Z The seat runs the at-tier contract review of this head through an isolated sub-agent; L1 is the seat's own. |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: Read: card #37384 (body and 4 comments), the PR body, dev report 7184888492, the 5-file diff (+33/−23), the head's check-runs (37 success, 16 skipped, 0 failed), PR #37377's merged values and the English leaves on ① Derived judgments
Findings: S1 (should-fix) — es-ES ② Semver level
③ 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 7185019648. The maintainer named it on the seat thread's decision card (「合并这三个」 on 「合并 #37394、#37421、#37464 这三个已 ACCEPT 的非受管 PR 吗?」, 2026-11-26T07:11Z): ready + auto-merge. Closes #37384 on merge. |
Fixes #37384
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Translation text only, in the three hand-written locale bundles of
@objectstack/platform-objects(zh-CN,ja-JP,es-ES*.metadata-forms.generated.ts),reportblock. No key added or dropped;pnpm check:i18nis in sync. Vocabulary follows PR #37377: データソース / 指標 / グループ化 · Fuente de datos / Métricas / Agrupar por · 数据来源 / 指标 / 分组. The enum tokensmatrix/joinedstay as tokens, as the English and each bundle's owntypehint keep them.Every leaf re-translated (current English, then the new value per locale):
report.sections.joined_blocks.descriptionreport.sections.filter_and_chart.descriptionreport.fields.columns.helpTextreport.fields.order.helpTextreport.fields.blocks.helpTextreport.fields.chart.helpTextreport.fields.dateRange.helpTextreport.fields.exportOptions.helpTextCounts: ja-JP 8 leaves, es-ES 8 leaves, zh-CN 6 leaves. zh-CN
filter_and_chart.descriptionandchart.helpTextwere already current against the English and are left as is. The six zh-CN values that moved match the console's own zh overlay (metadata-form-zh-cn.ts), which already carried the current English, except that the platform bundle keeps thematrix/joinedtokens itstypehint andjoined_blockslabel use, where the overlay writes 矩阵表 / 联合报表.Ledger.
report-dataset-panel-echo-decisions.test.ts: thevalues.helpTextrow's reason cited its siblingorder.helpTextas naming the rows/columns dimension and values measure vocabularies; that sibling no longer does, so the reason gains one sentence saying so and keeps the precedent as the record of why the leaf was reached. No verdict or pinned value moved: no ledger pins any of the leaves above by value (they are the population's authored, non-echoing negatives).Tests
platform-objects: translations suite, full package suite and typecheck, green at d37c591
Local gates, at d37c591
Acceptance notes
report.fields.type.helpTextstill reads the enum list as slash-joined tokens (tabular / summary / matrix / joined) in all three bundles while the English reads "Report type: tabular, summary, matrix or joined."; the meaning matches, so it is not stale.report.sections.joined_blocks.labelin zh-CN readsjoined 报表分块where the console overlay reads 联合报表的分块; label leaves were outside this card.dataset-panel-echo-decisions.test.tscitesreport.sections.joined_blocks.label is 关联对象in one reason, which the bundle no longer reads; that row is the dataset panel's and its verdict does not depend on it. Not touched.Verification
First read, by risk:
packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts,reportblock: the 8 changed values.packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts,reportblock: the 8 changed values.packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts,reportblock: the 6 changed values.Two-minute check:
pnpm --filter @objectstack/platform-objects exec vitest run src/apps/translations, expect 26 files, 610 tests passed. In the browser: switch Studio to 日本語, open any report, and the Sort Order hint reads 並べ替えの基準。重要なものから順に指定します(グループまたは指標)… with no rows / columns / values tokens.Generated by Claude Code