Skip to content

Commit 5e903e6

Browse files
committed
fix(plugin-webhooks): regenerate i18n bundles for the new bulk triggers
Adding `bulk_update` / `bulk_delete` to the `sys_webhook.triggers` select adds two option labels to the generated translation bundles, which `check:i18n` caught as drift in all four locales. Regenerated with `node scripts/check-i18n-bundles.mjs --write` (merge mode, so no existing translation was overwritten), then translated the two new labels — merge mode fills new keys with the raw source text, which would otherwise ship `bulk_update` verbatim as a zh/ja/es UI label and count against `check:i18n-coverage`. English keeps the machine names, matching how create/update/delete already read there. Also corrects the `triggers` help text in all four locales: it still described a "comma-separated event list", which the field stopped being when it became a multi-select, and it named only the three per-record events. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LYnZrTwXbrctB8E8HpJAPT
1 parent 3b6b5e7 commit 5e903e6

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

packages/plugins/plugin-webhooks/src/translations/en.objects.generated.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
3030
},
3131
triggers: {
3232
label: "Triggers",
33-
help: "Comma-separated event list: create,update,delete",
33+
help: "Record events that fire this webhook. bulk_update / bulk_delete fire on predicate writes and deliver a count, not a record.",
3434
options: {
3535
create: "create",
3636
update: "update",
37-
delete: "delete"
37+
delete: "delete",
38+
bulk_update: "bulk_update",
39+
bulk_delete: "bulk_delete"
3840
}
3941
},
4042
url: {

packages/plugins/plugin-webhooks/src/translations/es-ES.objects.generated.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
3030
},
3131
triggers: {
3232
label: "Desencadenantes",
33-
help: "Lista de eventos separada por comas: create,update,delete.",
33+
help: "Eventos de registro que activan este Webhook. bulk_update / bulk_delete se activan en escrituras por predicado y entregan un recuento, no un registro.",
3434
options: {
3535
create: "Crear",
3636
update: "Actualizar",
37-
delete: "Eliminar"
37+
delete: "Eliminar",
38+
bulk_update: "Actualización masiva",
39+
bulk_delete: "Eliminación masiva"
3840
}
3941
},
4042
url: {

packages/plugins/plugin-webhooks/src/translations/ja-JP.objects.generated.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
3030
},
3131
triggers: {
3232
label: "トリガー",
33-
help: "カンマ区切りのイベントリスト: create,update,delete",
33+
help: "このウェブフックを発火するレコードイベント。bulk_update / bulk_delete は述語による一括書き込みで発火し、レコードではなく件数を配信します。",
3434
options: {
3535
create: "作成",
3636
update: "更新",
37-
delete: "削除"
37+
delete: "削除",
38+
bulk_update: "一括更新",
39+
bulk_delete: "一括削除"
3840
}
3941
},
4042
url: {

packages/plugins/plugin-webhooks/src/translations/zh-CN.objects.generated.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
3030
},
3131
triggers: {
3232
label: "触发器",
33-
help: "以逗号分隔的事件列表:create,update,delete",
33+
help: "触发该 Webhook 的记录事件。bulk_update / bulk_delete 由谓词写(批量)触发,投递的是受影响条数而非记录。",
3434
options: {
3535
create: "创建",
3636
update: "更新",
37-
delete: "删除"
37+
delete: "删除",
38+
bulk_update: "批量更新",
39+
bulk_delete: "批量删除"
3840
}
3941
},
4042
url: {

0 commit comments

Comments
 (0)