https://www.mediawiki.org/wiki/Special:Code/MediaWiki/111753
Revision: 111753 Author: raymond Date: 2012-02-17 14:57:54 +0000 (Fri, 17 Feb 2012) Log Message: ----------- r111696: Consistency tweaks in preparation for adding extension to translatewiki.net * Add description message * Move comments to message documentation section qqq Modified Paths: -------------- trunk/extensions/AJAXPoll/AJAXPoll.i18n.php trunk/extensions/AJAXPoll/AJAXPoll.php Modified: trunk/extensions/AJAXPoll/AJAXPoll.i18n.php =================================================================== --- trunk/extensions/AJAXPoll/AJAXPoll.i18n.php 2012-02-17 14:57:27 UTC (rev 111752) +++ trunk/extensions/AJAXPoll/AJAXPoll.i18n.php 2012-02-17 14:57:54 UTC (rev 111753) @@ -12,16 +12,24 @@ * @author Dariusz Siedlecki */ $messages['en'] = array( + 'ajaxpoll-desc' => 'Allows AJAX-based polls with <tt><poll></tt> tag', 'ajaxpoll-vote-update' => 'Your vote has been updated.', 'ajaxpoll-vote-add' => 'Your vote has been added.', 'ajaxpoll-vote-error' => 'There was a problem with processing your vote, please try again.', - 'ajaxpoll-percent-votes' => '$1% of all votes', // $1 is the percentage number of the votes - '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 + 'ajaxpoll-percent-votes' => '$1% of all votes', + 'ajaxpoll-your-vote' => 'You already voted for "$1" on $2, you can change your vote by clicking an answer below.', 'ajaxpoll-no-vote' => 'Please vote below.', // http://trac.wikia-code.com/changeset/867 - '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 + 'ajaxpoll-info' => 'There {{PLURAL:$1|was one vote|were $1 votes}} since the poll was created on $2.', 'ajaxpoll-submitting' => 'Please wait, submitting your vote.', ); +/** Message documenation */ +$messages['qqq'] = array( + 'ajaxpoll-percent-votes' => '$1 is the percentage number of the votes', + 'ajaxpoll-your-vote' => '$1 is the answer name, $2 is the date when the answer was casted', + 'ajaxpoll-info' => '$1 is the number of votes, $2 is when the poll was started', +); + /** Afrikaans (Afrikaans) * @author Naudefj */ Modified: trunk/extensions/AJAXPoll/AJAXPoll.php =================================================================== --- trunk/extensions/AJAXPoll/AJAXPoll.php 2012-02-17 14:57:27 UTC (rev 111752) +++ trunk/extensions/AJAXPoll/AJAXPoll.php 2012-02-17 14:57:54 UTC (rev 111753) @@ -32,8 +32,8 @@ 'path' => __FILE__, 'name' => 'AJAX Poll', 'version' => '1.600 20120216', - 'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries', ), - 'description' => 'Allows AJAX-based polls with <tt><poll></tt> tag', + 'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries' ), + 'descriptionmsg' => 'ajaxpoll-desc', 'url' => 'https://www.mediawiki.org/wiki/Extension:AJAX_Poll', ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs