Index: trunk/extensions/SecurePoll/SecurePoll.i18n.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | 'securepoll-api-token-mismatch' => 'Security token mismatch, cannot log in.', |
76 | 76 | 'securepoll-not-logged-in' => 'You must [[Special:Userlogin|log in]] to vote in this election. If you do not yet have an account, you can [[Special:Userlogin/signup|create one]].', |
77 | 77 | 'securepoll-too-few-edits' => 'Sorry, you cannot vote. You need to have made at least $1 {{PLURAL:$1|edit|edits}} to vote in this election, you have made $2.', |
78 | | - 'securepoll-too-new' => 'Sorry, you cannot vote. Your account needs to have been registered before $1 to vote in this election, you registered on $2.', |
| 78 | + 'securepoll-too-new' => 'Sorry, you cannot vote. Your account needs to have been registered before $1 at $3 to vote in this election, you registered on $2 at $4.', |
79 | 79 | 'securepoll-blocked' => 'Sorry, you cannot vote in this election if you are currently blocked from editing.', |
80 | 80 | 'securepoll-blocked-centrally' => 'Sorry, you cannot vote in this election if you are blocked on $1 or more {{PLURAL:$1|wiki|wikis}}.', |
81 | 81 | 'securepoll-bot' => 'Sorry, accounts with the bot flag are not allowed to vote in this election.', |
Index: trunk/extensions/SecurePoll/includes/entities/Election.php |
— | — | @@ -176,8 +176,10 @@ |
177 | 177 | if ( $maxDate && $date > $maxDate ) { |
178 | 178 | $status->fatal( |
179 | 179 | 'securepoll-too-new', |
180 | | - $wgLang->timeanddate( $maxDate ), |
181 | | - $wgLang->timeanddate( $date ) |
| 180 | + $wgLang->date( $maxDate ), |
| 181 | + $wgLang->date( $date ), |
| 182 | + $wgLang->time( $maxDate ), |
| 183 | + $wgLang->time( $date ), |
182 | 184 | ); |
183 | 185 | } |
184 | 186 | |