Skip to content

fix(platform-objects): the rest of the report panel hints read the business wording in ja-JP, es-ES and zh-CN - #37464

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-37384-report-panel-translations
Nov 26, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-37384-report-panel-translations

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

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), report block. No key added or dropped; pnpm check:i18n is in sync. Vocabulary follows PR #37377: データソース / 指標 / グループ化 · Fuente de datos / Métricas / Agrupar por · 数据来源 / 指标 / 分组. The enum tokens matrix / joined stay as tokens, as the English and each bundle's own type hint keep them.

Every leaf re-translated (current English, then the new value per locale):

Leaf English ja-JP es-ES zh-CN
report.sections.joined_blocks.description Other blocks stacked into the same report, each with its own data source (joined reports only). 同じレポートに積み重ねる他のブロック。それぞれ独自のデータソースを持ちます(joined レポートのみ)。 Otros bloques apilados en el mismo informe, cada uno con su propia fuente de datos (solo informes joined). 叠加进同一张报表的其他分块,各有自己的数据来源(仅 joined 报表)
report.sections.filter_and_chart.description Filter conditions and how the chart is shown. フィルター条件と、チャートの表示方法。 Las condiciones de filtro y cómo se muestra el gráfico. unchanged (条件与图表展示 already follows)
report.fields.columns.helpText Groups spread across the columns (matrix reports only). 列方向に展開するグループ(matrix レポートのみ)。 Grupos distribuidos en las columnas (solo informes matrix). 横向展开的分组(仅 matrix 报表)
report.fields.order.helpText What to sort by, most important first (a grouping or a metric). Time groupings sort in date order by default. 並べ替えの基準。重要なものから順に指定します(グループまたは指標)。時間のグループは既定で日付順に並びます。 Por qué ordenar, lo más importante primero (una agrupación o una métrica). Las agrupaciones de tiempo se ordenan por fecha de forma predeterminada. 排序依据,最重要的在前(某个分组或指标)。时间分组默认按时间先后排列。
report.fields.blocks.helpText Sub-reports, each with its own data source (joined reports only). サブレポート。それぞれ独自のデータソースを持ちます(joined レポートのみ)。 Subinformes, cada uno con su propia fuente de datos (solo informes joined). 子报表,各有自己的数据来源(仅 joined 报表)
report.fields.chart.helpText Chart type and settings. チャートの種類と設定。 Tipo y configuración del gráfico. unchanged (图表类型与配置 already follows)
report.fields.dateRange.helpText The period the report opens with, and whether people may choose their own range. レポートを開いたときに表示される期間と、利用者が自分で範囲を選べるかどうか。 El período con el que se abre el informe y si cada persona puede elegir su propio rango. 打开报表时显示的时间段,以及使用者能否自己选择范围
report.fields.exportOptions.helpText Download formats (csv, xlsx) and file name. Who may download is set by the export permission on the data source’s object. …データソースのオブジェクトのエクスポート権限で決まります。 (データセット → データソース) …el permiso de exportación del objeto de la fuente de datos. (del conjunto de datos → de la fuente de datos) …由数据来源对象上的导出权限决定 (数据集 → 数据来源)

Counts: ja-JP 8 leaves, es-ES 8 leaves, zh-CN 6 leaves. zh-CN filter_and_chart.description and chart.helpText were 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 the matrix / joined tokens its type hint and joined_blocks label use, where the overlay writes 矩阵表 / 联合报表.

Ledger. report-dataset-panel-echo-decisions.test.ts: the values.helpText row's reason cited its sibling order.helpText as 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
pnpm --filter @objectstack/platform-objects exec vitest run --maxWorkers=2 src/apps/translations
 Test Files  26 passed (26)
      Tests  610 passed (610)
pnpm --filter @objectstack/platform-objects run typecheck   (tsc --noEmit, scripts tsconfig, check:test-typecheck OK)
os-verify-lock: VERDICT command-exit 0
pnpm --filter @objectstack/platform-objects exec vitest run --maxWorkers=2
 Test Files  127 passed (127)
      Tests  2176 passed (2176)
os-verify-lock: VERDICT command-exit 0
Local gates, at d37c591
node scripts/pm/dispatch-gates.mjs --commands (diff-derived): 63 families
pnpm check:i18n                     EXIT=0  check-i18n-bundles: OK (10 package(s), all bundles in sync, no undeclared authoring keys)
                                    (first run EXIT=3 PREREQUISITE NOT MET, CLI unbuilt; re-run after the gate's own closure build)
pnpm check:i18n-stale-fill          EXIT=0  OK (11 bundle set(s), no new stale fills, 1 baselined)
pnpm check:nul-bytes                EXIT=0
pnpm check:doc-authoring            EXIT=0
pnpm check:issue-citations          EXIT=0  (self-test + scan: no issue citations added, 3 files read)
pnpm check:cross-package-test-inputs EXIT=0
check-adr-0087-registration / check-changeset-no-major / check-empty-changeset   EXIT=0 each
pnpm check:dual-build-cjs-loads     EXIT=0  (first run EXIT=3 prerequisite, re-run green)
remaining 41 derived families       EXIT=0 each
NOT MEASURED locally (my 150 s per-gate cap, whole-tree scans that read no translation text; CI runs them):
  check-comment-mask-corpus, check:query-options-erasure, check:slot-lookup
dispatch-gates --ran                63 of 63 derived families accounted for
node scripts/pm/overlap-check.mjs --branch=HEAD   VERDICT clean (origin/main, #37436, #37422 merge cleanly)

Acceptance notes

  • Card item "the PR names every leaf it re-translated": the table above names all 22 locale-leaves; the two zh-CN leaves left as is are named too.
  • Same-family leftovers, not in this card (noted, not filed): report.fields.type.helpText still 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.label in zh-CN reads joined 报表分块 where the console overlay reads 联合报表的分块; label leaves were outside this card.
  • dataset-panel-echo-decisions.test.ts cites report.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:

  1. packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts, report block: the 8 changed values.
  2. packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts, report block: the 8 changed values.
  3. packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts, report block: 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

…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>
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

Nothing 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): node scripts/docs-audit/affected-docs.mjs --json a46efa8c625f2b43d4aa1aa1044eb702667ba07d → packageMentionDocs.

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 26, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Contract review

Served-tier: TIER_DEFAULT
Head-sha: d37c59140d674029237c5e39cfee86a8e781c751
Local-runs: none

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 main.

① Derived judgments

  • Accuracy. All 22 locale-leaves (ja-JP 8, es-ES 8, zh-CN 6) say what the current English says, with one ambiguity (S1). Vocabulary matches fix(platform-objects): report panel rows read the business wording in zh-CN, ja-JP and es-ES #37377: データソース / 指標 / グループ, fuente de datos / métrica / agrupación, 数据来源 / 指标 / 分组. The matrix / joined tokens are kept, as each bundle's own type hint keeps them.
  • The 2 skipped zh-CN leaves are current. chart.helpText 图表类型与配置 is exactly "Chart type and settings." filter_and_chart.description 条件与图表展示 carries the meaning (N1). Both equal the console overlay.
  • Generated files. The *.generated.ts name is about structure only. AGENTS.md's file table says translated-locale values (zh-CN / ja-JP / es-ES) are hand-written and that check-i18n-bundles.mjs --write merge mode keeps them; only en is rewritten from source. So the edit is in the right place and no source edit is owed. No key was added or dropped, and en is untouched. Neither source-hash table has a metadataForms entry, so no digest is owed.
  • Ledger. The added sentence in report-dataset-panel-echo-decisions.test.ts is true on this head. No verdict or pinned value moved.
  • Card acceptance. Every re-translated leaf is named in the PR table, and the 2 skipped ones are named. Lint & Repo Gates and Test Core are green on the head.

Findings:

S1 (should-fix) — es-ES report.fields.order.helpText opens "Por qué ordenar", which a Spanish reader takes first as "Why sort", not "What to sort by". The parenthesis rescues the meaning, so it does not block. Suggested: "Criterio de ordenación, lo más importante primero (una agrupación o una métrica)."
S2 (should-fix) — the stale reason in dataset-panel-echo-decisions.test.ts (the include label row cites report.sections.joined_blocks.label is 关联对象, which no bundle reads) needs a small card. It is the same class of false ledger citation this PR fixed in the report ledger, no gate catches it, and a note in a merged PR body is not a carrier. This is not a change to this PR.
N1 (nit) — zh-CN filter_and_chart.description 条件与图表展示 drops "Filter" and "how". 筛选条件与图表的展示方式 would be closer. It reads correctly under the 筛选与图表 heading.
N2 (nit) — ja-JP dateRange.helpText says 利用者 where the sibling hints (dataset, exportOptions) say ユーザー.

② Semver level

patch on @objectstack/platform-objects is right: translated strings only, no key, accepted value, default or English string changed. It matches #37377's changeset. Clause-②: no and Metadata-protocol: none hold.

③ Boundary flags

  • open_questions: none.
  • Not filed, zh-CN joined_blocks.label (joined 报表分块 against the overlay's 联合报表的分块): no card needed. The label is outside the card, the bundle is self-consistent in keeping the joined token, and the overlay supplies the console's wording.
  • Not filed, stale 关联对象 citation: needs a card (S2).
  • Dev deviation, 3 gate families not measured locally: answered by CI, where the slot-lookup and corpus and the query-options erasure lint jobs are green on this head.
  • SQL push-down: not applicable, the diff holds no query or join.

Implemented-by: claude/issue-37384-report-panel-translations
Reviewed-by: session_01Utp6CYtTDvfPQDzMbZnN5X

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

席位核对

Head-sha: d37c59140d674029237c5e39cfee86a8e781c751
ACCEPT — L1, seat repo:objectstack#5

  1. Shape: open draft against main, 5 files (+33/−23), Fixes #37384, Clause-②: no, Metadata-protocol: none, patch on @objectstack/platform-objects. The face is declaration and the tier is TIER_DEFAULT; l1-face is clean.
  2. Contract record: L2 PASS, comment 7184987668, same head. Translations match the current English and fix(platform-objects): report panel rows read the business wording in zh-CN, ja-JP and es-ES #37377's vocabulary in all 22 locale-leaves. The 2 skipped zh-CN leaves are current. The locale values are hand-written, so editing the *.generated.ts bundles is the right place. The ledger reason edit is true and moves no pin.
  3. Gates: check-runs at d37c5914: 37 success, 16 skipped, 0 failed.
  4. Accepted deviations: S1 (es-ES order.helpText reads "Por qué ordenar") is a copy ambiguity, not a wrong value, and does not block. It went to the loose-ends card with N1 and N2.
  5. Out of scope and where it went: S1, N1, N2 and S2 (the stale 关联对象 reason in dataset-panel-echo-decisions.test.ts) are items 6–9 on console UI (area o1-B) loose ends: copy and doc-comment nits from landed reviews #35155, comment 7185001640. The zh-CN joined_blocks.label difference from the console overlay needs no card (record ③).
  6. Landing terms: ungoverned, default tier, no must-fix. The area marks it ready and lands it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Probe Reading
check-governed-merges --pr 37464 NOT governed, 56 lines ≤ 3000
landing-k --pr 37464 K = 0 < 15
pr-state --pr 37464 at d37c59140d 37 success · 16 expected skip · 0 failed · 0 pending, mergeable clean
os-regen paths in diff none

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

报表面板其余说明文字:ja-JP、es-ES、zh-CN 仍是 #36447 改写前的开发者用语(接 #36836)

2 participants