X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=locale%2Fde%2Flocales.pl;h=151db6fc567680ee382f700a7b12491835fc8cec;hb=5ceaf343f897027dff7edcde6315824b8dc64db7;hp=6415370443d90466fb5f152c90b3ec8ef8d7bc7c;hpb=4fd8bdbfb46b8b63a7d05457959b98c4956d1dbd;p=kivitendo-erp.git diff --git a/locale/de/locales.pl b/locale/de/locales.pl index 641537044..151db6fc5 100755 --- a/locale/de/locales.pl +++ b/locale/de/locales.pl @@ -25,7 +25,7 @@ foreach $item (@ARGV) { } opendir DIR, "$bindir" or die "$!"; -@progfiles = grep { /\.pl/; !/(_|^\.)/ } readdir DIR; +@progfiles = grep { /\.pl$/; !/(_|^\.)/ } readdir DIR; seekdir DIR, 0; @customfiles = grep /_/, readdir DIR; closedir DIR; @@ -328,6 +328,7 @@ sub scanfile { my $newfile = $&; $newfile =~ s/require\s+\W//; $newfile =~ s/\$form->{path}\///; + $newfile =~ s|bin/mozilla||; # &scanfile("$bindir/$newfile", 0, $scanned_files); $cached{$file}{scan}{"$bindir/$newfile"} = 1; } elsif (/use\s+SL::(.*?);/) {