Fixing some whitespace issues in misc/translator/update.pl
This commit is contained in:
parent
b269451d7b
commit
4527efb078
|
|
@ -9,15 +9,15 @@ my $dir = "po";
|
|||
my $po;
|
||||
opendir (DIR,$dir);
|
||||
|
||||
while (defined($po = readdir(DIR))) {
|
||||
next if $po =~ /^\.\.?$/;
|
||||
print "processing $po...\n";
|
||||
my $interface = 'intranet';
|
||||
if ($po =~ /opac/) {
|
||||
$interface = 'opac';
|
||||
}
|
||||
system("./tmpl_process3.pl update -i ../../koha-tmpl/$interface-tmpl/prog/en/ -s po/$po -r");
|
||||
print "Finished\n";
|
||||
while (defined($po = readdir(DIR))) {
|
||||
next if $po =~ /^\.\.?$/;
|
||||
print "processing $po...\n";
|
||||
my $interface = 'intranet';
|
||||
if ($po =~ /opac/) {
|
||||
$interface = 'opac';
|
||||
}
|
||||
system("./tmpl_process3.pl update -i ../../koha-tmpl/$interface-tmpl/prog/en/ -s po/$po -r");
|
||||
print "Finished\n";
|
||||
}
|
||||
|
||||
closedir DIR;
|
||||
|
|
|
|||
Loading…
Reference in New Issue