fix translate

This commit is contained in:
smanylov
2026-05-11 13:49:29 +07:00
parent c15867a41c
commit 51a3ed7d18
3 changed files with 6 additions and 2 deletions
@@ -52,7 +52,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler,
useEffect(() => { useEffect(() => {
if (state?.success) { 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' const newStatus = selectedViolation.status === 'COMPLAINT_IN_WORK'
? 'COMPLAINT_AND_LEGAL_IN_WORK' ? 'COMPLAINT_AND_LEGAL_IN_WORK'
@@ -69,7 +69,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler,
if (state.errorMessage?.server) { if (state.errorMessage?.server) {
toast.warning(t(state.errorMessage.server)); toast.warning(t(state.errorMessage.server));
} else { } else {
toast.warning(t('the-complaint-has-not-been-registered')); toast.warning(t('the-claims-has-not-been-registered'));
} }
} }
}, [state, updateStatusHandler, selectedViolation.id]); }, [state, updateStatusHandler, selectedViolation.id]);
+2
View File
@@ -385,7 +385,9 @@
"violation-id": "Violation ID", "violation-id": "Violation ID",
"no-information-about-the-complaint": "No information about the complaint", "no-information-about-the-complaint": "No information about the complaint",
"the-complaint-has-not-been-registered": "The complaint has not been registered", "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-complaint-has-been-registered": "The complaint has been registered",
"the-claims-has-been-registered": "The claims has been registered",
"all-statuses": "All statuses", "all-statuses": "All statuses",
"all": "All", "all": "All",
"mark-all-as-read": "Mark all as read", "mark-all-as-read": "Mark all as read",
+2
View File
@@ -385,7 +385,9 @@
"violation-id": "ID нарушения", "violation-id": "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-complaint-has-been-registered": "Жалоба зарегистрирована", "the-complaint-has-been-registered": "Жалоба зарегистрирована",
"the-claims-has-been-registered": "Претензия зарегистрирована",
"all-statuses": "Все статусы", "all-statuses": "Все статусы",
"all": "Все", "all": "Все",
"mark-all-as-read": "Отметить все как прочитанные", "mark-all-as-read": "Отметить все как прочитанные",