Plugin Directory

Changeset 164608


Ignore:
Timestamp:
10/18/2009 04:07:29 PM (16 years ago)
Author:
zhykos
Message:

Version 1.35 : See readme.txt for details

Location:
comment-contest/trunk
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • comment-contest/trunk/comment-contest.php

    r154447 r164608  
    55Description: If you create a contest on your website, you can draw all comments in a specific post
    66Author: Thomas "Zhykos" Cicognani
    7 Version: 1.3
     7Version: 1.35
    88Author URI: http://www.nozzhy.com
    99*/
     
    3333class CommentContest {
    3434    /*private*/var $domain = '';
    35     /*private*/var $version = '1.3'; // Current version
     35    /*private*/var $version = '1.35'; // Current version
    3636    /*private*/var $option_ns = '';
    3737    /*private*/var $options = array ();
     
    152152     * @param $email Email to send (<i>null</i> means no email to send)
    153153     */
    154     function configure($errorCode = null, $previousContestType = null, $numWinners = null, $numParticipation = null, $numPrizes = null, $ranks = null, $email = null) {
     154    function step1_configure($errorCode = null, $previousContestType = null, $numWinners = null, $numParticipation = null, $numPrizes = null, $ranks = null, $email = null) {
    155155        $configureContest = __("Configure the contest", $this->localizationName);
    156156        $winnersNumber = __("Winners' number", $this->localizationName);
     
    278278     * @param $prizes Prizes' number
    279279     */
    280     /*private */function choosePost($currentPage, $ranks, $numWinners, $numParticipation, $email, $type, $prizes) {
     280    /*private */function step2_choosePost($currentPage, $ranks, $numWinners, $numParticipation, $email, $type, $prizes) {
    281281        global $wpdb;
    282282        $maxArticles = 20;
     
    285285        $more = __("More...", $this->localizationName);
    286286        $noPost = __("No post found!", $this->localizationName);
     287        $comments = __("comment(s)", $this->localizationName);
    287288       
    288289        echo "<h1>Comment Contest - $choosePost</h1><form id='postForm' action='plugins.php?page=comment-contest.php' method='post'>";
    289290       
    290         $query = "SELECT * FROM $wpdb->posts WHERE (post_status = 'publish' OR post_status = 'private') AND post_type='post' ORDER BY post_date DESC";
     291        // V1.35 - ADD : Only display posts with comments
     292        $query = "SELECT * FROM $wpdb->posts WHERE (post_status = 'publish' OR post_status = 'private') AND post_type='post' AND comment_count > 0 ORDER BY post_date DESC";
     293       
    291294        $posts = $wpdb->get_results ( $query );
     295       
    292296        if ($posts) {
    293297            $url = get_bloginfo ( 'url' );
    294298            for($i = $currentPage; $i < count ( $posts ) && $i < $maxArticles + $currentPage; $i ++) {
    295299                $post = $posts [$i];
    296                 echo "<a href='#' onclick='getElementById(\"postnumber\").value=$post->ID; getElementById(\"postForm\").submit()'>$post->post_title</a><br />";
     300                echo "<a href='#' onclick='getElementById(\"postnumber\").value=$post->ID; getElementById(\"postForm\").submit()'>$post->post_title</a>  ($post->comment_count $comments)<br />";
    297301            }
    298302           
     
    329333     * @param $previousComments Comments previously checked
    330334     */
    331     /*private */function chooseComments($idPost, $ranks, $numWinners, $numParticipation, $email, $type, $prizes, $errorMessage = null, $previousComments = null) {
     335    /*private */function step3_chooseComments($idPost, $ranks, $numWinners, $numParticipation, $email, $type, $prizes, $errorMessage = null, $previousComments = null) {
    332336        global $wpdb;
    333337
     
    348352                $resultQueryTemp = $wpdb->get_results ( $queryTemp );
    349353                foreach ( $resultQueryTemp as $resultTemp ) {
    350                     $filter [] = "comment_author = '$resultTemp->user_login'";
     354                    // V1.35 - BUG FIX : Simple and double quotes protected because if a pseudo contains quotes, the query bugs (thanks to Kamel from www.yoocom.fr)
     355                    $filter [] = "comment_author = '" . addslashes($resultTemp->user_login) . "'";
    351356                }
    352357            } elseif ($rank == 0) { // Subscriber
     
    354359                $resultQueryTemp = $wpdb->get_results ( $queryTemp );
    355360                foreach ( $resultQueryTemp as $resultTemp ) {
    356                     $filter [] = "comment_author = '$resultTemp->meta_value'";
     361                    // V1.35 - BUG FIX : Simple and double quotes protected because if a pseudo contains quotes, the query bugs (thanks to Kamel from www.yoocom.fr)
     362                    $filter [] = "comment_author = '" . addslashes($resultTemp->meta_value) . "'";
    357363                }
    358364            } else { // User ($rank == -1)
     
    360366                $resultQueryTemp = $wpdb->get_results ( $queryTemp );
    361367                foreach ( $resultQueryTemp as $resultTemp ) {
    362                     $filter [] = "comment_author = '$resultTemp->comment_author'";
    363                 }
    364             }
    365         }
    366        
     368                    // V1.35 - BUG FIX : Simple and double quotes protected because if a pseudo contains quotes, the query bugs (thanks to Kamel from www.yoocom.fr)
     369                    $filter [] = "comment_author = '" . addslashes($resultTemp->comment_author) . "'";
     370                }
     371            }
     372        }
     373       
     374        // V1.35 - BUG FIX : If $filter is null, a PHP error occured ==> filter management now here
     375        if($filter == null) {
     376            $filter = "";
     377        } else {
     378            $filter = " and (" . implode ( " OR ", $filter ) . ")";
     379        }
     380
    367381        $query = "SELECT * FROM $wpdb->comments WHERE comment_approved = \"1\" and comment_post_id='$idPost' and comment_author != (
    368             select user_login from $wpdb->users u, $wpdb->posts p where u.ID = post_author and p.ID = $idPost
    369             ) and (" . implode ( " OR ", $filter ) . ") ORDER BY comment_author";
     382            select user_login from $wpdb->users u, $wpdb->posts p where u.ID = post_author and p.ID = '$idPost'
     383            )$filter ORDER BY comment_author";
    370384        $comments = $wpdb->get_results ( $query );
    371385       
     
    428442     * @param $previousTo Prizes' places previously typed
    429443     */
    430     function choosePrizes($comments, $numWinners, $numParticipation, $email, $type, $prizes, $error = 0, $previousNames = null, $previousTo = null) {
     444    function step4_choosePrizes($comments, $numWinners, $numParticipation, $email, $type, $prizes, $error = 0, $previousNames = null, $previousTo = null) {
    431445        $choosePrizes = __("Prizes' choice", $this->localizationName);
    432446        $launchContest = __("Launch the contest", $this->localizationName);
     
    437451        echo "<h1>Comment Contest - $choosePrizes</h1>";
    438452       
    439         if($error == 1) {
    440             $errorText = __("Please give all prizes!", $this->localizationName);
    441             echo "<div id='message' class='error'><p>$errorText</p></div>";
    442         } elseif($error == 2) {
    443             $errorText = __("Please check all places for each prize", $this->localizationName);
     453        // V1.35 - ADD : Different names check and code optimization
     454        if($error > 0) {
     455            if($error == 1) {
     456                $errorText = __("Please give all prizes!", $this->localizationName);
     457            } elseif($error == 2) {
     458                $errorText = __("Please check all places for each prize", $this->localizationName);
     459            } elseif($error == 3) {
     460                $errorText = __("Please give different name for each prize", $this->localizationName);
     461            }
     462           
    444463            echo "<div id='message' class='error'><p>$errorText</p></div>";
    445464        }
     
    505524     * @param $places Prizes' order
    506525     */
    507     /*private */function displayWinners($comments, $numWinners, $numParticipation, $email, $type, $prizes, $places) {
     526    /*private */function step5_displayWinners($comments, $numWinners, $numParticipation, $email, $type, $prizes, $places) {
    508527        global $wpdb;
    509528       
     
    576595        }
    577596        array_unique($tabTemp);
    578         sort($tabTemp);
     597        natcasesort($tabTemp); // V1.35 - UPDATE : Remove case sensitive sort ("natcasesort($array)" replace "sort($array)")
    579598        echo implode(", ", $tabTemp);
    580599    }
     
    584603     * @param $message The error message
    585604     * @param $args The message's parameter. <code>$args[0]</code> must be <i>"post"</i> or <i>"home"</i>
     605     * @version 1.35 - UPDATE : Change the message format
    586606     */
    587607    /*private */function error($message, $args) {
     
    590610            $chooseComment = __("Choose comments", $this->localizationName);
    591611           
    592             die ( "$message<br /><br />
     612            die ( "<div id='message' class='error'><p>$message</p></div><br /><br />
    593613            <form action='plugins.php?page=comment-contest.php' method='post'>
    594614            <input type='hidden' name='postnumber' value='$args[1]' />
     
    601621            $back = __("Back", $this->localizationName);
    602622           
    603             die ( "$message<br /><br /><a href='$url/wp-admin/plugins.php?page=comment-contest.php'>$back</a>" );
     623            die ( "<div id='message' class='error'><p>$message</p></div><br /><br /><a href='$url/wp-admin/plugins.php?page=comment-contest.php'>$back</a>" );
    604624        }
    605625    }
     
    616636        $test = false;
    617637        for($i = 0; $i < count($names); $i++) {
    618             if($names[$i] == "") {
     638            if($names[$i] == "" || $names[$i] == null) {
    619639                $test = true;
    620640            }
     
    650670           
    651671            $res = $this->checkPrizes($_POST['prizeName'], $_POST['to'], $_POST['from']);
     672           
     673            // V1.35 - ADD : Check different names
     674            if(is_array($_POST['prizeName'])) {
     675                $temp = $_POST['prizeName'];
     676                $temp = array_unique($temp);
     677                if(count($temp) != count($_POST['prizeName'])) {
     678                    $res = 3;
     679                }
     680            }
    652681
    653682            if($res == 0) {
    654                 $this->displayWinners ( $_POST ['comments'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['prizeName'], $_POST['from'] );
    655             } else {
    656                 $this->choosePrizes($_POST ['comments'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes'], $res, implode(",", $_POST['prizeName']), implode(",", $_POST['to']));
     683                $this->step5_displayWinners ( $_POST ['comments'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['prizeName'], $_POST['from'] );
     684            } else {
     685                $this->step4_choosePrizes($_POST ['comments'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes'], $res, implode(",", $_POST['prizeName']), implode(",", $_POST['to']));
    657686            }
    658687
     
    661690        }
    662691        else if (isset ( $_POST ['postnumber'] ) && $_POST ['postnumber'] != -1) { // Step 3 : Choose comments
    663             $this->chooseComments ( $_POST ['postnumber'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes'] );
     692            $this->step3_chooseComments ( $_POST ['postnumber'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes'] );
    664693
    665694// ---------------------------------------------------------------------------------
     
    670699            if ($comments == null || count ( $comments ) == 0) {
    671700                $selectOneWinner = __("Please select one winner at least!", $this->localizationName);
    672                 $this->chooseComments ( $_POST ['post'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes'], $selectOneWinner, null );
     701                $this->step3_chooseComments ( $_POST ['post'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes'], $selectOneWinner, null );
    673702            } elseif (count ( $comments ) < $_POST ['numWinners']) {
    674703                $selectMoreWinner = __("Please select more participants than winners!", $this->localizationName);
    675                 $this->chooseComments ( $_POST ['post'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes'], $selectMoreWinner, $comments );
    676             } else {
    677                 $this->choosePrizes(implode(",", $comments), $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes']);
     704                $this->step3_chooseComments ( $_POST ['post'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes'], $selectMoreWinner, $comments );
     705            } else {
     706                $this->step4_choosePrizes(implode(",", $comments), $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'], $_POST['contestType'], $_POST['numPrizes']);
    678707            }
    679708// ---------------------------------------------------------------------------------
     
    698727            if (count ( $_POST ['rank'] ) == 0) {
    699728                $selectOneRank = __("Please select one rank at least!", $this->localizationName);
    700                 $this->configure ($selectOneRank, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, null, $email);
     729                $this->step1_configure ($selectOneRank, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, null, $email);
    701730            } elseif ($numWinners == null || $numWinners <= 0) {
    702731                $winnerFormat = __("Wrong winners format!", $this->localizationName);
    703                 $this->configure ($winnerFormat, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, $_POST ['rank'], $email);
     732                $this->step1_configure ($winnerFormat, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, $_POST ['rank'], $email);
    704733            } elseif ($numParticipation == null || $numParticipation <= 0) {
    705734                $participationsFormat = __("Wrong participations format!", $this->localizationName);
    706                 $this->configure ($participationsFormat, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, $_POST ['rank'], $email);
     735                $this->step1_configure ($participationsFormat, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, $_POST ['rank'], $email);
    707736            } elseif($email == $emailContentTest) {
    708737                $emailContentError = __("Please change the email's content!", $this->localizationName);
    709                 $this->configure ($emailContentError, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, $_POST ['rank'], $email);
     738                $this->step1_configure ($emailContentError, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, $_POST ['rank'], $email);
    710739            } elseif ($numPrizes == null || $numPrizes <= 0 || $numPrizes > $numWinners) {
    711740                $prizesFormat = __("Wrong prizes number format! Or choose more winners than prizes!", $this->localizationName);
    712                 $this->configure ($prizesFormat, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, $_POST ['rank'], $email);
     741                $this->step1_configure ($prizesFormat, $_POST['contestType'], $numWinners, $numParticipation, $numPrizes, $_POST ['rank'], $email);
    713742            } else {
    714743                if(is_array($_POST ['rank'])) {
     
    717746                    $tab = $_POST ['rank'];
    718747                }
    719                 $this->choosePost ( $page, $tab, $numWinners, $numParticipation, $email, $_POST['contestType'], $numPrizes );
     748                $this->step2_choosePost ( $page, $tab, $numWinners, $numParticipation, $email, $_POST['contestType'], $numPrizes );
    720749            }
    721750           
     
    723752
    724753        } else { // Step 1 : Configure the contest
    725             $this->configure ();
     754            $this->step1_configure ();
    726755        }
    727756    }
  • comment-contest/trunk/languages/commentContest-en_US.po

    r154447 r164608  
    33"Project-Id-Version: Comment Contest\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-09-13 20:03+0100\n"
     5"POT-Creation-Date: 2009-10-18 17:40+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Zhykos <zhykos@nozzhy.com>\n"
     7"Last-Translator: Thomas Cicognani <zhykos@nozzhy.com>\n"
    88"Language-Team: Zhykos & Nozgarde <contact@nozzhy.com>\n"
    99"MIME-Version: 1.0\n"
     
    1616"X-Poedit-KeywordsList: __;_e;_c\n"
    1717"X-Poedit-Basepath: .\n"
    18 "X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress\\wp-content\\plugins\\comment-contest\n"
    19 
    20 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:95
     18"X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress\\wordpress\\wp-content\\plugins\\comment-contest\n"
     19
     20#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:95
    2121msgid "Comment Contest"
    2222msgstr "Comment Contest"
    2323
    24 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:155
     24#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:155
    2525msgid "Configure the contest"
    2626msgstr "Configure the contest"
    2727
    28 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:156
     28#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:156
    2929msgid "Winners' number"
    3030msgstr "Winners' number"
    3131
    32 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:157
     32#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:157
    3333msgid "Maximum participations' number per person"
    3434msgstr "Maximum participations' number per person"
    3535
    36 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:158
     36#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:158
    3737msgid "Allowed ranks to participate"
    3838msgstr "Allowed ranks to participate"
    3939
    40 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:159
     40#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:159
    4141msgid "Administrator"
    4242msgstr "Administrator"
    4343
    44 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:160
     44#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:160
    4545msgid "Editor"
    4646msgstr "Editor"
    4747
    48 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:161
     48#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:161
    4949msgid "Author"
    5050msgstr "Author"
    5151
    52 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:162
     52#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:162
    5353msgid "Contributor"
    5454msgstr "Contributor"
    5555
    56 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:163
     56#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:163
    5757msgid "Subscriber"
    5858msgstr "Subscriber"
    5959
    60 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:164
     60#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:164
    6161msgid "Normal user"
    6262msgstr "Normal user"
    6363
    64 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:165
     64#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:165
    6565msgid "Automaticaly send a mail to winners"
    6666msgstr "Automaticaly send a mail to winners"
    6767
    68 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:166
    69 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:696
     68#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:166
     69#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:722
    7070msgid "Email's content (HTML possible)"
    7171msgstr "Email's content (HTML possible)"
    7272
    73 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:167
     73#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:167
    7474msgid "Contest type"
    7575msgstr "Contest type"
    7676
    77 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:168
    78 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:432
     77#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:168
     78#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:339
    7979msgid "Ok!"
    8080msgstr "Ok!"
    8181
    82 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:169
     82#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:169
    8383msgid "Normal contest (random winners)"
    8484msgstr "Normal contest (random winners)"
    8585
    86 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:170
     86#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:170
    8787msgid "Speed contest (first comments win)"
    8888msgstr "Speed contest (first comments win)"
    8989
    90 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:171
     90#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:171
    9191msgid "Number of different prizes"
    9292msgstr "Number of different prizes"
    9393
    94 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
     94#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
    9595msgid "Choose a post"
    9696msgstr "Choose a post"
    9797
    98 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
     98#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
    9999msgid "More..."
    100100msgstr "More..."
    101101
    102 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
     102#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
    103103msgid "No post found!"
    104104msgstr "No post found!"
    105105
    106 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:334
     106#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:287
     107msgid "comment(s)"
     108msgstr "comment(s)"
     109
     110#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:338
    107111msgid "Choose comments to include in the contest"
    108112msgstr "Choose comments to include in the contest"
    109113
    110 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:335
     114#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:340
     115msgid "No comment found!"
     116msgstr "No comment found!"
     117
     118#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:445
     119msgid "Prizes' choice"
     120msgstr "Prizes' choice"
     121
     122#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:446
    111123msgid "Launch the contest"
    112124msgstr "Launch the contest"
    113125
    114 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:336
    115 msgid "No comment found!"
    116 msgstr "No comment found!"
    117 
    118 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:431
    119 msgid "Prizes' choice"
    120 msgstr "Prizes' choice"
    121 
    122 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:433
     126#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:447
    123127msgid "Prize name:"
    124128msgstr "Prize name:"
    125129
    126 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:434
     130#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:448
    127131msgid "From"
    128132msgstr "From"
    129133
    130 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:435
     134#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:449
    131135msgid "to"
    132136msgstr "to"
    133137
    134 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:440
     138#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:456
    135139msgid "Please give all prizes!"
    136140msgstr "Please give all prizes!"
    137141
    138 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:443
     142#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:458
    139143msgid "Please check all places for each prize"
    140144msgstr "Please check all places for each prize"
    141145
    142 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:510
     146#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:460
     147msgid "Please give different name for each prize"
     148msgstr "Please give different name for each prize"
     149
     150#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:529
    143151msgid "Winners"
    144152msgstr "Winners"
    145153
    146 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:511
     154#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:530
    147155msgid "Comment"
    148156msgstr "Comment:"
    149157
    150 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:512
     158#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:531
    151159msgid "says"
    152160msgstr "says"
    153161
    154 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:513
     162#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:532
    155163msgid "You win a contest"
    156164msgstr "You win a contest"
    157165
    158 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:537
     166#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:556
    159167msgid "Prize won:"
    160168msgstr "Prize won:"
    161169
    162 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:570
     170#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:589
    163171msgid "List of all participants:"
    164172msgstr "List of all participants: "
    165173
    166 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:590
     174#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:610
    167175msgid "Choose comments"
    168176msgstr "Choose comments"
    169177
    170 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:601
     178#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:621
    171179msgid "Back"
    172180msgstr "Back"
    173181
    174 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:671
     182#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:697
    175183msgid "Please select one winner at least!"
    176184msgstr "Please select one winner at least!"
    177185
    178 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:674
     186#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:700
    179187msgid "Please select more participants than winners!"
    180188msgstr "Please select more participants than winners!"
    181189
    182 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:699
     190#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:725
    183191msgid "Please select one rank at least!"
    184192msgstr "Please select one rank at least!"
    185193
    186 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:702
     194#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:728
    187195msgid "Wrong winners format!"
    188196msgstr "Wrong winners format!"
    189197
    190 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:705
     198#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:731
    191199msgid "Wrong participations format!"
    192200msgstr "Wrong participations format!"
    193201
    194 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:708
     202#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:734
    195203msgid "Please change the email's content!"
    196204msgstr "Please change the email's content!"
    197205
    198 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:711
     206#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:737
    199207msgid "Wrong prizes number format! Or choose more winners than prizes!"
    200208msgstr "Wrong prizes number format! Or choose more winners than prizes!"
  • comment-contest/trunk/languages/commentContest-en_US.pot

    r154447 r164608  
    33"Project-Id-Version: Comment Contest\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-09-13 20:03+0100\n"
     5"POT-Creation-Date: 2009-10-18 17:40+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Zhykos <zhykos@nozzhy.com>\n"
     7"Last-Translator: Thomas Cicognani <zhykos@nozzhy.com>\n"
    88"Language-Team: Zhykos & Nozgarde <contact@nozzhy.com>\n"
    99"MIME-Version: 1.0\n"
     
    1616"X-Poedit-KeywordsList: __;_e;_c\n"
    1717"X-Poedit-Basepath: .\n"
    18 "X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress\\wp-content\\plugins\\comment-contest\n"
    19 
    20 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:95
     18"X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress\\wordpress\\wp-content\\plugins\\comment-contest\n"
     19
     20#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:95
    2121msgid "Comment Contest"
    2222msgstr "Comment Contest"
    2323
    24 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:155
     24#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:155
    2525msgid "Configure the contest"
    2626msgstr "Configure the contest"
    2727
    28 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:156
     28#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:156
    2929msgid "Winners' number"
    3030msgstr "Winners' number"
    3131
    32 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:157
     32#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:157
    3333msgid "Maximum participations' number per person"
    3434msgstr "Maximum participations' number per person"
    3535
    36 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:158
     36#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:158
    3737msgid "Allowed ranks to participate"
    3838msgstr "Allowed ranks to participate"
    3939
    40 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:159
     40#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:159
    4141msgid "Administrator"
    4242msgstr "Administrator"
    4343
    44 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:160
     44#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:160
    4545msgid "Editor"
    4646msgstr "Editor"
    4747
    48 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:161
     48#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:161
    4949msgid "Author"
    5050msgstr "Author"
    5151
    52 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:162
     52#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:162
    5353msgid "Contributor"
    5454msgstr "Contributor"
    5555
    56 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:163
     56#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:163
    5757msgid "Subscriber"
    5858msgstr "Subscriber"
    5959
    60 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:164
     60#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:164
    6161msgid "Normal user"
    6262msgstr "Normal user"
    6363
    64 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:165
     64#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:165
    6565msgid "Automaticaly send a mail to winners"
    6666msgstr "Automaticaly send a mail to winners"
    6767
    68 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:166
    69 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:696
     68#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:166
     69#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:722
    7070msgid "Email's content (HTML possible)"
    7171msgstr "Email's content (HTML possible)"
    7272
    73 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:167
     73#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:167
    7474msgid "Contest type"
    7575msgstr "Contest type"
    7676
    77 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:168
    78 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:432
     77#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:168
     78#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:339
    7979msgid "Ok!"
    8080msgstr "Ok!"
    8181
    82 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:169
     82#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:169
    8383msgid "Normal contest (random winners)"
    8484msgstr "Normal contest (random winners)"
    8585
    86 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:170
     86#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:170
    8787msgid "Speed contest (first comments win)"
    8888msgstr "Speed contest (first comments win)"
    8989
    90 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:171
     90#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:171
    9191msgid "Number of different prizes"
    9292msgstr "Number of different prizes"
    9393
    94 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
     94#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
    9595msgid "Choose a post"
    9696msgstr "Choose a post"
    9797
    98 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
     98#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
    9999msgid "More..."
    100100msgstr "More..."
    101101
    102 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
     102#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
    103103msgid "No post found!"
    104104msgstr "No post found!"
    105105
    106 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:334
     106#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:287
     107msgid "comment(s)"
     108msgstr "comment(s)"
     109
     110#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:338
    107111msgid "Choose comments to include in the contest"
    108112msgstr "Choose comments to include in the contest"
    109113
    110 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:335
     114#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:340
     115msgid "No comment found!"
     116msgstr "No comment found!"
     117
     118#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:445
     119msgid "Prizes' choice"
     120msgstr "Prizes' choice"
     121
     122#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:446
    111123msgid "Launch the contest"
    112124msgstr "Launch the contest"
    113125
    114 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:336
    115 msgid "No comment found!"
    116 msgstr "No comment found!"
    117 
    118 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:431
    119 msgid "Prizes' choice"
    120 msgstr "Prizes' choice"
    121 
    122 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:433
     126#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:447
    123127msgid "Prize name:"
    124128msgstr "Prize name:"
    125129
    126 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:434
     130#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:448
    127131msgid "From"
    128132msgstr "From"
    129133
    130 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:435
     134#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:449
    131135msgid "to"
    132136msgstr "to"
    133137
    134 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:440
     138#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:456
    135139msgid "Please give all prizes!"
    136140msgstr "Please give all prizes!"
    137141
    138 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:443
     142#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:458
    139143msgid "Please check all places for each prize"
    140144msgstr "Please check all places for each prize"
    141145
    142 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:510
     146#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:460
     147msgid "Please give different name for each prize"
     148msgstr "Please give different name for each prize"
     149
     150#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:529
    143151msgid "Winners"
    144152msgstr "Winners"
    145153
    146 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:511
     154#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:530
    147155msgid "Comment"
    148156msgstr "Comment:"
    149157
    150 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:512
     158#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:531
    151159msgid "says"
    152160msgstr "says"
    153161
    154 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:513
     162#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:532
    155163msgid "You win a contest"
    156164msgstr "You win a contest"
    157165
    158 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:537
     166#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:556
    159167msgid "Prize won:"
    160168msgstr "Prize won:"
    161169
    162 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:570
     170#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:589
    163171msgid "List of all participants:"
    164172msgstr "List of all participants: "
    165173
    166 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:590
     174#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:610
    167175msgid "Choose comments"
    168176msgstr "Choose comments"
    169177
    170 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:601
     178#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:621
    171179msgid "Back"
    172180msgstr "Back"
    173181
    174 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:671
     182#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:697
    175183msgid "Please select one winner at least!"
    176184msgstr "Please select one winner at least!"
    177185
    178 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:674
     186#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:700
    179187msgid "Please select more participants than winners!"
    180188msgstr "Please select more participants than winners!"
    181189
    182 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:699
     190#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:725
    183191msgid "Please select one rank at least!"
    184192msgstr "Please select one rank at least!"
    185193
    186 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:702
     194#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:728
    187195msgid "Wrong winners format!"
    188196msgstr "Wrong winners format!"
    189197
    190 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:705
     198#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:731
    191199msgid "Wrong participations format!"
    192200msgstr "Wrong participations format!"
    193201
    194 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:708
     202#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:734
    195203msgid "Please change the email's content!"
    196204msgstr "Please change the email's content!"
    197205
    198 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:711
     206#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:737
    199207msgid "Wrong prizes number format! Or choose more winners than prizes!"
    200208msgstr "Wrong prizes number format! Or choose more winners than prizes!"
  • comment-contest/trunk/languages/commentContest-fr_FR.po

    r154447 r164608  
    33"Project-Id-Version: Comment Contest\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-09-13 20:04+0100\n"
     5"POT-Creation-Date: 2009-10-18 17:39+0100\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Zhykos <zhykos@nozzhy.com>\n"
     7"Last-Translator: Thomas Cicognani <zhykos@nozzhy.com>\n"
    88"Language-Team: Zhykos & Nozgarde <contact@nozzhy.com>\n"
    99"MIME-Version: 1.0\n"
     
    1616"X-Poedit-KeywordsList: __;_e;_c\n"
    1717"X-Poedit-Basepath: .\n"
    18 "X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress\\wp-content\\plugins\\comment-contest\n"
    19 
    20 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:95
     18"X-Poedit-SearchPath-0: C:\\wamp\\www\\wordpress\\wordpress\\wp-content\\plugins\\comment-contest\n"
     19
     20#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:95
    2121msgid "Comment Contest"
    2222msgstr "Comment Contest"
    2323
    24 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:155
     24#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:155
    2525msgid "Configure the contest"
    2626msgstr "Configurations du tirage au sort"
    2727
    28 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:156
     28#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:156
    2929msgid "Winners' number"
    3030msgstr "Nombre de gagnants "
    3131
    32 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:157
     32#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:157
    3333msgid "Maximum participations' number per person"
    3434msgstr "Nombre maximum de participations par personne "
    3535
    36 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:158
     36#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:158
    3737msgid "Allowed ranks to participate"
    3838msgstr "Rangs autoris&eacute;s pour participation "
    3939
    40 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:159
     40#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:159
    4141msgid "Administrator"
    4242msgstr "Administrateur"
    4343
    44 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:160
     44#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:160
    4545msgid "Editor"
    4646msgstr "&Eacute;diteur"
    4747
    48 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:161
     48#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:161
    4949msgid "Author"
    5050msgstr "Auteur"
    5151
    52 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:162
     52#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:162
    5353msgid "Contributor"
    5454msgstr "Contributeur"
    5555
    56 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:163
     56#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:163
    5757msgid "Subscriber"
    5858msgstr "Abonn&eacute;"
    5959
    60 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:164
     60#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:164
    6161msgid "Normal user"
    6262msgstr "Utilisateur normal"
    6363
    64 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:165
     64#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:165
    6565msgid "Automaticaly send a mail to winners"
    6666msgstr "Envoyer automatiquement un email aux gagnants"
    6767
    68 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:166
    69 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:696
     68#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:166
     69#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:722
    7070msgid "Email's content (HTML possible)"
    7171msgstr "Contenu de l'email (HTML possible)"
    7272
    73 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:167
     73#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:167
    7474msgid "Contest type"
    7575msgstr "Type de concours"
    7676
    77 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:168
    78 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:432
     77#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:168
     78#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:339
    7979msgid "Ok!"
    8080msgstr "Ok !"
    8181
    82 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:169
     82#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:169
    8383msgid "Normal contest (random winners)"
    8484msgstr "Concours normal (gagnants aléatoire)"
    8585
    86 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:170
     86#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:170
    8787msgid "Speed contest (first comments win)"
    8888msgstr "Concours rapide (les premiers commentaires gagnent)"
    8989
    90 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:171
     90#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:171
    9191msgid "Number of different prizes"
    92 msgstr "Nombre de lots à gagner"
    93 
    94 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
     92msgstr "Nombre de lots différents à gagner"
     93
     94#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
    9595msgid "Choose a post"
    9696msgstr "Choisir un article"
    9797
    98 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
     98#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
    9999msgid "More..."
    100100msgstr "Plus..."
    101101
    102 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
     102#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
    103103msgid "No post found!"
    104104msgstr "Aucun article !"
    105105
    106 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:334
     106#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:287
     107msgid "comment(s)"
     108msgstr "commentaire(s)"
     109
     110#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:338
    107111msgid "Choose comments to include in the contest"
    108112msgstr "Choisir les commentaires &agrave; inclure dans le concours"
    109113
    110 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:335
     114#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:340
     115msgid "No comment found!"
     116msgstr "Aucun commentaire !"
     117
     118#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:445
     119msgid "Prizes' choice"
     120msgstr "Choix des lots"
     121
     122#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:446
    111123msgid "Launch the contest"
    112124msgstr "Lancer le tirage au sort"
    113125
    114 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:336
    115 msgid "No comment found!"
    116 msgstr "Aucun commentaire !"
    117 
    118 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:431
    119 msgid "Prizes' choice"
    120 msgstr "Choix des lots"
    121 
    122 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:433
     126#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:447
    123127msgid "Prize name:"
    124128msgstr "Nom du lot :"
    125129
    126 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:434
     130#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:448
    127131msgid "From"
    128132msgstr "De"
    129133
    130 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:435
     134#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:449
    131135msgid "to"
    132136msgstr "à"
    133137
    134 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:440
     138#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:456
    135139msgid "Please give all prizes!"
    136140msgstr "Veuillez préciser tous les lots !"
    137141
    138 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:443
     142#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:458
    139143msgid "Please check all places for each prize"
    140144msgstr "Veuillez vérifier toutes les places pour chaque lot !"
    141145
    142 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:510
     146#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:460
     147msgid "Please give different name for each prize"
     148msgstr "Veuillez donner un nom différent pour chaque lot"
     149
     150#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:529
    143151msgid "Winners"
    144152msgstr "Les gagnants"
    145153
    146 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:511
     154#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:530
    147155msgid "Comment"
    148156msgstr "Commentaire de"
    149157
    150 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:512
     158#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:531
    151159msgid "says"
    152160msgstr "avec"
    153161
    154 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:513
     162#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:532
    155163msgid "You win a contest"
    156164msgstr "Vous avez gagné un concours"
    157165
    158 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:537
     166#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:556
    159167msgid "Prize won:"
    160168msgstr "Lot gagné :"
    161169
    162 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:570
     170#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:589
    163171msgid "List of all participants:"
    164172msgstr "Liste des participants au concours :"
    165173
    166 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:590
     174#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:610
    167175msgid "Choose comments"
    168176msgstr "Rechoisir les commentaires"
    169177
    170 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:601
     178#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:621
    171179msgid "Back"
    172180msgstr "Retour au d&eacute;but"
    173181
    174 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:671
     182#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:697
    175183msgid "Please select one winner at least!"
    176184msgstr "Veuillez s&eacute;lectionner au moins un gagnant !"
    177185
    178 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:674
     186#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:700
    179187msgid "Please select more participants than winners!"
    180188msgstr "Veuillez s&eacute;lectionner plus de participants que de gagnants !"
    181189
    182 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:699
     190#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:725
    183191msgid "Please select one rank at least!"
    184192msgstr "Veuillez s&eacute;lectionner au moins un rang !"
    185193
    186 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:702
     194#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:728
    187195msgid "Wrong winners format!"
    188196msgstr "Veuillez sp&eacute;cifier un nombre correct de gagnants !"
    189197
    190 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:705
     198#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:731
    191199msgid "Wrong participations format!"
    192200msgstr "Veuillez sp&eacute;cifier un nombre correct de participations !"
    193201
    194 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:708
     202#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:734
    195203msgid "Please change the email's content!"
    196204msgstr "Veuillez changer le contenu de l'email"
    197205
    198 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:711
     206#: C:\wamp\www\wordpress\wordpress\wp-content\plugins\comment-contest/comment-contest.php:737
    199207msgid "Wrong prizes number format! Or choose more winners than prizes!"
    200 msgstr "Mauvais format pour les places !"
    201 
     208msgstr "Mauvais format pour le nombre de prix ! Ou choisissez plus de gagnants que de prix !"
     209
  • comment-contest/trunk/readme.txt

    r154447 r164608  
    6666* Change error message display (now it's the same message as Wordpress). Old values are put in the fields so the user don't have to type again the values
    6767* New winners display
     68
     69= 1.35 =
     70* Only display posts with comments
     71* BUG FIX : Simple and double quotes protected because if a pseudo contains quotes, some query bug (thanks to Kamel from www.yoocom.fr)
     72* BUG FIX : Change the place of a check value (bug if the value was null)
     73* Different names check for prizes and code optimization
     74* Remove case sensitive sort for displaying all the participants
     75* Change error message format in certain cases
     76* Change localization message in French
Note: See TracChangeset for help on using the changeset viewer.