// Fix sprintf translation for theme and modules
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15015 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -42,7 +42,7 @@ function smartyTranslate($params, &$smarty)
|
||||
|
||||
// If the template is part of a module
|
||||
if (!empty($params['mod']))
|
||||
return Translate::getModuleTranslation($params['mod'], $params['s'], basename($filename, '.tpl'));
|
||||
return Translate::getModuleTranslation($params['mod'], $params['s'], basename($filename, '.tpl'), $sprintf);
|
||||
|
||||
// If the tpl is at the root of the template folder
|
||||
if (dirname($filename) == '.')
|
||||
|
||||
Reference in New Issue
Block a user