X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=locale%2Fde%2Flocales.pl;h=725a9e50b4176c543e94cd36f20047cf6ccce859;hb=b9c7197f7d0f64f10735294e4fedf222fee92186;hp=7a73120e82e727da35a315f17c33adb2cf86cedd;hpb=9c3fc229e43f79220c05500fcb9da805eb881688;p=kivitendo-erp.git diff --git a/locale/de/locales.pl b/locale/de/locales.pl index 7a73120e8..725a9e50b 100755 --- a/locale/de/locales.pl +++ b/locale/de/locales.pl @@ -15,6 +15,7 @@ $| = 1; $basedir = "../.."; $bindir = "$basedir/bin/mozilla"; $dbupdir = "$basedir/sql/Pg-upgrade"; +$dbupdir2 = "$basedir/sql/Pg-upgrade2"; $menufile = "menu.ini"; $submitsearch = qr/type\s*=\s*[\"\']?submit/i; @@ -24,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; @@ -45,6 +46,10 @@ opendir DIR, $dbupdir or die "$!"; @dbplfiles = grep { /\.pl$/ } readdir DIR; closedir DIR; +opendir DIR, $dbupdir2 or die "$!"; +@dbplfiles2 = grep { /\.pl$/ } readdir DIR; +closedir DIR; + # slurp the translations in if (-f 'all') { require "all"; @@ -59,6 +64,7 @@ if (-f 'all') { map({ handle_file($_, $bindir); } @progfiles); map({ handle_file($_, $dbupdir); } @dbplfiles); +map({ handle_file($_, $dbupdir2); } @dbplfiles2); sub handle_file { my ($file, $dir) = @_;