Index: trunk/extensions/SecurePasswords/SecurePasswords.i18n.php |
— | — | @@ -10,12 +10,13 @@ |
11 | 11 | */ |
12 | 12 | $messages['en'] = array( |
13 | 13 | 'securepasswords-desc' => 'Creates more secure password hashes and adds a password strength checker', |
14 | | - 'securepasswords-valid' => 'Your password is invalid or too short. It must:', |
15 | | - 'securepasswords-minlength' => 'be at least $1 characters long', |
| 14 | + 'securepasswords-valid' => 'Your password is invalid or too short. |
| 15 | +It must:', |
| 16 | + 'securepasswords-minlength' => 'be at least $1 {{PLURAL:$1|character|characters}} long', |
16 | 17 | 'securepasswords-lowercase' => 'contain at least 1 lowercase letter', |
17 | 18 | 'securepasswords-uppercase' => 'contain at least 1 uppercase letter', |
18 | 19 | 'securepasswords-digit' => 'contain at least 1 digit', |
19 | | - 'securepasswords-special' => 'contain at least 1 special character (Special characters are: $1)', |
| 20 | + 'securepasswords-special' => 'contain at least 1 special character (special characters are: $1)', |
20 | 21 | 'securepasswords-username' => 'be different from your username', |
21 | 22 | 'securepasswords-word' => 'not be a word', |
22 | 23 | ); |
Index: trunk/extensions/SecurePasswords/SecurePasswords.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | 'name' => 'SecurePasswords', |
29 | 29 | 'author' => 'Ryan Schmidt', |
30 | 30 | 'url' => 'http://www.mediawiki.org/wiki/Extension:SecurePasswords', |
31 | | - 'version' => '1.1', |
| 31 | + 'version' => '1.1.1', |
32 | 32 | 'svn-date' => '$LastChangedDate$', |
33 | 33 | 'svn-revision' => '$LastChangedRevision$', |
34 | 34 | 'description' => 'Creates more secure password hashes and adds a password strength checker', |
— | — | @@ -330,7 +330,7 @@ |
331 | 331 | wfLoadExtensionMessages('SecurePasswords'); |
332 | 332 | $key = 'securepasswords-password'; |
333 | 333 | $msg = wfMsg( 'securepasswords-valid' ) . ' '; |
334 | | - $msg .= wfMsg( 'securepasswords-minlength', $wgValidPasswords['minlength'] ); |
| 334 | + $msg .= wfMsgExt( 'securepasswords-minlength', array( 'parsemag' ), $wgValidPasswords['minlength'] ); |
335 | 335 | if( $wgValidPasswords['lowercase'] ) { |
336 | 336 | $msg .= ', ' . wfMsg( 'securepasswords-lowercase' ); |
337 | 337 | } |