mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Put validation error translations together
This commit is contained in:
parent
21506335b5
commit
8fc74b9e14
@ -63,7 +63,7 @@ export default {
|
|||||||
email: {
|
email: {
|
||||||
type: 'email',
|
type: 'email',
|
||||||
required: true,
|
required: true,
|
||||||
message: this.$t('password-reset.form.validations.email'),
|
message: this.$t('common.validations.email'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
disabled: true,
|
disabled: true,
|
||||||
|
|||||||
@ -41,7 +41,7 @@ export default {
|
|||||||
min: 6,
|
min: 6,
|
||||||
max: 6,
|
max: 6,
|
||||||
required: true,
|
required: true,
|
||||||
message: this.$t('verify-code.form.validations.code'),
|
message: this.$t('common.validations.verification-code'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,10 +26,7 @@
|
|||||||
"form": {
|
"form": {
|
||||||
"input": "Code eingeben",
|
"input": "Code eingeben",
|
||||||
"description": "Öffne Deine E-Mail Postfach und gib den Code ein, den wir geschickt haben.",
|
"description": "Öffne Deine E-Mail Postfach und gib den Code ein, den wir geschickt haben.",
|
||||||
"submit": "Sicherheitscode überprüfen",
|
"submit": "Sicherheitscode überprüfen"
|
||||||
"validations": {
|
|
||||||
"code": "muss genau 6 Buchstaben lang sein"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
@ -214,7 +211,8 @@
|
|||||||
"loading": "wird geladen",
|
"loading": "wird geladen",
|
||||||
"reportContent": "Melden",
|
"reportContent": "Melden",
|
||||||
"validations": {
|
"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": {
|
"actions": {
|
||||||
|
|||||||
@ -26,10 +26,7 @@
|
|||||||
"form": {
|
"form": {
|
||||||
"input": "Enter your code",
|
"input": "Enter your code",
|
||||||
"description": "Open your inbox and enter the code that we've sent to you.",
|
"description": "Open your inbox and enter the code that we've sent to you.",
|
||||||
"submit": "Check security code",
|
"submit": "Check security code"
|
||||||
"validations": {
|
|
||||||
"code": "must be 6 characters long"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
@ -214,7 +211,8 @@
|
|||||||
"loading": "loading",
|
"loading": "loading",
|
||||||
"reportContent": "Report",
|
"reportContent": "Report",
|
||||||
"validations": {
|
"validations": {
|
||||||
"email": "must be a valid email address"
|
"email": "must be a valid email address",
|
||||||
|
"verification-code": "must be 6 characters long"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user