diff --git a/.changeset/20653-stale-authored-plugin-bundle-leaves.md b/.changeset/20653-stale-authored-plugin-bundle-leaves.md new file mode 100644 index 00000000000..a75d115fab6 --- /dev/null +++ b/.changeset/20653-stale-authored-plugin-bundle-leaves.md @@ -0,0 +1,35 @@ +--- +'@objectstack/plugin-webhooks': patch +'@objectstack/plugin-audit': patch +'@objectstack/plugin-security': patch +--- + +fix(plugin-webhooks,plugin-audit,plugin-security): the ja-JP, es-ES and zh-CN object help, descriptions and labels that contradicted their current English source are re-translated (#20653) + +Clause-②: no + +A translated object leaf that a translator wrote by hand is kept as written +when its English source changes later, so some leaves went on saying what the +old source said. On a ja-JP, es-ES or zh-CN console the `sys_webhook` record +page told an admin that `definition_json` carries the full headers / auth / +retry / payload configuration, where the English help says credentials are not +stored there: the signing secret and the custom headers live in the encrypted +`signing_secret` and `headers_secret` fields. + +Eighteen leaves (six paths, in all three locales) whose meaning contradicted +the current English now match it: + +- `@objectstack/plugin-webhooks`: the `sys_webhook.definition_json` help (no + credentials in the JSON) and the `sys_webhook` description (dispatched by the + webhook auto-enqueuer onto the shared HTTP outbox, not executed by an HTTP + connector plugin; declared through `defineStack({ webhooks })` too); +- `@objectstack/plugin-audit`: the `sys_activity.environment_id` label and help + (Environment, not Project), and the `sys_audit_log.user_id` label (User: the + object's separate `actor` field is the actor); +- `@objectstack/plugin-security`: the `sys_position` description (positions + distribute capability, not definitions for RBAC access control). + +Leaves whose English source only gained detail, was reworded, or was +title-cased (the `@objectstack/plugin-approvals` status and action options) +are unchanged. Values only: no key is added or removed, and no provenance +table changes. diff --git a/packages/plugins/plugin-audit/src/translations/es-ES.objects.generated.ts b/packages/plugins/plugin-audit/src/translations/es-ES.objects.generated.ts index e64327493df..a1e96820b12 100644 --- a/packages/plugins/plugin-audit/src/translations/es-ES.objects.generated.ts +++ b/packages/plugins/plugin-audit/src/translations/es-ES.objects.generated.ts @@ -39,7 +39,7 @@ export const esESObjects: NonNullable = { } }, user_id: { - label: "Actor", + label: "Usuario", help: "Usuario que realizó la acción (null para acciones del sistema)." }, actor: { @@ -175,8 +175,8 @@ export const esESObjects: NonNullable = { help: "Enlace profundo opcional al destino de la actividad." }, environment_id: { - label: "Proyecto", - help: "Contexto del proyecto (implementaciones multiproyecto)." + label: "Entorno", + help: "Contexto del entorno (implementaciones multientorno)." }, metadata: { label: "Metadatos", diff --git a/packages/plugins/plugin-audit/src/translations/ja-JP.objects.generated.ts b/packages/plugins/plugin-audit/src/translations/ja-JP.objects.generated.ts index 256513fb8a4..e600352bd82 100644 --- a/packages/plugins/plugin-audit/src/translations/ja-JP.objects.generated.ts +++ b/packages/plugins/plugin-audit/src/translations/ja-JP.objects.generated.ts @@ -39,7 +39,7 @@ export const jaJPObjects: NonNullable = { } }, user_id: { - label: "操作者", + label: "ユーザー", help: "アクションを実行したユーザー(システム操作の場合は null)" }, actor: { @@ -175,8 +175,8 @@ export const jaJPObjects: NonNullable = { help: "アクティビティターゲットへのオプションのディープリンク" }, environment_id: { - label: "プロジェクト", - help: "プロジェクトコンテキスト(マルチプロジェクトデプロイメント)" + label: "環境", + help: "環境コンテキスト(マルチ環境デプロイメント)" }, metadata: { label: "メタデータ", diff --git a/packages/plugins/plugin-audit/src/translations/zh-CN.objects.generated.ts b/packages/plugins/plugin-audit/src/translations/zh-CN.objects.generated.ts index eaf3ac3df84..c0b8c7eef4a 100644 --- a/packages/plugins/plugin-audit/src/translations/zh-CN.objects.generated.ts +++ b/packages/plugins/plugin-audit/src/translations/zh-CN.objects.generated.ts @@ -39,7 +39,7 @@ export const zhCNObjects: NonNullable = { } }, user_id: { - label: "执行人", + label: "用户", help: "执行该操作的用户(系统操作时为 null)" }, actor: { @@ -175,8 +175,8 @@ export const zhCNObjects: NonNullable = { help: "指向活动目标的可选深度链接" }, environment_id: { - label: "项目", - help: "项目上下文(多项目部署)" + label: "环境", + help: "环境上下文(多环境部署)" }, metadata: { label: "元数据", diff --git a/packages/plugins/plugin-security/src/translations/es-ES.objects.generated.ts b/packages/plugins/plugin-security/src/translations/es-ES.objects.generated.ts index ce61465e6b6..c3d180f3dd7 100644 --- a/packages/plugins/plugin-security/src/translations/es-ES.objects.generated.ts +++ b/packages/plugins/plugin-security/src/translations/es-ES.objects.generated.ts @@ -18,7 +18,7 @@ export const esESObjects: NonNullable = { sys_position: { label: "Puesto", pluralLabel: "Puestos", - description: "Definiciones de puesto para el control de acceso RBAC", + description: "Definiciones de puesto para la distribución de capacidades (ADR-0090)", fields: { label: { label: "Nombre visible" diff --git a/packages/plugins/plugin-security/src/translations/ja-JP.objects.generated.ts b/packages/plugins/plugin-security/src/translations/ja-JP.objects.generated.ts index b2ff622896f..efc9e96d117 100644 --- a/packages/plugins/plugin-security/src/translations/ja-JP.objects.generated.ts +++ b/packages/plugins/plugin-security/src/translations/ja-JP.objects.generated.ts @@ -18,7 +18,7 @@ export const jaJPObjects: NonNullable = { sys_position: { label: "ポジション", pluralLabel: "ポジション", - description: "RBAC アクセス制御のためのポジション定義", + description: "ケイパビリティ配分のためのポジション定義(ADR-0090)", fields: { label: { label: "表示名" diff --git a/packages/plugins/plugin-security/src/translations/zh-CN.objects.generated.ts b/packages/plugins/plugin-security/src/translations/zh-CN.objects.generated.ts index c9f175a080a..13f3fc0b13b 100644 --- a/packages/plugins/plugin-security/src/translations/zh-CN.objects.generated.ts +++ b/packages/plugins/plugin-security/src/translations/zh-CN.objects.generated.ts @@ -18,7 +18,7 @@ export const zhCNObjects: NonNullable = { sys_position: { label: "岗位", pluralLabel: "岗位", - description: "用于 RBAC 访问控制的岗位定义", + description: "用于分发授权能力的岗位定义(ADR-0090)", fields: { label: { label: "显示名称" diff --git a/packages/plugins/plugin-webhooks/src/translations/es-ES.objects.generated.ts b/packages/plugins/plugin-webhooks/src/translations/es-ES.objects.generated.ts index 2b379aad99e..8cb6ef6a3c3 100644 --- a/packages/plugins/plugin-webhooks/src/translations/es-ES.objects.generated.ts +++ b/packages/plugins/plugin-webhooks/src/translations/es-ES.objects.generated.ts @@ -18,7 +18,7 @@ export const esESObjects: NonNullable = { sys_webhook: { label: "Webhook", pluralLabel: "Webhooks", - description: "Suscripción saliente de Webhook HTTP. Se crea mediante defineWebhook() en código o con el editor de Studio; la ejecuta el plugin del conector HTTP.", + description: "Suscripción saliente de Webhook HTTP. Se declara en código mediante defineStack({ webhooks }) / defineWebhook() (materializada en filas al arrancar) o se crea directamente con el editor de Studio; el encolador automático de webhooks la despacha al outbox HTTP compartido.", fields: { id: { label: "ID de webhook" @@ -69,7 +69,7 @@ export const esESObjects: NonNullable = { }, definition_json: { label: "Definición", - help: "JSON serializado de Webhook (consulte @objectstack/spec/automation/webhook): configuración completa de cabeceras/auth/reintentos/payload." + help: "JSON serializado de Webhook (consulte @objectstack/spec/automation/webhook): el tiempo de espera y el resto del envelope definido. Las credenciales NO se almacenan aquí: el secreto de firma se guarda en el campo cifrado `signing_secret` y las cabeceras personalizadas, en el campo cifrado `headers_secret`." }, headers_secret: { label: "Cabeceras personalizadas", diff --git a/packages/plugins/plugin-webhooks/src/translations/ja-JP.objects.generated.ts b/packages/plugins/plugin-webhooks/src/translations/ja-JP.objects.generated.ts index 46c723cc75b..88583c2ea5f 100644 --- a/packages/plugins/plugin-webhooks/src/translations/ja-JP.objects.generated.ts +++ b/packages/plugins/plugin-webhooks/src/translations/ja-JP.objects.generated.ts @@ -18,7 +18,7 @@ export const jaJPObjects: NonNullable = { sys_webhook: { label: "ウェブフック", pluralLabel: "ウェブフック", - description: "送信 HTTP Webhook サブスクリプション。defineWebhook() またはスタジオエディタで作成し、HTTP コネクタプラグインが実行します。", + description: "送信 HTTP Webhook サブスクリプション。コードでは defineStack({ webhooks }) / defineWebhook() で宣言する(起動時に行として実体化)か、スタジオエディタで直接作成します。Webhook 自動エンキューアが共有 HTTP アウトボックスへディスパッチします。", fields: { id: { label: "Webhook ID" @@ -69,7 +69,7 @@ export const jaJPObjects: NonNullable = { }, definition_json: { label: "定義", - help: "シリアライズされた Webhook JSON(@objectstack/spec/automation/webhook 参照)— ヘッダー/認証/リトライ/ペイロード設定を含む" + help: "シリアライズされた Webhook JSON(@objectstack/spec/automation/webhook 参照)— タイムアウトなど、作成されたエンベロープの残りの設定。認証情報はここには保存されません。署名シークレットは暗号化された `signing_secret` フィールドに、カスタムヘッダーは暗号化された `headers_secret` フィールドに保存されます。" }, headers_secret: { label: "カスタムヘッダー", diff --git a/packages/plugins/plugin-webhooks/src/translations/zh-CN.objects.generated.ts b/packages/plugins/plugin-webhooks/src/translations/zh-CN.objects.generated.ts index 7c53645cb97..e7dd6576d2b 100644 --- a/packages/plugins/plugin-webhooks/src/translations/zh-CN.objects.generated.ts +++ b/packages/plugins/plugin-webhooks/src/translations/zh-CN.objects.generated.ts @@ -18,7 +18,7 @@ export const zhCNObjects: NonNullable = { sys_webhook: { label: "Webhook", pluralLabel: "Webhook", - description: "外发 HTTP Webhook 订阅。可在代码中通过 defineWebhook() 编写,或在 Studio 编辑器中维护;由 HTTP 连接器插件执行。", + description: "外发 HTTP Webhook 订阅。可在代码中通过 defineStack({ webhooks }) / defineWebhook() 声明(启动时物化为数据行),或直接在 Studio 编辑器中编写;由 Webhook 自动入队器分发到共享的 HTTP 发件箱。", fields: { id: { label: "Webhook ID" @@ -69,7 +69,7 @@ export const zhCNObjects: NonNullable = { }, definition_json: { label: "定义", - help: "序列化的 Webhook JSON(参见 @objectstack/spec/automation/webhook)——包含完整的 headers/auth/retry/payload 配置" + help: "序列化的 Webhook JSON(参见 @objectstack/spec/automation/webhook)——超时及所编写信封的其余配置。凭据不存储在此处:签名密钥保存在加密的 `signing_secret` 字段中,自定义请求头保存在加密的 `headers_secret` 字段中。" }, headers_secret: { label: "自定义请求头",