From f558279137358aa653473b80d279805e49fec5da Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 23 Feb 2018 13:35:21 +0100 Subject: [PATCH] contrib: update i18n-scan.pl script --- contrib/i18n-scan.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/i18n-scan.pl b/contrib/i18n-scan.pl index 8e7d2597..29abefcc 100755 --- a/contrib/i18n-scan.pl +++ b/contrib/i18n-scan.pl @@ -48,7 +48,7 @@ if( open F, "find @ARGV -type f '(' -name '*.html' -o -name '*.lua' ')' |" ) my $text = $raw; - while( $text =~ s/ ^ .*? (?:translate|translatef|i18n|_) [\n\s]* \( /(/sgx ) + while( $text =~ s/ ^ .*? (?:translate|translatef|_) [\n\s]* \( /(/sgx ) { ( my $code, $text ) = extract_bracketed($text, q{('")});