// Refacto of lang functions (all code moved in Translate class)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13262 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-13 15:20:25 +00:00
parent 6a68b754ce
commit 7682d57803
9 changed files with 210 additions and 230 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ abstract class AdminTabCore
if(Module::getModuleNameFromClass($currentClass))
{
$string = str_replace('\'', '\\\'', $string);
return Module::findTranslation(Module::$classInModule[$currentClass], $string, $currentClass);
return Translate::getModuleTranslation(Module::$classInModule[$currentClass], $string, $currentClass);
}
global $_LANGADM;