Index: trunk/extensions/CentralAuth/SpecialCentralAuth.php |
— | — | @@ -342,9 +342,11 @@ |
343 | 343 | if ($row['blocked']) { |
344 | 344 | global $wgLang; |
345 | 345 | $expiry = $wgLang->timeanddate( $row['block-expiry'] ); |
| 346 | + $expiryd = $wgLang->date( $row['block-expiry'] ); |
| 347 | + $expiryt = $wgLang->time( $row['block-expiry'] ); |
346 | 348 | $reason = $row['block-reason']; |
347 | 349 | |
348 | | - return wfMsgExt( 'centralauth-admin-blocked', 'parseinline', array( $expiry, $reason ) ); |
| 350 | + return wfMsgExt( 'centralauth-admin-blocked', 'parseinline', array( $expiry, $reason, $expiryd, $expiryt ) ); |
349 | 351 | } else { |
350 | 352 | return wfMsgExt( 'centralauth-admin-notblocked', 'parseinline' ); |
351 | 353 | } |
Index: trunk/extensions/CentralAuth/CentralAuth.i18n.php |
— | — | @@ -140,7 +140,7 @@ |
141 | 141 | 'centralauth-admin-unattached' => 'Unattached accounts', |
142 | 142 | 'centralauth-admin-no-unattached' => 'No unmerged accounts remain.', |
143 | 143 | 'centralauth-admin-notblocked' => 'Not blocked', |
144 | | - 'centralauth-admin-blocked' => 'Blocked with expiry $1. Reason: $2', |
| 144 | + 'centralauth-admin-blocked' => 'Blocked with expiry on $3 at $4. Reason: $2', |
145 | 145 | 'centralauth-admin-list-localwiki' => 'Local wiki', |
146 | 146 | 'centralauth-admin-list-attached-on' => 'Attached on', |
147 | 147 | 'centralauth-admin-list-method' => 'Method', |