// Translation all modules in mode DEV

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13602 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre committed 2012-02-24 13:08:51 +00:00
1 parent 7fde51894d
commit 963df21883
1 file changed
+7 -4
@@ -1710,11 +1710,14 @@ class AdminTranslationsControllerCore extends AdminController
$this->displayWarning(Tools::displayError('There are no modules in your copy of PrestaShop. Use the Modules tab to activate them or go to our Website to download additional Modules.')); $this->displayWarning(Tools::displayError('There are no modules in your copy of PrestaShop. Use the Modules tab to activate them or go to our Website to download additional Modules.'));
else else
{ {
// Get all module which are installed for to have a minimum of POST if (!_PS_MODE_DEV_)
$modules = Module::getModulesInstalled(); {
// Get all module which are installed for to have a minimum of POST
$modules = Module::getModulesInstalled();
foreach ($modules as &$module) foreach ($modules as &$module)
$module = $module['name']; $module = $module['name'];
}
$arr_find_and_fill = array(); $arr_find_and_fill = array();