[-] BO : fix #PSFV-870 : translations modules
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14677 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1910,12 +1910,13 @@ class AdminTranslationsControllerCore extends AdminController
|
||||
$arr_files = $this->getAllModuleFiles($modules, _PS_MODULE_DIR_, $lang, true);
|
||||
$arr_find_and_fill = array_merge($arr_find_and_fill, $arr_files);
|
||||
|
||||
if (file_exists(_PS_THEME_DIR_.'/modules/'))
|
||||
if (file_exists(_PS_THEME_DIR_.'modules/'))
|
||||
{
|
||||
$modules = scandir(_PS_THEME_DIR_.'/modules/');
|
||||
$modules = scandir(_PS_THEME_DIR_.'modules/');
|
||||
$arr_files = $this->getAllModuleFiles($modules, _PS_THEME_DIR_.'modules/', $lang);
|
||||
$arr_find_and_fill = array_merge($arr_find_and_fill, $arr_files);
|
||||
}
|
||||
|
||||
foreach ($arr_find_and_fill as $value)
|
||||
$this->findAndFillTranslations($value['files'], $value['theme'], $value['module'], $value['dir'], $lang);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user