[-] BO: Fix #PSCFV-5109 translations of admin module controller
This commit is contained in:
@@ -62,7 +62,7 @@ class TranslateCore
|
||||
if (class_exists($class_name_controller) && Module::getModuleNameFromClass($class_name_controller))
|
||||
{
|
||||
$string = str_replace('\'', '\\\'', $string);
|
||||
return Translate::getModuleTranslation(Module::$classInModule[$class_name_controller], $string, $class);
|
||||
return Translate::getModuleTranslation(Module::$classInModule[$class_name_controller], $string, $class_name_controller);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user