summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/EventModuleDelete.vue
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/EventModuleDelete.vue')
-rw-r--r--webapp/src/components/EventModuleDelete.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/webapp/src/components/EventModuleDelete.vue b/webapp/src/components/EventModuleDelete.vue
index f22fc41..ebf1f83 100644
--- a/webapp/src/components/EventModuleDelete.vue
+++ b/webapp/src/components/EventModuleDelete.vue
@@ -1,10 +1,12 @@
<i18n>
{
"en": {
- "delete-are-you-sure": "Are you sure you want to delete this event? | Are you sure you want to delete these events?"
+ "delete-are-you-sure": "Are you sure you want to delete this event? | Are you sure you want to delete these events?",
+ "eventDeleteSuccess": "Event deleted successfully | Events deleted successfully"
},
"de": {
- "delete-are-you-sure": "Sind sie sicher, dass sie diese Veranstaltung Löschen wollen? | Sind sie sicher, dass sie diese Veranstaltungen löschen wollen?"
+ "delete-are-you-sure": "Sind sie sicher, dass sie diese Veranstaltung Löschen wollen? | Sind sie sicher, dass sie diese Veranstaltungen löschen wollen?",
+ "eventDeleteSuccess": "Event erfolgreich gelöscht | Events erfolgreich gelöscht"
}
}
</i18n>
@@ -53,7 +55,7 @@ export default {
}
await this.$http.post('/api/events?delete', { ids: deleteIds })
this.setDialog({ show: false })
- this.$snackbar({ color: 'success', text: this.$t('eventDeleteSuccess') })
+ this.$snackbar({ color: 'success', text: this.$tc('eventDeleteSuccess', [deleteIds.length]) })
this.$store.dispatch('events/loadEvents')
}
}