[-] TR : fix #PSCFV-3425

This commit is contained in:
lLefevre
2012-07-31 10:01:03 +00:00
parent c7504afcf9
commit 71a67dc8e5
+2 -6
View File
@@ -126,15 +126,11 @@ class TranslateCore
static $translations_merged = array();
if ($module instanceof Module)
{
$name = $module->name;
$local_path = $module->getLocalPath();
}
else
{
$name = $module;
$local_path = _PS_MODULE_DIR_.$module.'/';
}
$local_path = _PS_MODULE_DIR_.$name.'/';
if (!isset($name) || !isset($translations_merged[$name]))
{