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

This commit is contained in:
rMalie
2012-02-13 15:20:25 +00:00
parent f9aee0af57
commit bd0f852457
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;