From 25530a3caf7ea6714f22830a4792756507a722b0 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 14 Nov 2010 23:22:13 +0000 Subject: Refs #1417 Elgg core now passes back useful messages to user when log in fails - uservalidationbyemail is next git-svn-id: http://code.elgg.org/elgg/trunk@7317 36083f99-b078-4883-b0ff-0f9b5a30f544 --- languages/en.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'languages') diff --git a/languages/en.php b/languages/en.php index 522f9e364..118ad8883 100644 --- a/languages/en.php +++ b/languages/en.php @@ -21,6 +21,9 @@ $english = array( 'login' => "Log in", 'loginok' => "You have been logged in.", 'loginerror' => "We couldn't log you in. Please check your credentials and try again.", + 'login:empty' => "Username and password are required.", + 'login:baduser' => "Unable to load your user account.", + 'auth:nopams' => "Internal error. No user authentication method installed.", 'logout' => "Log out", 'logoutok' => "You have been logged out.", @@ -174,6 +177,10 @@ $english = array( 'RegistrationException:EmptyPassword' => 'The password fields cannot be empty', 'RegistrationException:PasswordMismatch' => 'Passwords must match', + 'LoginException:BannedUser' => 'You have been banned from this site and cannot log in', + 'LoginException:UsernameFailure' => 'We could not log you in. Please check your username and password.', + 'LoginException:PasswordFailure' => 'We could not log you in. Please check your username and password.', + 'LoginException:AccountLocked' => 'Your account has been locked for too many log in failures.', 'memcache:notinstalled' => 'PHP memcache module not installed, you must install php5-memcache', 'memcache:noservers' => 'No memcache servers defined, please populate the $CONFIG->memcache_servers variable', -- cgit v1.2.3