aboutsummaryrefslogtreecommitdiff
path: root/src/i18n
diff options
context:
space:
mode:
authorHJ <spam@hjkos.com>2018-12-06 17:39:38 +0000
committerHJ <spam@hjkos.com>2018-12-06 17:39:38 +0000
commit0cb3c4e0569e24d6f3553ed0edece19a44267917 (patch)
tree663f5315d576d8dd4a6f305df4ce2f64293207e8 /src/i18n
parent3fa9b39150c318972511882239304bc08f6f57ad (diff)
parent8987c3025dea851627af83327913cc17aadaf497 (diff)
Merge branch 'better_errors_on_registration' into 'develop'
Registration form: Client side validation + better display of server validation errors See merge request pleroma/pleroma-fe!399
Diffstat (limited to 'src/i18n')
-rw-r--r--src/i18n/en.json10
-rw-r--r--src/i18n/ru.json10
2 files changed, 18 insertions, 2 deletions
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 8fd546ef..d9c9995a 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -72,7 +72,15 @@
"fullname": "Display name",
"password_confirm": "Password confirmation",
"registration": "Registration",
- "token": "Invite token"
+ "token": "Invite token",
+ "validations": {
+ "username_required": "cannot be left blank",
+ "fullname_required": "cannot be left blank",
+ "email_required": "cannot be left blank",
+ "password_required": "cannot be left blank",
+ "password_confirmation_required": "cannot be left blank",
+ "password_confirmation_match": "should be the same as password"
+ }
},
"settings": {
"attachmentRadius": "Attachments",
diff --git a/src/i18n/ru.json b/src/i18n/ru.json
index 9c28ccf4..075cc6cc 100644
--- a/src/i18n/ru.json
+++ b/src/i18n/ru.json
@@ -55,7 +55,15 @@
"fullname": "Отображаемое имя",
"password_confirm": "Подтверждение пароля",
"registration": "Регистрация",
- "token": "Код приглашения"
+ "token": "Код приглашения",
+ "validations": {
+ "username_required": "не должно быть пустым",
+ "fullname_required": "не должно быть пустым",
+ "email_required": "не должен быть пустым",
+ "password_required": "не должен быть пустым",
+ "password_confirmation_required": "не должно быть пустым",
+ "password_confirmation_match": "должно совпадать с паролем"
+ }
},
"settings": {
"attachmentRadius": "Прикреплённые файлы",