diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-04-03 15:35:23 -0300 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-04-05 11:40:15 -0300 |
commit | a13bdf00d628805fbd84690eef9356ad754662f2 (patch) | |
tree | ca55acc508e0aa81a3c773f595e5800607f6a031 /web-ui/app/locales | |
parent | 658bc283585de7692af9b4d877962b2d0f96ebe0 (diff) |
[#934] Add front-end password validation
Diffstat (limited to 'web-ui/app/locales')
-rw-r--r-- | web-ui/app/locales/en_US/translation.json | 6 | ||||
-rw-r--r-- | web-ui/app/locales/pt_BR/translation.json | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/web-ui/app/locales/en_US/translation.json b/web-ui/app/locales/en_US/translation.json index 160e71ff..6ca72283 100644 --- a/web-ui/app/locales/en_US/translation.json +++ b/web-ui/app/locales/en_US/translation.json @@ -101,7 +101,11 @@ "image-description": "New Password - Step 3 of 4", "title": "Now, create a new password", "input-label1": "create new password", - "input-label2": "confirm your new password" + "input-label2": "confirm your new password", + "error": { + "invalid-password": "A better password has at least 8 characters", + "invalid-confirm-password": "Password and confirmation don't match" + } }, "backup-account-step": { "image-description": "Backup Account - Step 4 of 4", diff --git a/web-ui/app/locales/pt_BR/translation.json b/web-ui/app/locales/pt_BR/translation.json index b7cac507..1baf9b07 100644 --- a/web-ui/app/locales/pt_BR/translation.json +++ b/web-ui/app/locales/pt_BR/translation.json @@ -101,7 +101,11 @@ "image-description": "Nova Senha - Passo 3 de 4", "title": "Agora, crie uma nova senha", "input-label1": "digite a nova senha", - "input-label2": "confirme a nova senha" + "input-label2": "confirme a nova senha", + "error": { + "invalid-password": "Uma senha boa tem pelo menos 8 caracteres", + "invalid-confirm-password": "Senha e confirmação não são iguais" + } }, "backup-account-step": { "image-description": "E-mail de Recuperação - Passo 4 de 4", |