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

This commit is contained in:
tDidierjean
2012-02-23 17:03:48 +00:00
parent 1dc629a949
commit 880bbdebc6
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 */