This commit is contained in:
gRoussac
2013-11-26 22:57:57 +01:00
parent 9ccd4504f4
commit 5485433df6
+1 -1
View File
@@ -394,7 +394,7 @@ class AdminModulesControllerCore extends AdminController
foreach($zip_folders as $folder)
if (!in_array($folder, array('.', '..', '.svn', '.git', '__MACOSX')) && !Module::getInstanceByName($folder))
{
$this->errors[] = Tools::displayError('The \'.$folder.\' you uploaded is not a module');
$this->errors[] = sprintf(Tools::displayError('The folder %1$s you uploaded is not a module.'), $folder);
$this->recursiveDeleteOnDisk(_PS_MODULE_DIR_.$folder);
}