diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json index d3817af..eedee80 100644 --- a/public/locales/fa/app.json +++ b/public/locales/fa/app.json @@ -70,11 +70,21 @@ "typography_edit_profile": "ویرایش پروفایل", "text_field_email": "ایمیل", "text_field_enter_your_password": "رمز عبور خود را وارد کنید", - "text_field_username":"نام کاربری", - "text_field_name":"نام", - "text_field_phone_number":"شماره تماس", - "text_field_position":"سمت", - "text_field_province_name":"نام استان", + "text_field_username": "نام کاربری", + "text_field_name": "نام", + "text_field_phone_number": "شماره تماس", + "text_field_position": "سمت", + "text_field_province_name": "نام استان", "error_message_required": "اجباری !" + }, + "notifications": { + "code": "کد", + "error": "خطا", + "warning": "خطر", + "success": "موفق", + "error_static_text": "عملیات شما با خطا مواجه شد", + "warning_static_text": "خطا سرور", + "success_static_text": "عملیات شما با موفقیت انجام شد", + "pending":"در حال انجام..." } } diff --git a/src/components/dashboard/change-password/index.jsx b/src/components/dashboard/change-password/index.jsx index 62d6fe3..c2b5fd4 100644 --- a/src/components/dashboard/change-password/index.jsx +++ b/src/components/dashboard/change-password/index.jsx @@ -28,7 +28,7 @@ const DashboardChangePasswordComponent = () => { const handleSubmit = (values, { setSubmitting, resetForm }) => { toast.dismiss(); - const pendingToast = toast("Pending...", { + const pendingToast = toast(t("notifications.pending"), { position: directionApp === "ltr" ? "top-left" : "top-right", autoClose: false, closeOnClick: false,