diff --git a/webapp/components/PasswordReset/PasswordReset.vue b/webapp/components/PasswordReset/PasswordReset.vue index e7d3a5f65..e34efc070 100644 --- a/webapp/components/PasswordReset/PasswordReset.vue +++ b/webapp/components/PasswordReset/PasswordReset.vue @@ -63,7 +63,7 @@ export default { email: { type: 'email', required: true, - message: this.$t('password-reset.form.validations.email'), + message: this.$t('common.validations.email'), }, }, disabled: true, diff --git a/webapp/components/PasswordReset/VerifyCode.vue b/webapp/components/PasswordReset/VerifyCode.vue index 7df5395f0..13415a5fa 100644 --- a/webapp/components/PasswordReset/VerifyCode.vue +++ b/webapp/components/PasswordReset/VerifyCode.vue @@ -41,7 +41,7 @@ export default { min: 6, max: 6, required: true, - message: this.$t('verify-code.form.validations.code'), + message: this.$t('common.validations.verification-code'), }, }, } diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 3610ff68b..2c5f9a07e 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -26,10 +26,7 @@ "form": { "input": "Code eingeben", "description": "Öffne Deine E-Mail Postfach und gib den Code ein, den wir geschickt haben.", - "submit": "Sicherheitscode überprüfen", - "validations": { - "code": "muss genau 6 Buchstaben lang sein" - } + "submit": "Sicherheitscode überprüfen" } }, "editor": { @@ -214,7 +211,8 @@ "loading": "wird geladen", "reportContent": "Melden", "validations": { - "email": "muss eine gültige E-Mail Adresse sein" + "email": "muss eine gültige E-Mail Adresse sein", + "verification-code": "muss genau 6 Buchstaben lang sein" } }, "actions": { diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 225c26391..44d1153da 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -26,10 +26,7 @@ "form": { "input": "Enter your code", "description": "Open your inbox and enter the code that we've sent to you.", - "submit": "Check security code", - "validations": { - "code": "must be 6 characters long" - } + "submit": "Check security code" } }, "editor": { @@ -214,7 +211,8 @@ "loading": "loading", "reportContent": "Report", "validations": { - "email": "must be a valid email address" + "email": "must be a valid email address", + "verification-code": "must be 6 characters long" } }, "actions": {