diff --git a/.changeset/rude-eggs-sort.md b/.changeset/rude-eggs-sort.md new file mode 100644 index 00000000000..a41b2a0e585 --- /dev/null +++ b/.changeset/rude-eggs-sort.md @@ -0,0 +1,5 @@ +--- +"@wso2is/admin.extensions.v1": patch +--- + +Fix broken i18n in marketing consent modal diff --git a/features/admin.extensions.v1/configs/components/marketing-consent/components/marketing-consent-modal.tsx b/features/admin.extensions.v1/configs/components/marketing-consent/components/marketing-consent-modal.tsx index 865b25934b6..fba1b86359d 100644 --- a/features/admin.extensions.v1/configs/components/marketing-consent/components/marketing-consent-modal.tsx +++ b/features/admin.extensions.v1/configs/components/marketing-consent/components/marketing-consent-modal.tsx @@ -79,9 +79,9 @@ export const MarketingConsentModal: FunctionComponent { if (response?.status !== 200) { dispatch(addAlert({ - description: t("console:marketingConsent.notifications.errors.update.description"), + description: t("console:common.marketingConsent.notifications.errors.update.description"), level: AlertLevels.ERROR, - message: t("console:marketingConsent.notifications.errors.update.message") + message: t("console:common.marketingConsent.notifications.errors.update.message") })); } @@ -90,9 +90,9 @@ export const MarketingConsentModal: FunctionComponent { dispatch(addAlert({ - description: t("console:marketingConsent.notifications.errors.update.description"), + description: t("console:common.marketingConsent.notifications.errors.update.description"), level: AlertLevels.ERROR, - message: t("console:marketingConsent.notifications.errors.update.message") + message: t("console:common.marketingConsent.notifications.errors.update.message") })); }) .finally(() => { @@ -145,7 +145,7 @@ export const MarketingConsentModal: FunctionComponent - { t("console:marketingConsent.heading") } + { t("console:common.marketingConsent.heading") } - { t("console:marketingConsent.description") } + { t("console:common.marketingConsent.description") }