Fixed deleted toast message
This commit is contained in:
@@ -26,7 +26,7 @@ async function handleAction(): Promise<void> {
|
|||||||
await deleteCategoryFromSkeleton()
|
await deleteCategoryFromSkeleton()
|
||||||
|
|
||||||
toast({
|
toast({
|
||||||
title: t("entity.calendar.category.deletedToast.title", { category: categoryName }),
|
title: t("entity.category.deletedToast.title", { category: categoryName }),
|
||||||
variant: "success",
|
variant: "success",
|
||||||
duration: ToastLifetime.MEDIUM
|
duration: ToastLifetime.MEDIUM
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -110,6 +110,9 @@ export default defineI18nConfig(() => ({
|
|||||||
title: "The category \"{category}\" has been successfuly updated.",
|
title: "The category \"{category}\" has been successfuly updated.",
|
||||||
titleError: "An error has occured and the category \"{category}\" wasn't updated.",
|
titleError: "An error has occured and the category \"{category}\" wasn't updated.",
|
||||||
},
|
},
|
||||||
|
deletedToast: {
|
||||||
|
title: "The category \"{category}\" has been successfuly deleted.",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
isLoading: "Loading in progress…",
|
isLoading: "Loading in progress…",
|
||||||
addDescription: "Add a description",
|
addDescription: "Add a description",
|
||||||
@@ -429,6 +432,9 @@ export default defineI18nConfig(() => ({
|
|||||||
title: "La catégorie \"{category}\" a été modifiée avec succès.",
|
title: "La catégorie \"{category}\" a été modifiée avec succès.",
|
||||||
titleError: "Une erreur s'est produite et la catégorie \"{category}\" n'a pas pu être modifiée.",
|
titleError: "Une erreur s'est produite et la catégorie \"{category}\" n'a pas pu être modifiée.",
|
||||||
},
|
},
|
||||||
|
deletedToast: {
|
||||||
|
title: "La catégorie \"{category}\" a été supprimée avec succès.",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
isLoading: "Chargement en cours…",
|
isLoading: "Chargement en cours…",
|
||||||
addDescription: "Ajouter une description",
|
addDescription: "Ajouter une description",
|
||||||
|
|||||||
Reference in New Issue
Block a user