[*] MO : change calls method Tools::displayError() by $name_module->l() && Translations

This commit is contained in:
lLefevre
2012-05-09 10:06:23 +00:00
parent 204e044d6d
commit 9642598b6f
60 changed files with 336 additions and 278 deletions
@@ -48,7 +48,7 @@ class BankwireValidationModuleFrontController extends ModuleFrontController
break;
}
if (!$authorized)
die(Tools::displayError('This payment method is not available.'));
die($this->module->l('This payment method is not available.', 'validation'));
$customer = new Customer($cart->id_customer);
if (!Validate::isLoadedObject($customer))