Browse Source

contrib: update i18n-scan.pl script

Matthias Schiffer 2 years ago
parent
commit
f558279137
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/i18n-scan.pl

+ 1 - 1
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{('")});