Index: trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | 'descriptionmsg' => 'confirmedit-desc', |
15 | 15 | 'author' => 'Aaron Schulz', |
16 | 16 | 'url' => 'http://www.mediawiki.org/wiki/Extension:ConfirmAccount', |
17 | | - 'version' => '1.47', |
| 17 | + 'version' => '1.48', |
18 | 18 | ); |
19 | 19 | |
20 | 20 | # This extension needs email enabled! |
Index: trunk/extensions/ConfirmAccount/RequestAccount_body.php |
— | — | @@ -285,7 +285,8 @@ |
286 | 286 | global $wgAccountRequestMinWords; |
287 | 287 | # Check if biography is long enough |
288 | 288 | if ( str_word_count( $this->mBio ) < $wgAccountRequestMinWords ) { |
289 | | - $this->showForm( wfMsgHtml( 'requestaccount-tooshort', $wgAccountRequestMinWords ) ); |
| 289 | + global $wgLang; |
| 290 | + $this->showForm( wfMsgExt( 'requestaccount-tooshort', 'parsemag', $wgLang->formatNum( $wgAccountRequestMinWords ) ) ); |
290 | 291 | return; |
291 | 292 | } |
292 | 293 | # Set some additional data so the AbortNewAccount hook can be |
Index: trunk/extensions/ConfirmAccount/ConfirmAccount.i18n.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | 'requestaccount-urls' => 'List of websites, if any (separate with newlines):', |
48 | 48 | 'requestaccount-agree' => 'You must certify that your real name is correct and that you agree to our Terms of Service.', |
49 | 49 | 'requestaccount-inuse' => 'Username is already in use in a pending account request.', |
50 | | - 'requestaccount-tooshort' => 'Your biography must be at least be $1 {{PLURA:$1|word|words}} long.', |
| 50 | + 'requestaccount-tooshort' => 'Your biography must be at least be $1 {{PLURAL:$1|word|words}} long.', |
51 | 51 | 'requestaccount-emaildup' => 'Another pending account request uses the same e-mail address.', |
52 | 52 | 'requestaccount-exts' => 'Attachment file type is disallowed.', |
53 | 53 | 'requestaccount-resub' => 'Your CV/resume file must be re-selected for security reasons. |