From 5e86b77294fd1c64b4f56407d156737d7a147e37 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 5 Nov 2011 18:35:54 +0000 Subject: [PATCH] build: i18n-scan.pl: cope with strings that contain escaped newlines, spotted in luci-pbx --- build/i18n-scan.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl index cee07fdfe..880738402 100755 --- a/build/i18n-scan.pl +++ b/build/i18n-scan.pl @@ -51,6 +51,7 @@ if( open F, "find @ARGV -type f '(' -name '*.htm' -o -name '*.lua' ')' |" ) { ( my $code, $text ) = extract_bracketed($text, q{('")}); + $code =~ s/\\\n/ /g; $code =~ s/^\([\n\s]*//; $code =~ s/[\n\s]*\)$//; -- 2.25.1