From bba6466eede682ded445067843c7e1ab0c2e496e Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 21 Aug 2015 13:04:28 +0200 Subject: [PATCH] generate_lang_file.php : fix back-slash character handling in parse_addon_file() function --- public_html/lang/generate_lang_file.php | 36 ++++++++++++++----------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php index e8b5bad1..52c615ef 100755 --- a/public_html/lang/generate_lang_file.php +++ b/public_html/lang/generate_lang_file.php @@ -259,22 +259,28 @@ function parse_addon_file($file) { while ($pos = strpos($line,'__(',$offset)) { $quote=''; $res=''; - for ($i=$pos+2;$i