[-] BO : #PSCFV-2542 - Fix bug : Unable to translate PaymentModule : some email terms are still in english
This commit is contained in:
@@ -370,7 +370,7 @@ abstract class PaymentModuleCore extends Module
|
||||
$products_list .=
|
||||
'<tr style="background-color: '.($key % 2 ? '#DDE2E6' : '#EBECEE').';">
|
||||
<td style="padding: 0.6em 0.4em;">'.$product['reference'].'</td>
|
||||
<td style="padding: 0.6em 0.4em;"><strong>'.$product['name'].(isset($product['attributes']) ? ' - '.$product['attributes'] : '').' - '.$this->l('Customized').(!empty($customization_text) ? ' - '.$customization_text : '').'</strong></td>
|
||||
<td style="padding: 0.6em 0.4em;"><strong>'.$product['name'].(isset($product['attributes']) ? ' - '.$product['attributes'] : '').' - '.Tools::displayError('Customized').(!empty($customization_text) ? ' - '.$customization_text : '').'</strong></td>
|
||||
<td style="padding: 0.6em 0.4em; text-align: right;">'.Tools::displayPrice(Product::getTaxCalculationMethod() == PS_TAX_EXC ? Tools::ps_round($price, 2) : $price_wt, $currency, false).'</td>
|
||||
<td style="padding: 0.6em 0.4em; text-align: center;">'.$customization_quantity.'</td>
|
||||
<td style="padding: 0.6em 0.4em; text-align: right;">'.Tools::displayPrice($customization_quantity * (Product::getTaxCalculationMethod() == PS_TAX_EXC ? Tools::ps_round($price, 2) : $price_wt), $currency, false).'</td>
|
||||
@@ -470,7 +470,7 @@ abstract class PaymentModuleCore extends Module
|
||||
|
||||
$cart_rules_list .= '
|
||||
<tr style="background-color:#EBECEE;">
|
||||
<td colspan="4" style="padding:0.6em 0.4em;text-align:right">'.$this->l('Voucher name:').' '.$cart_rule['obj']->name.'</td>
|
||||
<td colspan="4" style="padding:0.6em 0.4em;text-align:right">'.Tools::displayError('Voucher name:').' '.$cart_rule['obj']->name.'</td>
|
||||
<td style="padding:0.6em 0.4em;text-align:right">'.($values['tax_incl'] != 0.00 ? '-' : '').Tools::displayPrice($values['tax_incl'], $currency, false).'</td>
|
||||
</tr>';
|
||||
}
|
||||
@@ -564,7 +564,7 @@ abstract class PaymentModuleCore extends Module
|
||||
'{invoice_other}' => $invoice->other,
|
||||
'{order_name}' => sprintf('#%06d', (int)$order->id),
|
||||
'{date}' => Tools::displayDate(date('Y-m-d H:i:s'), (int)$order->id_lang, 1),
|
||||
'{carrier}' => $virtual_product ? $this->l('No carrier') : $carrier->name,
|
||||
'{carrier}' => $virtual_product ? Tools::displayError('No carrier') : $carrier->name,
|
||||
'{payment}' => Tools::substr($order->payment, 0, 32),
|
||||
'{products}' => $this->formatProductAndVoucherForEmail($products_list),
|
||||
'{discounts}' => $this->formatProductAndVoucherForEmail($cart_rules_list),
|
||||
|
||||
@@ -4238,9 +4238,6 @@ $_LANGADM['Helperee9b2f3cf31c23c944b15fb0b33d6a77'] = 'Nom du champ';
|
||||
$_LANGADM['Helperef7de3f485174ff47f061ad27d83d0ee'] = 'sélectionné';
|
||||
$_LANGADM['Helperf2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer';
|
||||
$_LANGADM['Helperfa3e5edac607a88d8fd7ecb9d6d67424'] = 'Mars';
|
||||
$_LANGADM['PaymentModulec2808546f3e14d267d798f4e0e6f102e'] = 'Personnalisé';
|
||||
$_LANGADM['PaymentModuleed13b3693357ebed3751cb71cb639e65'] = 'Aucun Transporteur';
|
||||
$_LANGADM['PaymentModulef3566b62fb3dddee617860e949c692f9'] = 'Nom de la réduction :';
|
||||
$_LANGADM['index050a0d11da7943317186f76a36b14a6c'] = 'Aucune nouvelle commande n\'a été passée sur votre boutique';
|
||||
$_LANGADM['index1165ec47ce359708f4a608d4decd04f6'] = 'Vous configurez votre site pour le magasin %s';
|
||||
$_LANGADM['index12c500ed0b7879105fb46af0f246be87'] = 'commandes';
|
||||
|
||||
@@ -475,6 +475,7 @@ $_ERRORS['c1c8a564c10a0efe07bb4e4b20d88cc9'] = 'Identifiant non valable';
|
||||
$_ERRORS['c1f25211403ec7459f265788cdbee403'] = 'Veuillez remplir tous les champs requis, puis enregistrer votre personnalisation.';
|
||||
$_ERRORS['c200140aea36e1efbf655fabf3f3b59e'] = 'Erreur lors de la création de l\'image supplémentaire';
|
||||
$_ERRORS['c21db1e62daf45d19a389bd3d0d8daa9'] = 'Le poids Memcached est manquant ';
|
||||
$_ERRORS['c2808546f3e14d267d798f4e0e6f102e'] = 'Personnalisé';
|
||||
$_ERRORS['c45319ee556dc43ba15523c539c7e9d4'] = 'Désolé, nous ne pouvons renouveler votre commande.';
|
||||
$_ERRORS['c4ae3afc5d4c01919142f8b39cc5c1c5'] = 'format de l\'image non reconnu ; formats acceptés : GIF, JPG, PNG';
|
||||
$_ERRORS['c4e7595c4e8f49c80458997b912d749b'] = 'Mauvais identifiants';
|
||||
@@ -578,6 +579,7 @@ $_ERRORS['ec995e6aa93ad0264c5593d9d76edbe3'] = 'Impossible de générer un rembo
|
||||
$_ERRORS['ecb8838ce98cd126849fc083f0070bcd'] = 'Veuillez sélectionner au moins un contenu à importer.';
|
||||
$_ERRORS['ecd7aa91bf7a1cf55a0d3dbd8c0c6463'] = 'Le client n\'est pas valable';
|
||||
$_ERRORS['ecf461f9223d4c59d8c574a1068200a0'] = 'Ce module est déjà greffé sur ce point d\'accroche.';
|
||||
$_ERRORS['ed13b3693357ebed3751cb71cb639e65'] = 'Aucun Transporteur';
|
||||
$_ERRORS['ed438656553986696cdd7b671c3ca4d0'] = 'Impossible d\'utiliser cette facture pour cette commande';
|
||||
$_ERRORS['ed9b5732158eef63ac4d236e04101d2b'] = 'Aucun mode de devises du module du paiement';
|
||||
$_ERRORS['edeb9e20655b946e4bee4ac44a6c0a7f'] = 'Le serveur ne dispose pas des permissions pour l\'écriture.';
|
||||
@@ -594,6 +596,7 @@ $_ERRORS['f1534de7e6636fdfedf7aea238841b24'] = 'Vous ne pouvez pas supprimer ou
|
||||
$_ERRORS['f2ee6211fd44afca2f01ee2d1031d0e5'] = 'Merci de vous connecter pour voir les méthodes de paiement';
|
||||
$_ERRORS['f32c746083382bb54c8c714b1f2db3ce'] = 'Veuillez sélectionner un sujet dans la liste.';
|
||||
$_ERRORS['f33bca063db69a70ff1910e99db0a9fe'] = 'Aucune zone ne correspond à votre adresse';
|
||||
$_ERRORS['f3566b62fb3dddee617860e949c692f9'] = 'Nom de la réduction :';
|
||||
$_ERRORS['f37bb979ac3abdeb7d1eae339fcb0361'] = 'Mcrypt n\'est pas activé sur ce serveur.';
|
||||
$_ERRORS['f3c72e7562dd34e56991a7fb53061d3a'] = 'Nom de la pièce jointe requis';
|
||||
$_ERRORS['f3d4d99cf273e2adbec0b81fdedf5c68'] = 'Nom de bon de réduction non valable.';
|
||||
|
||||
Reference in New Issue
Block a user