// bug fixed translation, code change, no need to use strtolower

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12356 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mBertholino
2012-01-11 14:35:18 +00:00
parent c5994e8c2f
commit c956b2300a
2 changed files with 11 additions and 17 deletions
+2 -1
View File
@@ -68,6 +68,7 @@ function smartyTranslate($params, &$smarty)
switch ($dir_filename)
{
// note : this may be modified later
case '.': $class = 'index';break;
case 'helper' : $class = 'AdminTab';break;
@@ -75,7 +76,7 @@ function smartyTranslate($params, &$smarty)
{
$parentClass = explode('/', $filename);
$key = array_search('controllers', $parentClass);
$class = 'Admin'.ucfirst($parentClass[$key + 1]);
$class = 'Admin'.Tools::toCamelCase($parentClass[$key + 1], true);
}
}