aboutsummaryrefslogtreecommitdiff
path: root/src/i18n
diff options
context:
space:
mode:
authorraeno <just.raeno@gmail.com>2018-12-05 19:42:33 +0400
committerraeno <just.raeno@gmail.com>2018-12-05 19:42:33 +0400
commit91a72d51fffb241bb7c9cba78ea2b5b47dce7db3 (patch)
tree121422fda24fb7ef7d3711a7d824d3da32c2ac5a /src/i18n
parentf9ff839b1af7cdae2bc9ff5090844ea6b1fac6ac (diff)
Validate name presence on client-side as well
* remove email address validation, we have it covered by html itself and it's quite annoying * add shakeError animation * fix styles a bit
Diffstat (limited to 'src/i18n')
-rw-r--r--src/i18n/en.json4
-rw-r--r--src/i18n/ru.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 6e13993f..b21a959e 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -74,9 +74,9 @@
"registration": "Registration",
"token": "Invite token",
"validations": {
- "username_required": "username should not be blank",
+ "username_required": "should not be blank",
+ "fullname_required": "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"
diff --git a/src/i18n/ru.json b/src/i18n/ru.json
index de2774ef..075cc6cc 100644
--- a/src/i18n/ru.json
+++ b/src/i18n/ru.json
@@ -58,8 +58,8 @@
"token": "Код приглашения",
"validations": {
"username_required": "не должно быть пустым",
+ "fullname_required": "не должно быть пустым",
"email_required": "не должен быть пустым",
- "email_valid": "должен быть корректный email адрес",
"password_required": "не должен быть пустым",
"password_confirmation_required": "не должно быть пустым",
"password_confirmation_match": "должно совпадать с паролем"