Index: trunk/extensions/AjaxLogin/ApiAjaxLogin.php |
— | — | @@ -91,9 +91,9 @@ |
92 | 92 | $result['text'] = wfMsg( 'al-createblocked' ); |
93 | 93 | break; |
94 | 94 | case LoginForm::THROTTLED: |
95 | | - global $wgPasswordAttemptThrottle; |
| 95 | + global $wgPasswordAttemptThrottle, $wgLang; |
96 | 96 | $result['result'] = 'Throttled'; |
97 | | - $result['text'] = wfMsg( 'al-throttled', intval( $wgPasswordAttemptThrottle['seconds'] ) ); |
| 97 | + $result['text'] = wfMsgExt( 'al-throttled', 'parsemag', $wgLang->formatNum( intval( $wgPasswordAttemptThrottle['seconds'] ) ) ); |
98 | 98 | break; |
99 | 99 | case LoginForm::USER_BLOCKED: |
100 | 100 | $result['result'] = 'Blocked'; |