1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

Expanded spelling of chars to characters

Fixes #834

- Updated error message for password length to use "characters" instead
of "chars".
This commit is contained in:
William Dibbern 2013-09-18 21:51:56 -05:00
parent 68a3f34530
commit 343ffb2915

View file

@ -335,7 +335,7 @@
Ghost.Validate._errors = [];
Ghost.Validate.check(newPassword, {message: 'Your new passwords do not match'}).equals(ne2Password);
Ghost.Validate.check(newPassword, {message: 'Your password is not long enough. It must be at least 8 chars long.'}).len(8);
Ghost.Validate.check(newPassword, {message: 'Your password is not long enough. It must be at least 8 characters long.'}).len(8);
if (Ghost.Validate._errors.length > 0) {
Ghost.Validate.handleErrors();