summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorChristian Hofmaier2020-03-29 17:51:27 +0200
committerChristian Hofmaier2020-03-29 17:51:27 +0200
commit682ee00389e6710d908a5e29a9e1aab281cc907a (patch)
treee87c5a451be014689abfab69173c1171c1f57c02 /webapp
parent[permissionmanager] fix lang tag delete modal (diff)
downloadbas-682ee00389e6710d908a5e29a9e1aab281cc907a.tar.gz
bas-682ee00389e6710d908a5e29a9e1aab281cc907a.tar.xz
bas-682ee00389e6710d908a5e29a9e1aab281cc907a.zip
[eventmanager] fix lang tag delete modal
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/components/EventModuleDelete.vue14
1 files changed, 8 insertions, 6 deletions
diff --git a/webapp/src/components/EventModuleDelete.vue b/webapp/src/components/EventModuleDelete.vue
index 0763e58..b0d13e7 100644
--- a/webapp/src/components/EventModuleDelete.vue
+++ b/webapp/src/components/EventModuleDelete.vue
@@ -1,12 +1,14 @@
<i18n>
{
"en": {
- "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"
+ "delete-are-you-sure": "Are you sure you want to delete this event? | Are you sure you want to delete these {0} events?",
+ "eventDeleteSuccess": "Event deleted successfully | Events deleted successfully",
+ "title": "Delete event | Delete events"
},
"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?",
- "eventDeleteSuccess": "Event erfolgreich gelöscht | Events erfolgreich gelöscht"
+ "delete-are-you-sure": "Sind Sie sicher, dass Sie diese Veranstaltung löschen wollen? | Sind Sie sicher, dass Sie diese {0} Veranstaltungen löschen wollen?",
+ "eventDeleteSuccess": "Event erfolgreich gelöscht | Events erfolgreich gelöscht",
+ "title": "Veranstaltung löschen | Veranstaltungen löschen"
}
}
</i18n>
@@ -14,10 +16,10 @@
<template>
<v-card>
<v-card-title class="elevation-3">
- <div class="headline">{{ $t('title') }}</div>
+ <div class="headline">{{ $tc('title', dialog.info.length) }}</div>
</v-card-title>
<v-card-text>
- {{ $tc('delete-are-you-sure', dialog.info.length) }}
+ {{ $tc('delete-are-you-sure', dialog.info.length, [dialog.info.length]) }}
<template v-for="item in dialog.info">
<div class="grey--text" :key="item.id">{{ item.name }} ({{ item.description }})</div>
</template>