Index: trunk/extensions/AJAXPoll/AJAXPoll.php |
— | — | @@ -32,8 +32,8 @@ |
33 | 33 | 'path' => __FILE__, |
34 | 34 | 'name' => 'AJAX Poll', |
35 | 35 | 'version' => '1.600 20120216', |
36 | | - 'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries', ), |
37 | | - 'description' => 'Allows AJAX-based polls with <tt><poll></tt> tag', |
| 36 | + 'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries' ), |
| 37 | + 'descriptionmsg' => 'ajaxpoll-desc', |
38 | 38 | 'url' => 'https://www.mediawiki.org/wiki/Extension:AJAX_Poll', |
39 | 39 | ); |
40 | 40 | |
Index: trunk/extensions/AJAXPoll/AJAXPoll.i18n.php |
— | — | @@ -12,16 +12,24 @@ |
13 | 13 | * @author Dariusz Siedlecki |
14 | 14 | */ |
15 | 15 | $messages['en'] = array( |
| 16 | + 'ajaxpoll-desc' => 'Allows AJAX-based polls with <tt><poll></tt> tag', |
16 | 17 | 'ajaxpoll-vote-update' => 'Your vote has been updated.', |
17 | 18 | 'ajaxpoll-vote-add' => 'Your vote has been added.', |
18 | 19 | 'ajaxpoll-vote-error' => 'There was a problem with processing your vote, please try again.', |
19 | | - 'ajaxpoll-percent-votes' => '$1% of all votes', // $1 is the percentage number of the votes |
20 | | - 'ajaxpoll-your-vote' => 'You already voted for "$1" on $2, you can change your vote by clicking an answer below.', // $1 is the answer name, $2 is the date when the answer was casted |
| 20 | + 'ajaxpoll-percent-votes' => '$1% of all votes', |
| 21 | + 'ajaxpoll-your-vote' => 'You already voted for "$1" on $2, you can change your vote by clicking an answer below.', |
21 | 22 | 'ajaxpoll-no-vote' => 'Please vote below.', // http://trac.wikia-code.com/changeset/867 |
22 | | - 'ajaxpoll-info' => 'There {{PLURAL:$1|was one vote|were $1 votes}} since the poll was created on $2.', // $1 is the number of votes, $2 is when the poll was started |
| 23 | + 'ajaxpoll-info' => 'There {{PLURAL:$1|was one vote|were $1 votes}} since the poll was created on $2.', |
23 | 24 | 'ajaxpoll-submitting' => 'Please wait, submitting your vote.', |
24 | 25 | ); |
25 | 26 | |
| 27 | +/** Message documenation */ |
| 28 | +$messages['qqq'] = array( |
| 29 | + 'ajaxpoll-percent-votes' => '$1 is the percentage number of the votes', |
| 30 | + 'ajaxpoll-your-vote' => '$1 is the answer name, $2 is the date when the answer was casted', |
| 31 | + 'ajaxpoll-info' => '$1 is the number of votes, $2 is when the poll was started', |
| 32 | +); |
| 33 | + |
26 | 34 | /** Afrikaans (Afrikaans) |
27 | 35 | * @author Naudefj |
28 | 36 | */ |