summaryrefslogtreecommitdiffstats
path: root/options/locale
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-11-19 19:44:58 -0300
committerzeripath <art27@cantab.net>2019-11-19 22:44:58 +0000
commitc57edb6c7b5066da2b0f526e6ab9f7842fd785fb (patch)
tree68d44a4dbc58f8ade1373eb30fe850410511ce43 /options/locale
parenteb0359cad4b725553c8bca3e95ada9c789c5da0b (diff)
downloadgitea-c57edb6c7b5066da2b0f526e6ab9f7842fd785fb.tar.gz
gitea-c57edb6c7b5066da2b0f526e6ab9f7842fd785fb.zip
Add password requirement info on error (#9074)
* Add password requirement info on error * Move BuildComplexityError to the password pkg * Unexport complexity type * Fix extra line * Update modules/password/password.go Co-Authored-By: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'options/locale')
-rw-r--r--options/locale/locale_en-US.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index be644c6ea9..99304c470d 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -328,7 +328,11 @@ team_no_units_error = Allow access to at least one repository section.
email_been_used = The email address is already used.
openid_been_used = The OpenID address '%s' is already used.
username_password_incorrect = Username or password is incorrect.
-password_complexity = Password does not pass complexity requirements.
+password_complexity = Password does not pass complexity requirements:
+password_lowercase_one = At least one lowercase character
+password_uppercase_one = At least one uppercase character
+password_digit_one = At least one digit
+password_special_one = At least one special character (punctuation, brackets, quotes, etc.)
enterred_invalid_repo_name = The repository name you entered is incorrect.
enterred_invalid_owner_name = The new owner name is not valid.
enterred_invalid_password = The password you entered is incorrect.