[*] BO : Added translation for the template which are overridden on the BO

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16290 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-07-09 14:32:04 +00:00
parent 7c160a8073
commit b06cb8d6e2
@@ -838,6 +838,11 @@ class AdminTranslationsControllerCore extends AdminController
)
)
);
// For translate the template which are overridden
if (file_exists(_PS_OVERRIDE_DIR_.'controllers'.DIRECTORY_SEPARATOR.'admin'.DIRECTORY_SEPARATOR.'templates'))
$directories['tpl'] = array_merge($directories['tpl'], $this->listFiles(_PS_OVERRIDE_DIR_.'controllers'.DIRECTORY_SEPARATOR.'admin'.DIRECTORY_SEPARATOR.'templates'));
break;
case 'errors':