diff options
author | dartcafe <github@dartcafe.de> | 2020-08-11 22:56:26 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-08-11 22:56:26 +0300 |
commit | a7d96426e31d8853a2def37c587b27fe1c1ff3f6 (patch) | |
tree | 35b9333582f1ad69f97dfc8c7af129a17a4de3d2 /src/js/components/Create/CreateDlg.vue | |
parent | dad6b97a38348f620d20e5d20108a628269645ee (diff) |
user can add own email address
Diffstat (limited to 'src/js/components/Create/CreateDlg.vue')
-rw-r--r-- | src/js/components/Create/CreateDlg.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/components/Create/CreateDlg.vue b/src/js/components/Create/CreateDlg.vue index 5cd03f30..f86131c2 100644 --- a/src/js/components/Create/CreateDlg.vue +++ b/src/js/components/Create/CreateDlg.vue @@ -103,11 +103,11 @@ export default { .then((response) => { emit('update-polls') this.cancel() - OC.Notification.showTemporary(t('polls', 'Poll "%n" added', 1, response.data.id), { type: 'success' }) + OC.Notification.showTemporary(t('polls', 'Poll "{pollTitle}" added', { pollTitle: response.data.id }), { type: 'success' }) this.$router.push({ name: 'vote', params: { id: response.data.id } }) }) .catch(() => { - OC.Notification.showTemporary(t('polls', 'Error while creating Poll "%n"', 1, this.title), { type: 'error' }) + OC.Notification.showTemporary(t('polls', 'Error while creating Poll "{pollTitle}"', { pollTitle: this.title }), { type: 'error' }) }) }, |