Skip to content

fix(platform-objects): report panel rows read the business wording in zh-CN, ja-JP and es-ES - #37377

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-36836-report-panel-translations
Nov 26, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-36836-report-panel-translations

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #36836

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). No key added or dropped; pnpm check:i18n is in sync.

The six rows #36447 reworded (the six ledger-pinned hints PR #36814 left marked "not re-judged"), re-translated from the current English in ja-JP and es-ES, and in zh-CN too (see Acceptance notes):

Leaf zh-CN ja-JP es-ES
report.sections.dataset_binding.description 报表的数字从哪里来、如何分组和排序,以及点击某一行时打开哪些记录 レポートの数値をどこから取得し、どのようにグループ化して並べ替えるか、そして行をクリックしたときにどのレコードを開くか。 De dónde provienen las cifras del informe, cómo se agrupan y ordenan, y qué registros se abren al hacer clic en una fila.
report.fields.dataset.helpText 报表从这里取数;每个人只能看到自己有权限的记录 レポートはここから数値を読み取ります。各ユーザーには、アクセス権のあるレコードだけが表示されます。 El informe obtiene sus cifras de aquí; cada persona solo ve los registros a los que tiene acceso.
report.fields.values.helpText 要展示的指标,例如合计、计数、平均值或比率(来自数据来源) 表示する指標。合計、件数、平均、比率など(データソースから取得)。 Las métricas que se mostrarán, como totales, recuentos, promedios o proporciones (de la fuente de datos).
report.fields.rows.helpText 按哪些字段分组(来自数据来源) グループ化に使うフィールド(データソースから取得)。 Los campos por los que agrupar (de la fuente de datos).
report.fields.drilldown.helpText 点击汇总后的行或单元格,打开其中的记录 集計された行またはセルをクリックして、その元になっているレコードを開きます。 Haz clic en una fila o celda resumida para abrir los registros que hay detrás.
report.fields.runtimeFilter.helpText 每次显示报表时都会应用的筛选,叠加在数据来源自身的条件之上 レポートを表示するたびに適用されるフィルター。データソース自体の条件に加えて適用されます。 Un filtro que se aplica cada vez que se muestra el informe, además de las condiciones propias de la fuente de datos.

The values hint is translated against the current English from #36879 ("…such as totals, counts, averages or ratios…") in all three locales (scope note item 1 and 2). exportOptions.fileNamePrefix was already done by #36879 and is untouched.

The eight label leaves (scope note item 3), each in zh-CN / ja-JP / es-ES, top level and the blocks twin moved together:

Leaves was now
dataset, blocks.dataset 数据集 · データセット · Conjunto de datos 数据来源 · データソース · Fuente de datos
values, blocks.values 度量 · メジャー · Medidas 指标 · 指標 · Métricas
rows, blocks.rows 行 · 行 · Filas 分组 · グループ化 · Agrupar por
columns, blocks.columns 列 · 列 · Columnas 列分组 · 列のグループ化 · Agrupar columnas por

zh-CN uses the console overlay's words; ja-JP and es-ES use the words this catalog already spends on the data source (データソース / Fuente de datos, e.g. report.fields["dateRange.dimension"]).

The heading (scope note item 4): report.sections.dataset_binding.label 数据集绑定 / データセットのバインド / Vinculación del conjunto de datos becomes 数据来源绑定 / データソースの紐付け / Vinculación de la fuente de datos, so the heading names the source with the same word as the field under it.

Ledgers. The three decision ledgers that pin these leaves are updated in place: report-form-echo-decisions.test.ts and report-dataset-panel-echo-decisions.test.ts record the re-judgement on each row (the "not re-judged" notes are resolved); the vocabulary twin test now asserts the business vocabulary (heading and field twins name the source once, the description no longer speaks of dimensions); the AND token test now asserts the business-wording hint carries no AND in any locale, while the dataset filter twin keeps it. object-lifecycle-panel-echo-decisions.test.ts copied its "rows" fragment (行 / filas) from report.fields.rows.label; that leaf left the record-row sense, so the eight copies now point at sys_import_job.fields.total_rows.label (総行数 / Filas totales, authored, no provenance row), and the renderings did not move.

Tests

platform-objects translations suite + typecheck — green at 1928c08
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)
os-verify-lock: VERDICT command-exit 0

First run before the ledger fixes was red (2 files): a syntax slip in a ledger reason, and the lifecycle ledger's twin assertion ja-JP twin report.fields.rows.label lost the shared fragment: expected 'グループ化' to contain '行' — the expected consequence of moving the rows label, fixed by re-pointing the twin.

Local gates — at 1928c08
pnpm check:i18n                    EXIT=0  check-i18n-bundles: OK (10 package(s) — all bundles in sync, no undeclared authoring keys).
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)
pnpm check:cross-package-test-inputs EXIT=0
pnpm check:i18n-coverage           EXIT=3  NOT MEASURED: showcase config needs service-print built; declared to CI
node scripts/pm/overlap-check.mjs --branch=HEAD   VERDICT clean (origin/main and #37366 merge cleanly)

The remaining derived families are whole-tree gates unrelated to translation text; CI runs them.

Acceptance notes

Verification

First read, by risk:

  1. packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts and es-ES.metadata-forms.generated.ts, the report block: the 15 changed values per locale.
  2. packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts: the rewritten vocabulary twin test and the AND token test.
  3. packages/platform-objects/src/apps/translations/object-lifecycle-panel-echo-decisions.test.ts: the re-pointed "rows" twin.

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 Data Source section reads データソース / 指標 / グループ化 under the heading データソースの紐付け.


Generated by Claude Code

… zh-CN, ja-JP and es-ES

Re-translates the six reworded report-panel hints, the zh-CN values hint,
the eight dataset/values/rows/columns labels (top level and blocks) and the
Dataset binding heading from the current English.

Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv
Co-authored-by: Claude <noreply@anthropic.com>
…and pin the business vocabulary

Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv
Co-authored-by: Claude <noreply@anthropic.com>
…authored record-row label

Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/m 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
@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 02520ab4808e46fa708ca257b11981499079d3ae → packageMentionDocs.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

席位核对

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

  1. Shape: open draft against main. 7 files, +124/−113. The first line is Fixes #36836, and merging delivers the whole card: the six rows console: English report and dashboard panel rows still show the spec's describe wording #36447 reworded and the eight label leaves, in ja-JP, es-ES and zh-CN. No closing keyword binds another card. l1-face CLEAN, 13 items.
  2. Premise: translations only. No key was added or dropped, and no English string or default changed. The tables in the PR body match the diff. The declared deviation is sound. The zh-CN platform bundle carried the old wording on five of the six rows, so they were fixed in the same pass. The lifecycle ledger's "rows" twin was re-pointed from report.fields.rows.label to sys_import_job.fields.total_rows.label (行 / Filas, the record-row sense), so those renderings did not move.
  3. Gates: check-runs at 1928c08bba: 37 success, 16 path-skipped, 0 failed. Read sentence by sentence against the diff, the changeset is true.
  4. Accepted deviations: the zh-CN rows beyond the card's premise and the one ledger pin re-pointed, both as above.
  5. Out of scope and where it went: the remaining console: English report and dashboard panel rows still show the spec's describe wording #36447-reworded report-panel leaves in ja/es/zh go to the closing card the area files under 报表面板改写后的六行:ja-JP 和 es-ES 译文仍是旧的开发者含义,需要译者过一遍 #36836. The stale console overlay values hint is carried by open PR refactor(spec)!: rename the Studio helper defineForm to defineMetadataForm and its modules to *.metadata-form.ts #37366.
  6. Landing terms: ungoverned, default tier, Clause-②: no. L1 only. The area lands it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Probe Reading
check-governed-merges --pr 37377 NOT governed, ≤ 3000 lines
landing-k --pr 37377 K = 14 < 15
pr-state --pr 37377 at 1928c08bba 37 success · 16 expected skip · 0 failed · 0 pending, mergeable clean

Landing on seat ACCEPT 7179065378, named by the maintainer in the seat thread (「合并 #37354 #37377 #37373 #37381」, 2026-11-26T02:14Z): ready + auto-merge. Closes #36836 on merge.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 26, 2026 02:17
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 15e80d2 Nov 26, 2026
54 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-36836-report-panel-translations branch November 26, 2026 02:44
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…siness wording in ja-JP, es-ES and zh-CN (objectstack-ai#37464)

Fixes objectstack-ai#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 objectstack-ai#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

<details><summary>platform-objects: translations suite, full package
suite and typecheck, green at d37c591</summary>

```
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
```
</details>

<details><summary>Local gates, at d37c591</summary>

```
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, objectstack-ai#37436, objectstack-ai#37422 merge cleanly)
```
</details>

## 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](https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv)_

Co-authored-by: Claude <noreply@anthropic.com>
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/m 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 译文仍是旧的开发者含义,需要译者过一遍

2 participants