Skip to content

[Task] Localise the Webhooks settings section copy (i18n) #9525

@kimyungju

Description

@kimyungju

Background

SettingsWebhooksPage already pulls its heading from i18n (features.adminForm.settings.webhooks.title), but WebhooksErrorMsg still hardcodes English. Raised on #9524 by @kevin9foong, split out as a follow-up by @LoneRifle.

Scope is WebhooksErrorMsg only: per @LoneRifle the sibling WebhooksUnsupportedMsg is now a historical artifact (webhooks are fully supported across storage mode and MRF), so it's intentionally left out.

What to do

Move the hardcoded copy in WebhooksErrorMsg.tsx to the existing webhooks i18n files, matching how the title already works:

  • "Couldn't load webhook settings", the body sentence, "Try again" / "Trying again…"

Keys live in apps/frontend/src/i18n/locales/features/admin-form/settings/webhooks/ (index.ts for the type, en-sg.ts for the English values). English values only — no ms/ta/zh translation needed (these feature folders ship English only).

Done when

  • WebhooksErrorMsg uses useTranslation; no hardcoded user-facing strings left
  • Existing tests/stories still pass

Follow-up to #9512 / #9524.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions