[-] 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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user