Changeset 1553 for trunk


Ignore:
Timestamp:
12/28/15 22:57:04 (9 years ago)
Author:
nanardon
Message:

Fix po install location

Location:
trunk/LATMOS-Accounts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/Makefile.PL

    r1549 r1553  
    33# See lib/ExtUtils/MakeMaker.pm for details of how to influence 
    44# the contents of the Makefile that is written. 
     5 
     6my @po; 
     7foreach (glob('po/*.po')) { 
     8    warn $_; 
     9    my ($po) = $_ =~  m:([^/\.]+)\.po$:; 
     10    push (@po, $po); 
     11} 
     12 
    513WriteMakefile( 
    614    NAME              => 'LATMOS::Accounts', 
     
    99107 
    100108    my $makepo = ''; 
    101     my @po; 
    102  
    103     foreach (glob('po/*.po')) { 
    104         my ($po) = $_ =~  m:([^/\.]+)\.po$:; 
    105         push (@po, $po); 
    106  
     109 
     110    foreach my $po (@po) { 
    107111        $makepo .= 
    108  
    109112" 
    110113po/$po.po: po/messages.pot 
     
    214217install_mo: mo 
    215218        install -d $(DESTDIR)$(LOCALEDIR) 
    216         for i in po/*/LC_MESSAGES/linkaccounts.mo; do \\ 
    217                 install -d po/$$i $(DESTDIR)$(LOCALEDIR)/$$i; \\ 
    218         done 
    219219]; 
     220 
     221    foreach (@po) { 
     222        $section .= "\tinstall -d \$(DESTDIR)\$(LOCALEDIR)/$_/LC_MESSAGES"; 
     223        $section .= "\tinstall po/$_/LC_MESSAGES/linkacccounts.mo \$(DESTDIR)\$(LOCALEDIR)/$_/LC_MESSAGES/linkacccounts.mo"; 
     224    } 
     225    $section .= "\n"; 
    220226   
    221227    return $section; 
  • trunk/LATMOS-Accounts/po/fr.po

    r1551 r1553  
    255255msgstr "Nom" 
    256256 
    257 #: lib/LATMOS/Accounts/Bases/Sql/Nethost.pm:149 
     257#: lib/LATMOS/Accounts/Bases/Sql/Nethost.pm:148 
    258258msgid "NetZones" 
    259259msgstr "NetZones" 
     
    398398msgid "o" 
    399399msgstr "" 
    400  
  • trunk/LATMOS-Accounts/po/messages.pot

    r1551 r1553  
    229229msgstr "" 
    230230 
    231 #: lib/LATMOS/Accounts/Bases/Sql/Nethost.pm:149 
     231#: lib/LATMOS/Accounts/Bases/Sql/Nethost.pm:148 
    232232msgid "NetZones" 
    233233msgstr "" 
Note: See TracChangeset for help on using the changeset viewer.