Skip to content

Commit

Permalink
translations/fr.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Quoc Dat Pham committed Jun 22, 2017
1 parent 86a42a8 commit 532176c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/lemonway/lemonway.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,20 +547,20 @@ protected function renderForm($type)
);
$inputArr = $baseFrom['form']['input'];

array_splice($inputArr, 2,0,array($fieldPaymentProfile));
array_splice($inputArr, 2, 0, array($fieldPaymentProfile));

$baseFrom['form']['input'] = $inputArr;

//Create description
$cronUrl = $this->context->link->getModuleLink('lemonway', 'cron', array(), true);
$description = sprintf($this->l('To use split payment, you need to schedule a cron task to perform a request on %s.') ,$cronUrl);
$description .= '<br />' . sprintf($this->l('E.g: "0 1 * * * wget %s". Execute a request every day at one o\'clock.'),$cronUrl);
$baseFrom['form'] = array('description'=>$description) + $baseFrom['form'];
$description = $this->l('To use split payment, you need to schedule a cron task to perform a request on ') . sprintf('<a href="%s">%s</a>', $cronUrl, $cronUrl) . '<br/>';
$description .= sprintf('E.g: "0 1 * * * wget <a href="%s">%s</a>". ', $cronUrl, $cronUrl) . $this->l('Execute a request every day at 1h00');
$baseFrom['form'] = array('description' => $description) + $baseFrom['form'];

if(!count($splitpaymentProfiles)){
$adminSplitPaymentTabUrl = $this->context->link->getAdminLink('AdminSplitpaymentProfile', true);
$warningMessage = sprintf('<a href="%s">'.$this->l('To use this method you need to create a split payment profile !').'</a>',$adminSplitPaymentTabUrl);
$baseFrom['form'] = array('warning'=>$warningMessage) + $baseFrom['form'];
$warningMessage = sprintf('<a href="%s">'.$this->l('To use this method you need to create a split payment profile').'</a>',$adminSplitPaymentTabUrl);
$baseFrom['form'] = array('warning' => $warningMessage) + $baseFrom['form'];
}

$form = $helper->generateForm(array(
Expand Down
6 changes: 3 additions & 3 deletions src/lemonway/translations/fr.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
$_MODULE['<{lemonway}prestashop>lemonway_3ec78e599a31cf0c4bbfdcda4945eb95'] = 'Sélectionnez les profiles de paiement en plusieurs autorisés';
$_MODULE['<{lemonway}prestashop>lemonway_a7dd12b1dab17d25467b0b0a4c8d4a92'] = 'voir';
$_MODULE['<{lemonway}prestashop>lemonway_a88f05b6c963e145a45b58c47cd42a41'] = 'caché';
$_MODULE['<{lemonway}prestashop>lemonway_8955a17603ed4b784c6cc6d40911908b'] = 'Pour utiliser le paiement en plusieurs fois, vous devez planifier une tâche qui exécute une requête sur l\'url: %s';
$_MODULE['<{lemonway}prestashop>lemonway_08814039e411d495f94c24caafb3007e'] = 'Ex: \"0 1 * * * wget %s\". Exécute le paiement tout les jours à 01H00.';
$_MODULE['<{lemonway}prestashop>lemonway_462204574e3863350483c39aefe596e3'] = 'Pour pouvoir utiliser cette méthode de paiement, vous devez créer un profil de paiement en plusieurs fois!';
$_MODULE['<{lemonway}prestashop>lemonway_8dc846c690303730259c30040ba3cd40'] = 'Pour utiliser le paiement en plusieurs fois, vous devez planifier une tâche qui exécute une requête sur ';
$_MODULE['<{lemonway}prestashop>lemonway_7d98ef458ee43a7f0f1fe1d992161b12'] = 'Exécute le paiement tout les jours à 01H00';
$_MODULE['<{lemonway}prestashop>lemonway_f5e101edb3477d7ab21ca54dc30e7850'] = 'Pour pouvoir utiliser cette méthode de paiement, vous devez créer un profil de paiement en plusieurs fois';
$_MODULE['<{lemonway}prestashop>lemonway_ef42b45e537fd01fc8e8a171abca37a1'] = 'Activer le Oneclic';
$_MODULE['<{lemonway}prestashop>lemonway_232e83990ee67300ea0848aae6e7d831'] = 'Affiche le formulaire Oneclic sur la page des méthodes de paiements';
$_MODULE['<{lemonway}prestashop>lemonway_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé';
Expand Down

0 comments on commit 532176c

Please sign in to comment.