Better styling for client-side validation. Add I18n for validation errors.
This commit is contained in:
parent
2b903f790d
commit
f9ff839b1a
5 changed files with 85 additions and 23 deletions
|
@ -72,7 +72,15 @@
|
|||
"fullname": "Display name",
|
||||
"password_confirm": "Password confirmation",
|
||||
"registration": "Registration",
|
||||
"token": "Invite token"
|
||||
"token": "Invite token",
|
||||
"validations": {
|
||||
"username_required": "username should not be blank",
|
||||
"email_required": "should not be blank",
|
||||
"email_valid": "should be valid email",
|
||||
"password_required": "should not be blank",
|
||||
"password_confirmation_required": "should not be blank",
|
||||
"password_confirmation_match": "should be the same as password"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"attachmentRadius": "Attachments",
|
||||
|
|
|
@ -55,7 +55,15 @@
|
|||
"fullname": "Отображаемое имя",
|
||||
"password_confirm": "Подтверждение пароля",
|
||||
"registration": "Регистрация",
|
||||
"token": "Код приглашения"
|
||||
"token": "Код приглашения",
|
||||
"validations": {
|
||||
"username_required": "не должно быть пустым",
|
||||
"email_required": "не должен быть пустым",
|
||||
"email_valid": "должен быть корректный email адрес",
|
||||
"password_required": "не должен быть пустым",
|
||||
"password_confirmation_required": "не должно быть пустым",
|
||||
"password_confirmation_match": "должно совпадать с паролем"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"attachmentRadius": "Прикреплённые файлы",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue