From d1f0c452d78f7f64195d2336395c221c6e8c9ee3 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 30 Aug 2022 09:55:16 +0200 Subject: [PATCH] success message if sent answer message --- .../ContributionMessages/ContributionMessagesFormular.vue | 2 +- frontend/src/locales/de.json | 1 + frontend/src/locales/en.json | 1 + frontend/src/locales/es.json | 1 + frontend/src/locales/fr.json | 1 + frontend/src/locales/nl.json | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue b/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue index 69bbe5352..40727042f 100644 --- a/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue +++ b/frontend/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(undefined) + this.toastSuccess(this.$t('message.reply')) }) .catch((error) => { this.toastError(error.message) diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 4ebedf0a5..1525ed98c 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -222,6 +222,7 @@ "email": "Wir haben dir eine E-Mail gesendet.", "errorTitle": "Achtung!", "register": "Du bist jetzt registriert, bitte überprüfe deine Emails und klicke auf den Aktivierungslink.", + "reply": "Danke, Deine Antwort wurde abgesendet.", "reset": "Dein Passwort wurde geändert.", "title": "Danke!", "unsetPassword": "Dein Passwort wurde noch nicht gesetzt. Bitte setze es neu." diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index f0cb341c0..576a77e75 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -222,6 +222,7 @@ "email": "We have sent you an email.", "errorTitle": "Attention!", "register": "You are registered now, please check your emails and click the activation link.", + "reply": "Thank you, your reply has been sent.", "reset": "Your password has been changed.", "title": "Thank you!", "unsetPassword": "Your password has not been set yet. Please set it again." diff --git a/frontend/src/locales/es.json b/frontend/src/locales/es.json index 4cefe2905..96fe9a163 100644 --- a/frontend/src/locales/es.json +++ b/frontend/src/locales/es.json @@ -222,6 +222,7 @@ "email": "Te hemos enviado un correo electrónico.", "errorTitle": "Atención!", "register": "Ya estás registrado, por favor revisa tu correo electrónico y haz clic en el enlace de activación.", + "reply": "Gracias, su respuesta ha sido enviada.", "reset": "Tu contraseña ha sido cambiada.", "title": "Gracias!", "unsetPassword": "Tu contraseña aún no ha sido configurada. Por favor reinícialo." diff --git a/frontend/src/locales/fr.json b/frontend/src/locales/fr.json index a35e6ce30..244db51b1 100644 --- a/frontend/src/locales/fr.json +++ b/frontend/src/locales/fr.json @@ -222,6 +222,7 @@ "email": "Nous vous avons envoyé un email.", "errorTitle": "Attention!", "register": "Vous êtes enregistré maintenant, merci de vérifier votre boîte mail et cliquer sur le lien d´activation.", + "reply": "Merci, ta réponse a été envoyée.", "reset": "Votre mot de passe a été modifié.", "title": "Merci!", "unsetPassword": "Votre mot de passe n´a pas été accepté. Merci de le réinitialiser." diff --git a/frontend/src/locales/nl.json b/frontend/src/locales/nl.json index c301b9201..27af58f6d 100644 --- a/frontend/src/locales/nl.json +++ b/frontend/src/locales/nl.json @@ -222,6 +222,7 @@ "email": "We hebben jou een email gestuurd.", "errorTitle": "Opgelet!", "register": "Je bent nu geregistreerd. Controleer alsjeblieft je emails en klik op de activeringslink.", + "reply": "Dank u, uw antwoord is verzonden.", "reset": "Jouw wachtwoord werd gewijzigd.", "title": "Dankjewel!", "unsetPassword": "Jouw wachtwoord werd nog niet ingesteld. Doe het alsjeblieft opnieuw."