fix translate
This commit is contained in:
@@ -52,7 +52,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler,
|
||||
|
||||
useEffect(() => {
|
||||
if (state?.success) {
|
||||
toast.success(t('the-complaint-has-been-registered'));
|
||||
toast.success(t('the-claims-has-been-registered'));
|
||||
|
||||
const newStatus = selectedViolation.status === 'COMPLAINT_IN_WORK'
|
||||
? 'COMPLAINT_AND_LEGAL_IN_WORK'
|
||||
@@ -69,7 +69,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler,
|
||||
if (state.errorMessage?.server) {
|
||||
toast.warning(t(state.errorMessage.server));
|
||||
} else {
|
||||
toast.warning(t('the-complaint-has-not-been-registered'));
|
||||
toast.warning(t('the-claims-has-not-been-registered'));
|
||||
}
|
||||
}
|
||||
}, [state, updateStatusHandler, selectedViolation.id]);
|
||||
|
||||
@@ -385,7 +385,9 @@
|
||||
"violation-id": "Violation ID",
|
||||
"no-information-about-the-complaint": "No information about the complaint",
|
||||
"the-complaint-has-not-been-registered": "The complaint has not been registered",
|
||||
"the-claims-has-not-been-registered": "The claims has not been registered",
|
||||
"the-complaint-has-been-registered": "The complaint has been registered",
|
||||
"the-claims-has-been-registered": "The claims has been registered",
|
||||
"all-statuses": "All statuses",
|
||||
"all": "All",
|
||||
"mark-all-as-read": "Mark all as read",
|
||||
|
||||
@@ -385,7 +385,9 @@
|
||||
"violation-id": "ID нарушения",
|
||||
"no-information-about-the-complaint": "Нет информации о жалобе",
|
||||
"the-complaint-has-not-been-registered": "Жалоба не зарегистрирована",
|
||||
"the-claims-has-not-been-registered": "Претензия не зарегистрирована",
|
||||
"the-complaint-has-been-registered": "Жалоба зарегистрирована",
|
||||
"the-claims-has-been-registered": "Претензия зарегистрирована",
|
||||
"all-statuses": "Все статусы",
|
||||
"all": "Все",
|
||||
"mark-all-as-read": "Отметить все как прочитанные",
|
||||
|
||||
Reference in New Issue
Block a user