X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=build%2Fi18n-scan.pl;h=88073840277edaefd40c7c6c862ec9ef8a631918;hb=097011cc35d2c873b0dab68afa1c10478194883d;hp=cee07fdfe1ea21e4174f03ce3d436d88e0c8f8ca;hpb=4ab2d1017e3e3b925d06713eb196f1dc99ae5da8;p=project%2Fluci.git 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]*\)$//;