This commit is contained in:
fBrignoli
2012-04-11 15:40:43 +00:00
parent 806e6255f6
commit 7f8a2a06c3
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -159,7 +159,9 @@ class TranslateCore
return str_replace('"', '"', $string);
// set array key to lowercase for 1.3 compatibility
$_MODULES = array_change_key_case($_MODULES);
if (version_compare(_PS_VERSION_, '1.3.0.0') <= 0)
$_MODULES = array_change_key_case($_MODULES);
$currentKey = '<{'.strtolower($name).'}'.strtolower(_THEME_NAME_).'>'.strtolower($source).'_'.$key;
$defaultKey = '<{'.strtolower($name).'}prestashop>'.strtolower($source).'_'.$key;