diff --git a/messages/en.json b/messages/en.json index a59a961..8abf933 100644 --- a/messages/en.json +++ b/messages/en.json @@ -166,7 +166,8 @@ }, "offer_button": "Применить", "cancel_button": "Я подтверждаю свои действия", - "error_message": "Something went wrong. Please try again later." + "error_message": "Something went wrong. Please try again later.", + "toast_message": "Your subscription will be cancelled!" }, "PlanCancelled": { "title": "Стандартный план Отменен!", @@ -211,5 +212,8 @@ "breath_relax": "Breath & Relax", "breath_in": "Breath in", "breath_out": "Breath out" + }, + "ActionFieldsForm": { + "required_field": "This field is required" } } diff --git a/src/components/domains/retaining/cancellation-of-subscription/Buttons/Buttons.tsx b/src/components/domains/retaining/cancellation-of-subscription/Buttons/Buttons.tsx index 5e7d425..a9d5762 100644 --- a/src/components/domains/retaining/cancellation-of-subscription/Buttons/Buttons.tsx +++ b/src/components/domains/retaining/cancellation-of-subscription/Buttons/Buttons.tsx @@ -97,7 +97,7 @@ export default function Buttons() { {isToastVisible && ( - Ваша подписка будет аннулирована! + {t("toast_message")} )} diff --git a/src/components/ui/Toast/Toast.tsx b/src/components/ui/Toast/Toast.tsx index 1d452a7..fb9d268 100644 --- a/src/components/ui/Toast/Toast.tsx +++ b/src/components/ui/Toast/Toast.tsx @@ -98,7 +98,7 @@ function Toast({