Added toast on deleted entities

This commit is contained in:
Alexis
2024-09-08 19:26:38 +02:00
parent a69553e089
commit 2f79de8483
9 changed files with 64 additions and 10 deletions

View File

@@ -107,7 +107,10 @@ export default defineI18nConfig(() => ({
deleteDialog: {
title: "Delete this event",
subtitle: "Data associated with this event will be lost and you won't be able to retrieve it !",
}
},
deletedToast: {
title: "The event \"{event}\" has been successfuly deleted.",
},
},
createDialog: {
title: "New calendar",
@@ -127,6 +130,9 @@ export default defineI18nConfig(() => ({
title: "Are you sure you want to delete this calendar ?",
subtitle: "Its events won't be accessible anymore and you won't be able to retrieve the deleted data !",
},
deletedToast: {
title: "Calendar \"{calendar}\" has been successfuly deleted.",
},
millennia: {
nameSingular: "Millennia",
nextSingular: "Next millennia",
@@ -273,7 +279,10 @@ export default defineI18nConfig(() => ({
deleteDialog: {
title: "Supprimer l'évènement",
subtitle: "Les données associés à cet évènement seront supprimées et vous ne pourrez plus les récupérer !",
}
},
deletedToast: {
title: "L'évènement \"{event}\" a été supprimé avec succès.",
},
},
createDialog: {
title: "Nouveau calendrier",
@@ -293,6 +302,9 @@ export default defineI18nConfig(() => ({
title: "Êtes-vous sûr de supprimer ce calendrier ?",
subtitle: "Les évènements ne seront plus accessibles et vous ne pourrez plus récupérer les données !",
},
deletedToast: {
title: "Le calendrier \"{calendar}\" a été supprimé avec succès.",
},
millennia: {
nameSingular: "Millénaire",
nextSingular: "Millénaire suivant",