X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b6ae20da85f7c02f486dd7ba15713292b61017cb..6040212:/scripts/locales.pl diff --git a/scripts/locales.pl b/scripts/locales.pl index 0780a49f6..f52641630 100755 --- a/scripts/locales.pl +++ b/scripts/locales.pl @@ -254,20 +254,6 @@ sub handle_file { } } - # if this is the menu.pl file - if ($file eq 'menu.pl') { - foreach my $item (@menufiles) { - &scanmenu("$basedir/$item"); - } - } - - if ($file eq 'menunew.pl') { - foreach my $item (@menufiles) { - &scanmenu("$basedir/$item"); - print "." if $opt_v; - } - } - $file =~ s/\.pl//; foreach my $text (keys %$missing) { @@ -404,7 +390,7 @@ sub scanfile { } } - my ($found) = /locale->text.*?\(/; + my ($found) = / (?: locale->text | \b t8 ) \b .*? \(/x; $postmatch = "$'"; if ($found) {