Index: trunk/extensions/BoardVote/GoToBoardVote_body.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | $wgOut->addWikiText( wfMsg( "boardvote_redirecting", $url ) ); |
47 | 47 | $wgOut->addMeta( 'http:Refresh', '20;url=' . htmlspecialchars( $url ) ); |
48 | 48 | } else { |
49 | | - $wgOut->addWikiText( wfMsg( "boardvote_notloggedin", $wgBoardVoteEditCount, |
| 49 | + $wgOut->addWikiText( wfMsgExt( 'boardvote_notloggedin', array( 'parsemag' ), $wgBoardVoteEditCount, |
50 | 50 | $wgLang->timeanddate( $wgBoardVoteCountDate ), $wgBoardVoteRecentEditCount, |
51 | 51 | $wgLang->timeanddate( $wgBoardVoteRecentFirstCountDate ), |
52 | 52 | $wgLang->timeanddate( $wgBoardVoteRecentCountDate ) |
Index: trunk/extensions/BoardVote/BoardVote_body.php |
— | — | @@ -323,18 +323,18 @@ |
324 | 324 | global $wgOut, $wgLang; |
325 | 325 | global $wgBoardVoteEditCount, $wgBoardVoteRecentEditCount, $wgBoardVoteCountDate; |
326 | 326 | global $wgBoardVoteRecentFirstCountDate, $wgBoardVoteRecentCountDate; |
327 | | - $wgOut->addWikiText( wfMsg( "boardvote_nosession", $wgBoardVoteEditCount, |
| 327 | + $wgOut->addWikiText( wfMsgExt( 'boardvote_nosession', array( 'parsemag' ), $wgBoardVoteEditCount, |
328 | 328 | $wgLang->timeanddate( $wgBoardVoteCountDate ), $wgBoardVoteRecentEditCount, |
329 | 329 | $wgLang->timeanddate( $wgBoardVoteRecentFirstCountDate ), |
330 | 330 | $wgLang->timeanddate( $wgBoardVoteRecentCountDate ) |
331 | | - ) ); |
| 331 | + ) ); |
332 | 332 | } |
333 | 333 | |
334 | 334 | function notQualified() { |
335 | 335 | global $wgOut, $wgLang; |
336 | 336 | global $wgBoardVoteEditCount, $wgBoardVoteRecentEditCount, $wgBoardVoteCountDate; |
337 | 337 | global $wgBoardVoteRecentFirstCountDate, $wgBoardVoteRecentCountDate; |
338 | | - $wgOut->addWikiText( wfMsg( "boardvote_notqualified", $wgBoardVoteEditCount, |
| 338 | + $wgOut->addWikiText( wfMsg( 'boardvote_notqualified', array( 'parsemag' ), $wgBoardVoteEditCount, |
339 | 339 | $wgLang->timeanddate( $wgBoardVoteCountDate ), $wgBoardVoteRecentEditCount, |
340 | 340 | $wgLang->timeanddate( $wgBoardVoteRecentFirstCountDate ), |
341 | 341 | $wgLang->timeanddate( $wgBoardVoteRecentCountDate ) |
Index: trunk/extensions/BoardVote/BoardVote.i18n.php |
— | — | @@ -55,11 +55,11 @@ |
56 | 56 | left empty.</p>", |
57 | 57 | 'boardvote_nosession' => "Your Wikimedia user ID could not be determined. |
58 | 58 | Please log in to the wiki where you are qualified to vote, and go to <nowiki>[[Special:Boardvote]]</nowiki>. |
59 | | -You must use an account with at least $1 contributions before $2, and have made at least $3 contributions between $4 and $5.", |
| 59 | +You must use an account with at least $1 {{PLURAL:$1|contribution|contributions}} before $2, and have made at least $3 {{PLURAL:$3|contribution|contributions}} between $4 and $5.", |
60 | 60 | 'boardvote_notloggedin' => "You are not logged in. |
61 | | -To vote, you must use an account with at least $1 contributions before $2, and have made at least $3 contributions between $4 and $5.", |
| 61 | +To vote, you must use an account with at least $1 {{PLURAL:$1|contribution|contributions}} before $2, and have made at least $3 {{PLURAL:$3|contribution|contributions}} between $4 and $5.", |
62 | 62 | 'boardvote_notqualified' => "You are not qualified to vote in this election. |
63 | | -You need to have made at least $1 contributions before $2, and have made at least $3 contributions between $4 and $5.", |
| 63 | +You need to have made at least $1 {{PLURAL:$1|contribution|contributions}} before $2, and have made at least $3 {{PLURAL:$3|contribution|contributions}} between $4 and $5.", |
64 | 64 | 'boardvote_novotes' => "Nobody has voted yet.", |
65 | 65 | 'boardvote_time' => "Time", |
66 | 66 | 'boardvote_user' => "User", |