Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .changeset/20653-stale-authored-plugin-bundle-leaves.md
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
}
},
user_id: {
label: "Actor",
label: "Usuario",
help: "Usuario que realizó la acción (null para acciones del sistema)."
},
actor: {
Expand Down Expand Up @@ -175,8 +175,8 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
}
},
user_id: {
label: "操作者",
label: "ユーザー",
help: "アクションを実行したユーザー(システム操作の場合は null)"
},
actor: {
Expand Down Expand Up @@ -175,8 +175,8 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
help: "アクティビティターゲットへのオプションのディープリンク"
},
environment_id: {
label: "プロジェクト",
help: "プロジェクトコンテキスト(マルチプロジェクトデプロイメント)"
label: "環境",
help: "環境コンテキスト(マルチ環境デプロイメント)"
},
metadata: {
label: "メタデータ",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
}
},
user_id: {
label: "执行人",
label: "用户",
help: "执行该操作的用户(系统操作时为 null)"
},
actor: {
Expand Down Expand Up @@ -175,8 +175,8 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
help: "指向活动目标的可选深度链接"
},
environment_id: {
label: "项目",
help: "项目上下文(多项目部署)"
label: "环境",
help: "环境上下文(多环境部署)"
},
metadata: {
label: "元数据",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
sys_position: {
label: "ポジション",
pluralLabel: "ポジション",
description: "RBAC アクセス制御のためのポジション定義",
description: "ケイパビリティ配分のためのポジション定義(ADR-0090)",
fields: {
label: {
label: "表示名"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
sys_position: {
label: "岗位",
pluralLabel: "岗位",
description: "用于 RBAC 访问控制的岗位定义",
description: "用于分发授权能力的岗位定义(ADR-0090)",
fields: {
label: {
label: "显示名称"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
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"
Expand Down Expand Up @@ -69,7 +69,7 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
},
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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
sys_webhook: {
label: "ウェブフック",
pluralLabel: "ウェブフック",
description: "送信 HTTP Webhook サブスクリプション。defineWebhook() またはスタジオエディタで作成し、HTTP コネクタプラグインが実行します。",
description: "送信 HTTP Webhook サブスクリプション。コードでは defineStack({ webhooks }) / defineWebhook() で宣言する(起動時に行として実体化)か、スタジオエディタで直接作成します。Webhook 自動エンキューアが共有 HTTP アウトボックスへディスパッチします。",
fields: {
id: {
label: "Webhook ID"
Expand Down Expand Up @@ -69,7 +69,7 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
},
definition_json: {
label: "定義",
help: "シリアライズされた Webhook JSON(@objectstack/spec/automation/webhook 参照)— ヘッダー/認証/リトライ/ペイロード設定を含む"
help: "シリアライズされた Webhook JSON(@objectstack/spec/automation/webhook 参照)— タイムアウトなど、作成されたエンベロープの残りの設定。認証情報はここには保存されません。署名シークレットは暗号化された `signing_secret` フィールドに、カスタムヘッダーは暗号化された `headers_secret` フィールドに保存されます。"
},
headers_secret: {
label: "カスタムヘッダー",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
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"
Expand Down Expand Up @@ -69,7 +69,7 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
},
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: "自定义请求头",
Expand Down
Loading