Repository navigation
i18n(plugin-webhooks): ship the webhook object in all eleven platform languages - #30586
Conversation
…, de and ko Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6Cai5CRdAs4u9gTipWU
📓 Docs Drift CheckThis PR changes 1 package(s): 3 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 3 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 5 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin b1fa4f7f297b8622b2ba40eec4c6de523f3e8f53 && git checkout b1fa4f7f297b8622b2ba40eec4c6de523f3e8f53
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 2ffdb649775d20313707d88a8388275f280a0a7f c6c30383fb3a9e8c94ccd7277844cebea1cc9c1f && git checkout -B drift-repro 2ffdb649775d20313707d88a8388275f280a0a7f && git merge --no-ff c6c30383fb3a9e8c94ccd7277844cebea1cc9c1f
node scripts/docs-audit/affected-docs.mjs --json 2ffdb649775d20313707d88a8388275f280a0a7f
|
|
domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL 维护者速读
席位核对 — ACCEPT · domain:server#2 · head
|
Requested by Bill · project thread
domain:server#2 · os-bill · session_01Utp6Cai5CRdAs4u9gTipWU
Refs #30512 — package 2 of 11 (
@objectstack/plugin-webhooks). The card stays open: the last PR of the series flips the bundle check to the platform locale table.Clause-②: no
Metadata-protocol: none
维护者速读
sys_webhook)的名称、字段、选项、帮助文字和视图名补上 7 种语言:繁体中文、阿拉伯语、法语、巴西葡萄牙语、俄语、德语、韩语,共 11 种,与平台语言表一致。check-i18n-stale-fill的基线里登记 1 条良性巧合(中文无复数,简繁两种都把复数名写作「Webhook」),附理由。回滚即撤 PR。src/translations/index.ts(按表标签注册,zh-CN 在 zh-Hant 前)、scripts/i18n-stale-fill-baseline.json(那 1 条巧合),再抽看ar.objects.generated.ts。node scripts/check-i18n-bundles.mjs --filter=webhooks输出in sync (21 bundle(s)),node scripts/check-i18n-stale-fill.mjs退出 0。What changes
sys_webhookunder the platform locale table's tags (zh-Hant,ar,fr,pt-BR,ru,de,ko): each aTAG.objects.generated.tswith all 47 leaves plus itsTAG.source-hashes.generated.ts, written by the repo's ownos i18n extract --fill=default --source-hashesand served throughwithSourceFallbacklike the existing three.zh-CNstays ahead ofzh-Hantinindex.ts.scripts/i18n-extract.config.tslists the seven tags and its merge baseline imports the seven bundles, socheck:i18ncovers them from this PR on.scripts/i18n-stale-fill-baseline.json: one entry,sys_webhook.pluralLabel, classified as a benign coincidence with its reason.zh-CNalready said 「Webhook」 for the plural (Chinese does not inflect), and the naturalzh-Hantis the same bytes; the gate's cross-locale rule reads two CJK locales agreeing on a Latin-only value that differs from the source (Webhooks) as a stale fill. Re-translating either leaf away from the product term would be worse copy, so the gate's documented path (ratchet in, record why) is taken.bundle-ownership.test.ts: one message sentence, "the four locale bundles" → "every locale bundle".Acceptance notes
signing_secret,headers_secret), JSON examples ({"Authorization": "Bearer …"}), header names (X-Objectstack-Signature) and identifiers (snake_case,bulk_*,HMAC-SHA256,sys_secret,@objectstack/spec/automation/webhook) byte-identical, checked mechanically per leaf againsten. Arabic is RTL prose with identifiers left in Latin script.GETPOSTPUTPATCHDELETEin every locale; beyond those, the product term and native cognates only —zh-HantWebhook(label) andWebhook ID;frWebhook,Webhooks,Description,package;pt-BRWebhook,Webhooks;deWebhook,Webhooks,Name,Definition. The extractor records each as a source copy (ar/ru/ko5 entries = the methods only;zh-Hant/pt-BR7;fr/de9).managed_by/triggersare translated (they were already translated inzh-CN); thehelptexts keep the option codes (admin,package,platform,create/update/delete) as codes, aszh-CNdoes.Verification
Package suite, typecheck, build (verify lock)
i18n gates
Derived gate families at head c6c3038 (dispatch-gates --commands, reconciled with --ran)
Full record: the seat's project folder,
server-seat2/30512/gates-webhooks-ran.txt.Dogfood: not run — content-only package PR, no
!in the title and no(narrowing)arm (dispatch order: package suite +check:i18n+ typecheck suffice).Generated by Claude Code