diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-25 14:45:49 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-25 14:45:49 +0000 |
commit | 7b62937942d4506c2d2a23c4a7211adbeccd83d1 (patch) | |
tree | 13f185f0a38f1d2cf5469eaa3863ff9b4677b361 /languages/en.php | |
parent | 1793406d859437dee279a6a8f9870565834c3e7c (diff) | |
download | elgg-7b62937942d4506c2d2a23c4a7211adbeccd83d1.tar.gz elgg-7b62937942d4506c2d2a23c4a7211adbeccd83d1.tar.bz2 |
Closes #254: If mb_string is installed then internationalised usernames are supported in file system.
Because of this I have raised mbstring from recommended to a (non-fatal) core requirement.
Because of the lack of a unicode ctype_alnum function the validation occurs at username input. Because of this I have improved the user registration code:
This code now validates for special chars etc in the username. I have also introduced the following new plugin hooks (which are run after primary validation) which provide plugins with the ability to add other requirements (extra security etc).
'registeruser:validate:password'
'registeruser:validate:username'
'registeruser:validate:email'
Marcus Povey 25/8/08
git-svn-id: https://code.elgg.org/elgg/trunk@2040 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'languages/en.php')
-rw-r--r-- | languages/en.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/languages/en.php b/languages/en.php index 6e72793c0..cdfb22c29 100644 --- a/languages/en.php +++ b/languages/en.php @@ -386,7 +386,11 @@ To remove a widget drag it back to the <b>Widget gallery</b>.", 'registration:userexists' => 'That username already exists',
'registration:usernametooshort' => 'Your username must be a minimum of 4 characters long.',
'registration:passwordtooshort' => 'The password must be a minimum of 6 characters long.',
- 'registration:dupeemail' => 'This email address has already been registered.',
+ 'registration:dupeemail' => 'This email address has already been registered.', + 'registration:invalidchars' => 'Sorry, your email address contains invalid characters.', + 'registration:emailnotvalid' => 'Sorry, the email address you entered is invalid on this system', + 'registration:passwordnotvalid' => 'Sorry, the password you entered is invalid on this system', + 'registration:usernamenotvalid' => 'Sorry, the username you entered is invalid on this system',
'adduser' => "Add User",
'adduser:ok' => "You have successfully added a new user.",
|