Put validation error translations together

This commit is contained in:
Robert Schäfer 2019-06-18 12:09:06 +02:00
parent 21506335b5
commit 8fc74b9e14
4 changed files with 8 additions and 12 deletions

View File

@ -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,

View File

@ -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'),
},
},
}

View File

@ -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": {

View File

@ -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": {