X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=locale%2Fde%2Flocales.pl;h=f12001ce0fdfc03354d02f138e7469429f4f7b82;hb=c9f9ec3a1ae664f88ed8d00e25b4bd72848dcfa2;hp=6415370443d90466fb5f152c90b3ec8ef8d7bc7c;hpb=4fd8bdbfb46b8b63a7d05457959b98c4956d1dbd;p=kivitendo-erp.git diff --git a/locale/de/locales.pl b/locale/de/locales.pl index 641537044..f12001ce0 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; @@ -327,7 +327,7 @@ sub scanfile { if (/require\s+\W.*\.pl/) { 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::(.*?);/) {