Fork me on GitHub

Rapport de message :*
 

Re: Xoopspoll 1.33

Titre du sujet : Re: Xoopspoll 1.33
par ON2AT sur 14/12/2014 13:17:41

Citation :
montuy337513 a écrit :
manque les define dans la version française du module (enfin cela y ressemble)

suffit d'ouvrir le fichier ./language/english/main.php

de repérer les lignes contenant
_PL_TOTALVOTES
_PL_TOTALVOTERS

puis de les copier dans .language/french/main.php, sans oublier de les traduire


Bonjour montuy337513, Jai vérifier le fichier " main.php " que vous m'avez dis mais moi je voie rien d’anormale

main.php français
<?php
// $Id$

//%%%%%%    File Name pollresults.php     %%%%%
define("_PL_TOTALVOTES","Total des Votes : %s");
define("_PL_TOTALVOTERS","Total des Votants : %s");

//%%%%%%    File Name index.php     %%%%%
define("_PL_POLLSLIST","Liste des sondages");
define("_PL_ALREADYVOTED""Désolé, vous avez déjà voté une fois.");
define("_PL_THANKSFORVOTE","Merci pour votre vote !");
define("_PL_SORRYEXPIRED""Désolé, mais le sondage a expiré.");
define("_PL_YOURPOLLAT""%s, votre sondage sur %s"); // 1st %s is user name, 2nd %s is site name
define("_PL_PREV""Précédent");
define("_PL_NEXT""Suivant");
define("_PL_POLLQUESTION""Question du sondage");
define("_PL_VOTERS""Nombre total de votants");
define("_PL_VOTES""Total de votes");
define("_PL_EXPIRATION""Expiration");
define("_PL_EXPIRED""Expiré");
define("_PL_MUSTLOGIN""Désolé, mais vous devez vous connecter pour voter à ce sondage.");

//%%%%%%    File Name xoopspollrenderer.php     %%%%%
// %s represents date
define("_PL_ENDSAT","Se termine le %s");
define("_PL_ENDEDAT","S'est terminé à %s");
define("_PL_VOTE","Votez !");
define("_PL_RESULTS","Résultats");
// 1.32
//file /admin/index.php
define("_MD_XOOPSPOLL_DASHBOARD","Tableau de bord des sondages de Xoops");
define("_MD_XOOPSPOLL_TOTALPOLLS","Total des sondages : <strong>%s</strong> ");
define("_MD_XOOPSPOLL_TOTALACTIVE","Sondages actifs : <strong>%s</strong> ");
define("_MD_XOOPSPOLL_TOTALNONACTIVE","Sondages expirés : <strong>%s</strong> ");


Si on peut me dire quoi corriger?

Et voici se luis en anglais

main.php anglais
<?php
/**
 * Main Definitions
 *
 * @package::    xoopspoll
 * @subpackage:: defines
 * @version::    $Id: main.php 12482 2014-04-25 12:08:17Z beckmi $
 */

/**
 *     File Name pollresults.php
 */
define('_MD_XOOPSPOLL_TOTALVOTES'"Total Votes: %s");
define('_MD_XOOPSPOLL_TOTALVOTERS'"Total Voters: %s");

/**
 * File Name index.php
 */
define('_MD_XOOPSPOLL_POLLSLIST'"Polls List");
define('_MD_XOOPSPOLL_ALREADYVOTED'"Sorry, you have already voted once.");
define('_MD_XOOPSPOLL_THANKSFORVOTE'"Thanks for your vote!");
define('_MD_XOOPSPOLL_SORRYEXPIRED'"Sorry, but the poll has expired.");
define('_MD_XOOPSPOLL_YOURPOLLAT'"%s, your poll at %s"); // 1st %s is user name, 2nd %s is site name
define('_MD_XOOPSPOLL_PREV'"Previous");
define('_MD_XOOPSPOLL_NEXT'"Next");
define('_MD_XOOPSPOLL_POLLQUESTION'"Poll Question");
define('_MD_XOOPSPOLL_VOTERS'"Total voters");
define('_MD_XOOPSPOLL_VOTES'"Total votes");
define('_MD_XOOPSPOLL_EXPIRATION'"Expiration");
define('_MD_XOOPSPOLL_EXPIRED'"Expired");
define('_MD_XOOPSPOLL_MUSTLOGIN'"Sorry, but you must log in to vote in this poll.");

/**
 * File Name xoopspollrenderer.php
 */
// %s represents date
define('_MD_XOOPSPOLL_HIDE_ENDSAT'"Ends at %s");
define('_MD_XOOPSPOLL_HIDE_ENDEDAT'"Ended at %s");
define('_MD_XOOPSPOLL_STARTSAT'"Starts at %s");
define('_MD_XOOPSPOLL_VOTE'"Vote");
define('_MD_XOOPSPOLL_RESULTS'"Results");

// 1.32

/**
 * File name /admin/index.php
 */
define('_MD_XOOPSPOLL_DASHBOARD'"Xoops Polls Dashboard");
define('_MD_XOOPSPOLL_TOTALPOLLS'"Total Polls: <strong>%s</strong> ");
define('_MD_XOOPSPOLL_TOTALACTIVE'"Active Polls: <strong>%s</strong> ");
define('_MD_XOOPSPOLL_TOTALWAITING'"Polls not Started: <strong>%s</strong> ");
define('_MD_XOOPSPOLL_TOTALEXPIRED'"Expired Polls: <strong>%s</strong> ");

// 1.40
define('_MD_XOOPSPOLL_VOTE_NOW'"Click here to vote now!");
define('_MD_XOOPSPOLL_ERROR_INVALID_POLLID'"Invalid Poll ID, please try again.");
define('_MD_XOOPSPOLL_CANNOTVOTE'"Sorry, but you are not allowed to vote in this poll.");
define('_MD_XOOPSPOLL_HIDE_NEVER'"never hide results");
define('_MD_XOOPSPOLL_HIDE_ALWAYS'"always hide results");
define('_MD_XOOPSPOLL_HIDE_VOTED'"hide results until after voting");
define('_MD_XOOPSPOLL_HIDE_END'"hide results until poll expires");
define('_MD_XOOPSPOLL_HIDE_ALWAYS_MSG'"The results of this poll are private and are not visible.");
define('_MD_XOOPSPOLL_HIDE_VOTED_MSG'"The results of this poll are only visible after you have voted.");
define('_MD_XOOPSPOLL_HIDE_END_MSG'"The results of this poll are only visible after the poll has ended.");
define('_MD_XOOPSPOLL_YOURVOTEAT'"%s, your vote at %s"); // 1st %s is user name, 2nd %s is site name
define('_MD_XOOPSPOLL_VOTE_ERROR'"There was a problem registering your vote. Please try again.");
define('_MD_XOOPSPOLL_MULTITEXT'"Please select a max. of %d items");
define('_MD_XOOPSPOLL_OBSCURED'"Hidden");

//Mail Voter
define('_MD_XOOPSPOLL_ENDED_AT'"The poll ended on %s.");
define('_MD_XOOPSPOLL_ENDS_ON'"Voting in the poll ends on %s.");
define('_MD_XOOPSPOLL_SEE_AT'"You can see the results of the poll at:");
define('_MD_XOOPSPOLL_SEE_AFTER'"You will be able to see the results of the vote once it ends at:");

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

94 Personne(s) en ligne (77 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 94 | Plus ...