Skip to content

Commit

Permalink
Handle registration errors differently to address the Register button…
Browse files Browse the repository at this point in the history
… being disabled.
  • Loading branch information
Quy Ton committed Jun 26, 2009
1 parent ecb61df commit 18408d3
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 118 deletions.
4 changes: 3 additions & 1 deletion upload/lang/English/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
'Register' => 'Register',

// Form validation stuff (some of these are also used in post.php)
'Registration errors' => 'Registration errors',
'Registration errors info' => 'The following errors need to be corrected before your registration can be processed:',
'Username censor' => 'The username you entered contains one or more censored words. Please choose a different username.',
'Username dupe 1' => 'Someone is already registered with the username',
'Username dupe 2' => 'The username you entered is too similar. The username must differ from that by at least one alphanumerical character (a-z or 0-9). Please choose a different username.',
'E-mail not match' => 'E-mail addresses do not match. Please go back and correct.',
'E-mail not match' => 'E-mail addresses do not match.',

// Registration e-mail stuff
'Reg e-mail' => 'Thank you for registering. Your password has been sent to the specified address. If it doesn\'t arrive you can contact the forum administrator at',
Expand Down
Loading

0 comments on commit 18408d3

Please sign in to comment.