From 5971813fae4719ad1a088e442fc60bb9144cc520 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 30 Aug 2022 10:00:45 +0200 Subject: [PATCH] success message if sent answer message adminarea --- .../ContributionMessages/ContributionMessagesFormular.vue | 2 +- admin/src/locales/de.json | 3 +++ admin/src/locales/en.json | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/admin/src/components/ContributionMessages/ContributionMessagesFormular.vue b/admin/src/components/ContributionMessages/ContributionMessagesFormular.vue index 38628fd11..a0ece1ab4 100644 --- a/admin/src/components/ContributionMessages/ContributionMessagesFormular.vue +++ b/admin/src/components/ContributionMessages/ContributionMessagesFormular.vue @@ -53,7 +53,7 @@ export default { this.$emit('get-list-contribution-messages', this.contributionId) this.$emit('update-state', this.contributionId) this.form.text = '' - this.toastSuccess(result) + this.toastSuccess(this.$t('message.request')) }) .catch((error) => { this.toastError(error.message) diff --git a/admin/src/locales/de.json b/admin/src/locales/de.json index b8ad45af1..7e982d159 100644 --- a/admin/src/locales/de.json +++ b/admin/src/locales/de.json @@ -82,6 +82,9 @@ "pipe": "|", "plus": "+" }, + "message": { + "request": "Request has been sent." + }, "moderator": "Moderator", "multiple_creation_text": "Bitte wähle ein oder mehrere Mitglieder aus für die du Schöpfen möchtest.", "name": "Name", diff --git a/admin/src/locales/en.json b/admin/src/locales/en.json index bc8c297f5..63148f471 100644 --- a/admin/src/locales/en.json +++ b/admin/src/locales/en.json @@ -82,6 +82,9 @@ "pipe": "|", "plus": "+" }, + "message": { + "request": "Request has been sent." + }, "moderator": "Moderator", "multiple_creation_text": "Please select one or more members for which you would like to perform creations.", "name": "Name",