[-] BO : #PSCFV-2661 : Fix translation when use parent::displayError() in modules

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15798 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-06-04 07:22:02 +00:00
parent d02787dc97
commit c0806524fe
@@ -963,7 +963,10 @@ class ThemeInstallator extends Module
if ($this->error === false && class_exists('ZipArchive', false) && ($zip = new ZipArchive()))
{
if (!($zip->open(_EXPORT_FOLDER_.'archive.zip', ZipArchive::OVERWRITE) === true) || !$zip->addEmptyDir('test') === true)
$this->_html .= parent::displayError('Permission denied. Please set permisssion to 666 on this folder: '._EXPORT_FOLDER_);
$this->_html .= parent::displayError(sprintf(
$this->l('Permission denied. Please set permisssion to 666 on this folder: %s'),
EXPORT_FOLDER_
));
$zip->close();
if ($this->error === false)
$this->_html .= parent::displayConfirmation(