Changeset 5887


Ignore:
Timestamp:
07/06/09 21:59:53 (3 years ago)
Author:
ryan52
Message:

fix po->mo in dev.pl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/dev.pl

    r5863 r5887  
    2525} 
    2626 
    27 msgfmt($FindBin::Bin); 
     27sub vmsgfmt { 
     28    # I wonder if it should be verbose by default... 
     29    my $d = shift . "/share/locale/"; 
     30    print "msgfmting $d\n"; 
     31    msgfmt({in => $d, verbose => 1}); 
     32} 
     33 
     34vmsgfmt($FindBin::Bin); 
    2835 
    2936my $perl = get_perl(); 
     
    5461            (my $path = $plugin) =~ s{-}{/}g; 
    5562            if (-d  "$dir/$plugin/share/locale" ) { 
    56                 msgfmt("$dir/$plugin"); 
     63                vmsgfmt("$dir/$plugin"); 
    5764            } elsif (-d "$dir/$plugin/lib/$path/share/locale") { 
    58                 msgfmt("$dir/$plugin/lib/$path"); 
     65                vmsgfmt("$dir/$plugin/lib/$path"); 
    5966            } 
    6067            push @cmd, "-I$dir/$plugin/lib"; 
Note: See TracChangeset for help on using the changeset viewer.