[-] BO : fix bug #PSTEST-855 - some translations are not parsed

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13574 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-02-23 17:03:48 +00:00
parent 2454cd7863
commit 48a4db2acf
3 changed files with 7 additions and 7 deletions
@@ -1023,7 +1023,7 @@ class AdminTranslationsControllerCore extends AdminController
$content = fread($fd, filesize($tpl));
/* Search language tags (eg {l s='to translate'}) */
$regex = '/\{l s=\''._PS_TRANS_PATTERN_.'\'( js=1)?\}/U';
$regex = '/\{l s=\''._PS_TRANS_PATTERN_.'\'( js=1)?( slashes=1)?\}/U';
preg_match_all($regex, $content, $matches);
/* Get string translation for each tpl file */