[-] TR : fix #PSCFV-3425
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16623 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
d16dfdab01
commit
a22276d161
1 file changed
+2
-6
@@ -126,15 +126,11 @@ class TranslateCore
|
|||||||
static $translations_merged = array();
|
static $translations_merged = array();
|
||||||
|
|
||||||
if ($module instanceof Module)
|
if ($module instanceof Module)
|
||||||
{
|
|
||||||
$name = $module->name;
|
$name = $module->name;
|
||||||
$local_path = $module->getLocalPath();
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
$name = $module;
|
$name = $module;
|
||||||
$local_path = _PS_MODULE_DIR_.$module.'/';
|
|
||||||
}
|
$local_path = _PS_MODULE_DIR_.$name.'/';
|
||||||
|
|
||||||
if (!isset($name) || !isset($translations_merged[$name]))
|
if (!isset($name) || !isset($translations_merged[$name]))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user