From d37c59140d674029237c5e39cfee86a8e781c751 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 05:36:30 +0000 Subject: [PATCH] fix(platform-objects): the rest of the report panel's hints read the 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 --- .../37384-report-panel-remaining-translations.md | 10 ++++++++++ .../es-ES.metadata-forms.generated.ts | 16 ++++++++-------- .../ja-JP.metadata-forms.generated.ts | 16 ++++++++-------- .../report-dataset-panel-echo-decisions.test.ts | 2 +- .../zh-CN.metadata-forms.generated.ts | 12 ++++++------ 5 files changed, 33 insertions(+), 23 deletions(-) create mode 100644 .changeset/37384-report-panel-remaining-translations.md diff --git a/.changeset/37384-report-panel-remaining-translations.md b/.changeset/37384-report-panel-remaining-translations.md new file mode 100644 index 00000000000..96314468d03 --- /dev/null +++ b/.changeset/37384-report-panel-remaining-translations.md @@ -0,0 +1,10 @@ +--- +'@objectstack/platform-objects': patch +--- + +Clause-②: no +Metadata-protocol: none + +The rest of the report authoring panel's hints now say in Japanese and Spanish (and, where it still lagged, Chinese) what the English says. The Group Columns By, Sort Order, Blocks, Chart, Date Range and Export Options hints and the Joined blocks and Filter & chart section descriptions still translated the older developer wording (dimension names, sort keys with rows / columns / values, sub-reports bound to a dataset, chart type / legend / colors, the dataset's date dimension, the dataset's object); they are re-translated from the current English with the panel's business words (データソース / 指標 / グループ化, Fuente de datos / Métricas / Agrupar por, 数据来源 / 指标 / 分组). In Chinese the Chart hint and the Filter & chart description already followed the English and are unchanged. + +Only translated text moved. No key, accepted value, default or English string changed. diff --git a/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts index e00865969f9..489774cf924 100644 --- a/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts @@ -2236,11 +2236,11 @@ export const esESMetadataForms: NonNullable = }, joined_blocks: { label: "Bloques unidos", - description: "Bloques adicionales unidos en un solo informe (solo informes joined)." + description: "Otros bloques apilados en el mismo informe, cada uno con su propia fuente de datos (solo informes joined)." }, filter_and_chart: { label: "Filtro y gráfico", - description: "Filtros a nivel de informe y presentación del gráfico." + description: "Las condiciones de filtro y cómo se muestra el gráfico." }, period_and_export: { label: "Periodo y exportación", @@ -2277,11 +2277,11 @@ export const esESMetadataForms: NonNullable = }, columns: { label: "Agrupar columnas por", - helpText: "Nombres de dimensión en horizontal (solo matrix)" + helpText: "Grupos distribuidos en las columnas (solo informes matrix)." }, order: { label: "Orden", - helpText: "Claves de ordenación, la más significativa primero (una dimensión de rows/columns o una medida de values). Las dimensiones de tiempo son cronológicas de forma predeterminada." + helpText: "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." }, "order.by": { label: "Ordenar por" @@ -2295,7 +2295,7 @@ export const esESMetadataForms: NonNullable = }, blocks: { label: "Bloques", - helpText: "Subinformes vinculados a un conjunto de datos (solo informe joined)" + helpText: "Subinformes, cada uno con su propia fuente de datos (solo informes joined)." }, "blocks.name": { label: "Nombre" @@ -2333,11 +2333,11 @@ export const esESMetadataForms: NonNullable = }, chart: { label: "Gráfico", - helpText: "Configuración de gráfico (type, legend, colors)" + helpText: "Tipo y configuración del gráfico." }, dateRange: { label: "Rango de fechas", - helpText: "Periodo predeterminado e interruptor de rango personalizado. La dimensión debe ser una dimensión de fecha del conjunto de datos; déjela vacía cuando el conjunto de datos tenga exactamente una." + helpText: "El período con el que se abre el informe y si cada persona puede elegir su propio rango." }, "dateRange.dimension": { label: "Campo de fecha", @@ -2353,7 +2353,7 @@ export const esESMetadataForms: NonNullable = }, exportOptions: { label: "Opciones de exportación", - helpText: "Formatos de descarga (csv, xlsx) y nombre de archivo. Quién puede descargar lo determina el permiso de exportación del objeto del conjunto de datos." + helpText: "Formatos de descarga (csv, xlsx) y nombre de archivo. Quién puede descargar lo determina el permiso de exportación del objeto de la fuente de datos." }, "exportOptions.formats": { label: "Formatos", diff --git a/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts index 391a7b0ae74..ebb1443b29e 100644 --- a/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts @@ -2236,11 +2236,11 @@ export const jaJPMetadataForms: NonNullable = }, joined_blocks: { label: "結合ブロック", - description: "1 つのレポートに結合する追加ブロック(joined レポートのみ)。" + description: "同じレポートに積み重ねる他のブロック。それぞれ独自のデータソースを持ちます(joined レポートのみ)。" }, filter_and_chart: { label: "フィルターとチャート", - description: "レポートレベルのフィルターとチャート表示。" + description: "フィルター条件と、チャートの表示方法。" }, period_and_export: { label: "期間とエクスポート", @@ -2277,11 +2277,11 @@ export const jaJPMetadataForms: NonNullable = }, columns: { label: "列のグループ化", - helpText: "横方向のディメンション名(matrix のみ)" + helpText: "列方向に展開するグループ(matrix レポートのみ)。" }, order: { label: "並び順", - helpText: "ソートキー(優先度の高い順)。rows/columns のディメンション、または values のメジャーを指定します。時間ディメンションは既定で時系列順です。" + helpText: "並べ替えの基準。重要なものから順に指定します(グループまたは指標)。時間のグループは既定で日付順に並びます。" }, "order.by": { label: "並び替えキー" @@ -2295,7 +2295,7 @@ export const jaJPMetadataForms: NonNullable = }, blocks: { label: "ブロック", - helpText: "データセットにバインドされたサブレポート(joined レポートのみ)" + helpText: "サブレポート。それぞれ独自のデータソースを持ちます(joined レポートのみ)。" }, "blocks.name": { label: "名前" @@ -2333,11 +2333,11 @@ export const jaJPMetadataForms: NonNullable = }, chart: { label: "チャート", - helpText: "チャート設定(type, legend, colors)" + helpText: "チャートの種類と設定。" }, dateRange: { label: "日付範囲", - helpText: "既定の期間とカスタム範囲の切り替え。ディメンションはデータセットの日付ディメンションである必要があります。データセットに日付ディメンションが 1 つだけの場合は空欄のままにします。" + helpText: "レポートを開いたときに表示される期間と、利用者が自分で範囲を選べるかどうか。" }, "dateRange.dimension": { label: "日付フィールド", @@ -2353,7 +2353,7 @@ export const jaJPMetadataForms: NonNullable = }, exportOptions: { label: "エクスポートオプション", - helpText: "ダウンロード形式(csv, xlsx)とファイル名。ダウンロードできるユーザーは、データセットのオブジェクトのエクスポート権限で決まります。" + helpText: "ダウンロード形式(csv, xlsx)とファイル名。ダウンロードできるユーザーは、データソースのオブジェクトのエクスポート権限で決まります。" }, "exportOptions.formats": { label: "形式", diff --git a/packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts b/packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts index 5cdb1a8042f..75f0dd13aed 100644 --- a/packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts +++ b/packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts @@ -111,7 +111,7 @@ const DECISIONS: readonly Decision[] = [ en: 'The metrics to show, such as totals, counts, averages or ratios (from the data source).', verdict: ALL_TRANSLATE, reason: - 'Prose. Its own sibling order.helpText names the same two vocabularies (rows/columns dimensions, values measures) in authored text in every locale, so the vocabulary existed and this leaf simply never got it. ⚠️ #36447 reworded this `en` source into business terms (from "Measure names (from the dataset) to display"); the zh-CN / ja-JP / es-ES verdicts and values above were taken against the OLD English and were not re-judged. ⚠️ #36838 reworded it again (from "The metrics to total or count (from the data source)."), because a measure may be any dataset measure, not only a total or a count. #36836 re-translated all three values from that English, naming the same four examples (totals, counts, averages, ratios) in each locale.', + 'Prose. Its own sibling order.helpText names the same two vocabularies (rows/columns dimensions, values measures) in authored text in every locale, so the vocabulary existed and this leaf simply never got it. ⚠️ #36447 reworded this `en` source into business terms (from "Measure names (from the dataset) to display"); the zh-CN / ja-JP / es-ES verdicts and values above were taken against the OLD English and were not re-judged. ⚠️ #36838 reworded it again (from "The metrics to total or count (from the data source)."), because a measure may be any dataset measure, not only a total or a count. #36836 re-translated all three values from that English, naming the same four examples (totals, counts, averages, ratios) in each locale. #37384 then re-translated the sibling order.helpText from its business English (a grouping or a metric) in all three locales, so the sibling no longer spells those two vocabularies; the precedent above is kept as the record of why this leaf was reached.', }, { type: 'report', diff --git a/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts index f836595e028..a560d1b6281 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts @@ -2236,7 +2236,7 @@ export const zhCNMetadataForms: NonNullable = }, joined_blocks: { label: "joined 报表分块", - description: "叠加进同一张报表的其他数据集分块(仅 joined 报表)" + description: "叠加进同一张报表的其他分块,各有自己的数据来源(仅 joined 报表)" }, filter_and_chart: { label: "筛选与图表", @@ -2277,11 +2277,11 @@ export const zhCNMetadataForms: NonNullable = }, columns: { label: "列分组", - helpText: "横向展开的维度名(仅 matrix 报表)" + helpText: "横向展开的分组(仅 matrix 报表)" }, order: { label: "排序", - helpText: "排序键,最重要的在前(rows/columns 维度或 values 度量)。时间维度默认按时间顺序排列。" + helpText: "排序依据,最重要的在前(某个分组或指标)。时间分组默认按时间先后排列。" }, "order.by": { label: "排序依据" @@ -2295,7 +2295,7 @@ export const zhCNMetadataForms: NonNullable = }, blocks: { label: "分块", - helpText: "绑定数据集的子报表(仅 joined 报表)" + helpText: "子报表,各有自己的数据来源(仅 joined 报表)" }, "blocks.name": { label: "名称" @@ -2337,7 +2337,7 @@ export const zhCNMetadataForms: NonNullable = }, dateRange: { label: "日期范围", - helpText: "默认时间段与自定义范围开关。维度必须是数据集的日期维度;数据集只有一个日期维度时可留空" + helpText: "打开报表时显示的时间段,以及使用者能否自己选择范围" }, "dateRange.dimension": { label: "日期字段", @@ -2353,7 +2353,7 @@ export const zhCNMetadataForms: NonNullable = }, exportOptions: { label: "导出选项", - helpText: "下载格式(csv、xlsx)与文件名。谁可以下载由数据集对象上的导出权限决定" + helpText: "下载格式(csv、xlsx)与文件名。谁可以下载由数据来源对象上的导出权限决定" }, "exportOptions.formats": { label: "格式",