Changeset 5863


Ignore:
Timestamp:
07/05/09 22:17:34 (3 years ago)
Author:
ryan52
Message:

dev.pl: use Locale::Msgfmt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/dev.pl

    r5531 r5863  
    1717use lib $FindBin::Bin; 
    1818use privlib::Tools; 
     19use Locale::Msgfmt; 
    1920 
    2021# Due to share functionality, we must have run make 
     
    2425} 
    2526 
    26 convert_po_to_mo($FindBin::Bin); 
     27msgfmt($FindBin::Bin); 
    2728 
    2829my $perl = get_perl(); 
     
    5354            (my $path = $plugin) =~ s{-}{/}g; 
    5455            if (-d  "$dir/$plugin/share/locale" ) { 
    55                 convert_po_to_mo("$dir/$plugin"); 
     56                msgfmt("$dir/$plugin"); 
    5657            } elsif (-d "$dir/$plugin/lib/$path/share/locale") { 
    57                 convert_po_to_mo("$dir/$plugin/lib/$path"); 
     58                msgfmt("$dir/$plugin/lib/$path"); 
    5859            } 
    5960            push @cmd, "-I$dir/$plugin/lib"; 
Note: See TracChangeset for help on using the changeset viewer.