X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Flocales.pl;h=f52641630da8f833b102cfd3b02d6211b8606c0f;hb=c2f911bdbad03f7b81e0121e4e866bb96586168c;hp=0780a49f6ecf8514c36eed112f1a47ce687babc0;hpb=5d3d2de2e05277f3e790e16066cf5200f0c67389;p=kivitendo-erp.git 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) {