diff --git a/modules/themeinstallator/themeinstallator.php b/modules/themeinstallator/themeinstallator.php index c46a9cf40..223290c07 100644 --- a/modules/themeinstallator/themeinstallator.php +++ b/modules/themeinstallator/themeinstallator.php @@ -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(