Plugin Directory

Changeset 152584


Ignore:
Timestamp:
09/06/2009 07:57:46 PM (17 years ago)
Author:
zhykos
Message:

Version 1.1.1b : Send email to winners

Location:
comment-contest/trunk
Files:
11 edited

Legend:

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

    r151978 r152584  
    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.1.0.1
     7Version: 1.1.1b
    88Author URI: http://www.nozzhy.com
    99*/
     
    1616class CommentContest {
    1717    var $domain = '';
    18     var $version = '1.1.0.1'; // Current version
     18    var $version = '1.1.1b'; // Current version
    1919    var $option_ns = '';
    2020    var $options = array ();
     
    136136        $subscriber = __("Subscriber", $this->localizationName);
    137137        $user = __("Normal user", $this->localizationName);
     138        $sendmail = __("Automaticaly send a mail to winners", $this->localizationName);
     139        $mailcontent = __("Email's content", $this->localizationName);
    138140        $ok = __("Ok!", $this->localizationName);
    139141       
     
    142144        $winnersNumber: <input type='text' name='winners' value='2' /><br />
    143145        $participationsNumber: <input type='text' name='number' value='1' /><br />
    144         <table>
     146        <table style='margin-left: -2px'>
    145147            <tr style='vertical-align: top'>
    146148                <td>$allowedRanks:</td>
     
    155157            </tr>
    156158        </table>
    157         <br /><input type='submit' name='features' value='$ok' /></form>";
     159        <br />
     160        <input type='checkbox' name='sendmail' /> $sendmail<br />
     161        <textarea name='mailcontent' rols='10' cols='40'>$mailcontent</textarea>
     162        <br /><br /><input type='submit' name='features' value='$ok' /></form>";
    158163    }
    159164   
     
    166171     * @param $numParticipation The participation's number for each person
    167172     */
    168     private function choosePost($currentPage, $ranks, $numWinners, $numParticipation) {
     173    private function choosePost($currentPage, $ranks, $numWinners, $numParticipation, $email) {
    169174        global $wpdb;
    170175        $maxArticles = 20;
     
    187192            <input type='hidden' name='numWinners' value='$numWinners' />
    188193            <input type='hidden' name='numParticipation' value='$numParticipation' />
     194            <input type='hidden' name='email' value='$email' />
    189195            <input type='hidden' name='postnumber' id='postnumber' value='' /></form>";
    190196            if (count ( $posts ) > $maxArticles) {
     
    204210     * @param $numParticipation The participation's number for each person
    205211     */
    206     private function chooseComments($idPost, $ranks, $numWinners, $numParticipation) {
     212    private function chooseComments($idPost, $ranks, $numWinners, $numParticipation, $email) {
    207213        global $wpdb;
    208214       
     
    266272            <input type='hidden' name='numWinners' value='$numWinners' />
    267273            <input type='hidden' name='numParticipation' value='$numParticipation' />
     274            <input type='hidden' name='email' value='$email' />
    268275            <input type='submit' value='$launchContest' /></form>";
    269276        } else {
     
    279286     * @param $numParticipation The participation's number for each person
    280287     */
    281     private function displayWinners($comments, $numWinners, $numParticipation) {
     288    private function displayWinners($comments, $numWinners, $numParticipation, $email) {
    282289        global $wpdb;
    283290       
     
    285292        $commentWord = __("Comment", $this->localizationName);
    286293        $say = __("says", $this->localizationName);
     294        $winSubject = __("You win a contest", $this->localizationName);
     295       
     296        $blogname = get_option('blogname');
     297        $adminEmail = get_option("admin_email");
     298        $siteUrl = get_option("siteurl");
     299       
     300        $message_headers = "From: $adminEmail\n"
     301            . "Content-Type: text/html; charset=\"" . get_option('blog_charset') . "\"\n"
     302            . "Reply-To: $adminEmail\n";
    287303       
    288304        $tab = null;
     
    306322                $author = $from;
    307323                echo "<strong>$commentWord</strong> $from <strong>$say</strong> $c->comment_content <br /><br />";
     324                if($email != null) {
     325                    @wp_mail($c->comment_author_email, $winSubject, base64_decode($email), $message_headers);
     326                }
    308327            }
    309328           
     
    330349            <input type='hidden' name='numWinners' value='$args[3]' />
    331350            <input type='hidden' name='numParticipation' value='$args[4]' />
     351            <input type='hidden' name='numParticipation' value='$args[5]' />
    332352            <input type='submit' value='$chooseComment' /></form>" );
    333353        } elseif ($args [0] == 'home') {
     
    343363    function AdminHelpPage() {
    344364        if (isset ( $_POST ['postnumber'] )) { // Step 3 : Choose comments
    345             $this->chooseComments ( $_POST ['postnumber'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'] );
     365            $this->chooseComments ( $_POST ['postnumber'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'] );
     366
     367// ---------------------------------------------------------------------------------
     368
    346369        } elseif (isset ( $_POST ['post'] )) { // Step 4 : Display winners
    347370            $comments = $_POST ['comments'];
     
    349372            if ($comments == null || count ( $comments ) == 0) {
    350373                $selectOneWinner = __("Please select one winner at least!", $this->localizationName);
    351                 $this->error ( $selectOneWinner, array ("post", $_POST ['post'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'] ) );
     374                $this->error ( $selectOneWinner, array ("post", $_POST ['post'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'] ) );
    352375            } elseif (count ( $comments ) <= $_POST ['numWinners']) {
    353376                $selectMoreWinner = __("Please select more participants than winners!", $this->localizationName);
    354                 $this->error ( $selectMoreWinner, array ("post", $_POST ['post'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'] ) );
     377                $this->error ( $selectMoreWinner, array ("post", $_POST ['post'], $_POST ['rank'], $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'] ) );
    355378            } else {
    356                 $this->displayWinners ( $comments, $_POST ['numWinners'], $_POST ['numParticipation'] );
    357             }
     379                $this->displayWinners ( $comments, $_POST ['numWinners'], $_POST ['numParticipation'], $_POST ['email'] );
     380            }
     381           
     382// ---------------------------------------------------------------------------------
     383
    358384        } elseif (isset ( $_POST ['features'] ) || isset ( $_GET ['pagepost'] )) { // Step 2 : Choose an article
    359385            // Change the page if needed
     
    364390            $numWinners = intval ( $_POST ['winners'] );
    365391            $numParticipation = intval ( $_POST ['number'] );
     392            if(isset($_POST['sendmail'])) {
     393                $email = base64_encode($_POST['sendmail']);
     394            } else {
     395                $email = null;
     396            }
     397           
     398            $emailContentTest = __("Email's content", $this->localizationName);
     399           
    366400            if (count ( $_POST ['rank'] ) == 0) {
    367401                $selectOneRank = __("Please select one rank at least!", $this->localizationName);
    368                 $this->error ( $selectOneRank, array ("home" ) );
     402                $this->error ( $selectOneRank, array ("home") );
    369403            } elseif ($numWinners == null || $numWinners <= 0) {
    370404                $winnerFormat = __("Wrong winners format!", $this->localizationName);
    371                 $this->error ( $winnerFormat, array ("home" ) );
     405                $this->error ( $winnerFormat, array ("home") );
    372406            } elseif ($numParticipation == null || $numParticipation <= 0) {
    373407                $participationsFormat = __("Wrong participations format!", $this->localizationName);
    374                 $this->error ( $participationsFormat, array ("home" ) );
     408                $this->error ( $participationsFormat, array ("home") );
     409            } elseif($email == $emailContentTest) {
     410                $emailContentError = __("Please change the email's content!", $this->localizationName);
     411                $this->error ( $emailContentError, array ("home") );
    375412            } else {
    376                 $this->choosePost ( $page, implode ( ",", $_POST ['rank'] ), $numWinners, $numParticipation );
    377             }
     413                $this->choosePost ( $page, implode ( ",", $_POST ['rank'] ), $numWinners, $numParticipation, $email );
     414            }
     415           
     416// ---------------------------------------------------------------------------------
     417
    378418        } else { // Step 1 : Configure the contest
    379419            $this->configure ();
  • comment-contest/trunk/languages/commentContest-en_US.po

    r151977 r152584  
    33"Project-Id-Version: Comment Contest\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-09-04 15:23+0100\n"
     5"POT-Creation-Date: 2009-09-06 21:51+0100\n"
    66"PO-Revision-Date: \n"
    77"Last-Translator: Zhykos <zhykos@nozzhy.com>\n"
     
    6363
    6464#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:138
     65msgid "Automaticaly send a mail to winners"
     66msgstr "Automaticaly send a mail to winners"
     67
     68#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:139
     69#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:398
     70msgid "Email's content"
     71msgstr "Email's content"
     72
     73#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:140
    6574msgid "Ok!"
    6675msgstr "Ok!"
    6776
    68 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:172
     77#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:177
    6978msgid "Choose a post"
    7079msgstr "Choose a post"
    7180
    72 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:173
     81#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:178
    7382msgid "More..."
    7483msgstr "More..."
    7584
    76 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:174
     85#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:179
    7786msgid "No post found!"
    7887msgstr "No post found!"
    7988
    80 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:209
     89#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:215
    8190msgid "Choose comments to include in the contest"
    8291msgstr "Choose comments to include in the contest"
    8392
    84 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:210
     93#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:216
    8594msgid "Launch the contest"
    8695msgstr "Launch the contest"
    8796
    88 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:211
     97#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:217
    8998msgid "No comment found!"
    9099msgstr "No comment found!"
    91100
    92 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
     101#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:291
    93102msgid "Winners"
    94103msgstr "Winners"
    95104
    96 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
     105#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:292
    97106msgid "Comment"
    98107msgstr "Comment:"
    99108
    100 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
     109#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:293
    101110msgid "says"
    102111msgstr "says"
    103112
    104 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:324
     113#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:294
     114msgid "You win a contest"
     115msgstr "You win a contest"
     116
     117#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:343
    105118msgid "Choose comments"
    106119msgstr "Choose comments"
    107120
    108 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:334
     121#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:354
    109122msgid "Back"
    110123msgstr "Back"
    111124
    112 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:350
     125#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:373
    113126msgid "Please select one winner at least!"
    114127msgstr "Please select one winner at least!"
    115128
    116 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:353
     129#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:376
    117130msgid "Please select more participants than winners!"
    118131msgstr "Please select more participants than winners!"
    119132
    120 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:367
     133#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:401
    121134msgid "Please select one rank at least!"
    122135msgstr "Please select one rank at least!"
    123136
    124 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:370
     137#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:404
    125138msgid "Wrong winners format!"
    126139msgstr "Wrong winners format!"
    127140
    128 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:373
     141#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:407
    129142msgid "Wrong participations format!"
    130143msgstr "Wrong participations format!"
    131144
     145#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:410
     146msgid "Please change the email's content!"
     147msgstr "Please change the email's content!"
     148
  • comment-contest/trunk/languages/commentContest-en_US.pot

    r151977 r152584  
    33"Project-Id-Version: Comment Contest\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-09-04 15:23+0100\n"
     5"POT-Creation-Date: 2009-09-06 21:51+0100\n"
    66"PO-Revision-Date: \n"
    77"Last-Translator: Zhykos <zhykos@nozzhy.com>\n"
     
    6363
    6464#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:138
     65msgid "Automaticaly send a mail to winners"
     66msgstr "Automaticaly send a mail to winners"
     67
     68#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:139
     69#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:398
     70msgid "Email's content"
     71msgstr "Email's content"
     72
     73#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:140
    6574msgid "Ok!"
    6675msgstr "Ok!"
    6776
    68 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:172
     77#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:177
    6978msgid "Choose a post"
    7079msgstr "Choose a post"
    7180
    72 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:173
     81#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:178
    7382msgid "More..."
    7483msgstr "More..."
    7584
    76 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:174
     85#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:179
    7786msgid "No post found!"
    7887msgstr "No post found!"
    7988
    80 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:209
     89#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:215
    8190msgid "Choose comments to include in the contest"
    8291msgstr "Choose comments to include in the contest"
    8392
    84 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:210
     93#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:216
    8594msgid "Launch the contest"
    8695msgstr "Launch the contest"
    8796
    88 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:211
     97#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:217
    8998msgid "No comment found!"
    9099msgstr "No comment found!"
    91100
    92 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
     101#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:291
    93102msgid "Winners"
    94103msgstr "Winners"
    95104
    96 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
     105#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:292
    97106msgid "Comment"
    98107msgstr "Comment:"
    99108
    100 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
     109#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:293
    101110msgid "says"
    102111msgstr "says"
    103112
    104 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:324
     113#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:294
     114msgid "You win a contest"
     115msgstr "You win a contest"
     116
     117#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:343
    105118msgid "Choose comments"
    106119msgstr "Choose comments"
    107120
    108 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:334
     121#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:354
    109122msgid "Back"
    110123msgstr "Back"
    111124
    112 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:350
     125#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:373
    113126msgid "Please select one winner at least!"
    114127msgstr "Please select one winner at least!"
    115128
    116 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:353
     129#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:376
    117130msgid "Please select more participants than winners!"
    118131msgstr "Please select more participants than winners!"
    119132
    120 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:367
     133#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:401
    121134msgid "Please select one rank at least!"
    122135msgstr "Please select one rank at least!"
    123136
    124 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:370
     137#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:404
    125138msgid "Wrong winners format!"
    126139msgstr "Wrong winners format!"
    127140
    128 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:373
     141#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:407
    129142msgid "Wrong participations format!"
    130143msgstr "Wrong participations format!"
    131144
     145#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:410
     146msgid "Please change the email's content!"
     147msgstr "Please change the email's content!"
     148
  • comment-contest/trunk/languages/commentContest-fr_FR.po

    r151977 r152584  
    33"Project-Id-Version: Comment Contest\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2009-09-04 15:23+0100\n"
     5"POT-Creation-Date: 2009-09-06 21:52+0100\n"
    66"PO-Revision-Date: \n"
    77"Last-Translator: Zhykos <zhykos@nozzhy.com>\n"
     
    6363
    6464#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:138
     65msgid "Automaticaly send a mail to winners"
     66msgstr "Envoyer automatiquement un email aux gagnants"
     67
     68#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:139
     69#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:398
     70msgid "Email's content"
     71msgstr "Contenu de l'email"
     72
     73#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:140
    6574msgid "Ok!"
    6675msgstr "Ok !"
    6776
    68 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:172
     77#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:177
    6978msgid "Choose a post"
    7079msgstr "Choisir un article"
    7180
    72 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:173
     81#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:178
    7382msgid "More..."
    7483msgstr "Plus..."
    7584
    76 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:174
     85#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:179
    7786msgid "No post found!"
    7887msgstr "Aucun article !"
    7988
    80 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:209
     89#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:215
    8190msgid "Choose comments to include in the contest"
    8291msgstr "Choisir les commentaires &agrave; inclure dans le concours"
    8392
    84 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:210
     93#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:216
    8594msgid "Launch the contest"
    8695msgstr "Lancer le tirage au sort"
    8796
    88 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:211
     97#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:217
    8998msgid "No comment found!"
    9099msgstr "Aucun commentaire !"
    91100
    92 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:284
     101#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:291
    93102msgid "Winners"
    94103msgstr "Les gagnants"
    95104
    96 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:285
     105#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:292
    97106msgid "Comment"
    98107msgstr "Commentaire de"
    99108
    100 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:286
     109#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:293
    101110msgid "says"
    102111msgstr "avec"
    103112
    104 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:324
     113#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:294
     114msgid "You win a contest"
     115msgstr "Vous avez gagné un concours"
     116
     117#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:343
    105118msgid "Choose comments"
    106119msgstr "Rechoisir les commentaires"
    107120
    108 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:334
     121#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:354
    109122msgid "Back"
    110123msgstr "Retour au d&eacute;but"
    111124
    112 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:350
     125#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:373
    113126msgid "Please select one winner at least!"
    114127msgstr "Veuillez s&eacute;lectionner au moins un gagnant !"
    115128
    116 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:353
     129#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:376
    117130msgid "Please select more participants than winners!"
    118131msgstr "Veuillez s&eacute;lectionner plus de participants que de gagnants !"
    119132
    120 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:367
     133#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:401
    121134msgid "Please select one rank at least!"
    122135msgstr "Veuillez s&eacute;lectionner au moins un rang !"
    123136
    124 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:370
     137#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:404
    125138msgid "Wrong winners format!"
    126139msgstr "Veuillez sp&eacute;cifier un nombre correct de gagnants !"
    127140
    128 #: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:373
     141#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:407
    129142msgid "Wrong participations format!"
    130143msgstr "Veuillez sp&eacute;cifier un nombre correct de participations !"
    131144
     145#: C:\wamp\www\wordpress\wp-content\plugins\comment-contest/comment-contest.php:410
     146msgid "Please change the email's content!"
     147msgstr "Veuillez changer le contenu de l'email"
     148
  • comment-contest/trunk/readme.txt

    r151978 r152584  
    4444= 1.1.0.1 =
    4545* Remove "plugin only in french" in a comment
     46
     47= 1.1.1b =
     48* Send a mail to the winners at the end. You can choose to do so or not (not tested yet)
Note: See TracChangeset for help on using the changeset viewer.