Changeset 206

Show
Ignore:
Timestamp:
02/14/07 15:25:27 (2 years ago)
Author:
ludo
Message:

Translation fixes. Small bugfix for image size. Group's boot menu are now generated when apply is clicked, not at boot. (from r4013)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/webmin/lbs/bootmenu.cgi

    r162 r206  
    205205                                $cmd .= " $cfgpath"; 
    206206                                system($cmd); 
     207                                updateEntry( $lbs_home, $macaddr ) or error( lbsGetError() ); 
    207208                        } 
    208209                } 
  • trunk/webmin/lbs/debian/changelog

    r193 r206  
    1 webmin-lbs (2.6.8) stable; urgency=low 
     1webmin-lbs (2.6.9) stable; urgency=low 
    22 
    33  * New release. 
  • trunk/webmin/lbs/lang/en

    r193 r206  
    6666lab_burn=Burn 
    6767lab_command=Command 
    68 lab_commands=Commandss 
     68lab_commands=Commands 
    6969lab_comments=Comments 
    7070lab_convtolocal=Conv. to Local 
     
    108108lab_nodesc=(no description) 
    109109lab_none=(none) 
     110lab_nopostinst=No post-installation 
    110111lab_nosecurity=GRUB command line access 
    111112lab_notitle=(no title) 
  • trunk/webmin/lbs/lang/fr

    r193 r206  
    109109lab_nodesc=(sans description) 
    110110lab_none=(néant) 
     111lab_nopostinst=Pas de post-installation 
    111112lab_nosecurity=Accès ligne de command GRUB 
    112113lab_notitle=(sans titre) 
     
    225226tooltip_scheddefchoice=Choix par défaut pour un WOL 
    226227tooltip_scheddisplay=Affiché lors d un WOL 
    227  
    228 blabla="BlaBla" 
  • trunk/webmin/lbs/lbs.pl

    r193 r206  
    133133                push @lsdesc, lbs_common::colorStatus($$bstat{$k},$$bdesc{$k}); 
    134134                 
    135                 my ($siz, $dummy) = split ' ', `du -h $imgdir/$k`; 
     135                my ($siz, $dummy) = split ' ', `du -h $imgdir/$k|tail -1`; 
    136136 
    137137                if ( ($siz =~ m/\d+k/i) || ($siz =~ m/\d+o/i)) {        # images below 1 MB aren't shown 
     
    306306  use vars qw ($current_lang); 
    307307 
    308   push @tmpl, [ ("NULL", "Pas de postinstall", "") ]; 
     308  push @tmpl, [ ("NULL", $text{lab_nopostinst}, "") ]; 
    309309 
    310310  opendir(DIR, $lbs_home."/images/templates/") || return @tmpl; 
  • trunk/webmin/lbs/module.info

    r193 r206  
    77 
    88depends=0.94 lbs_common proc at 
    9 version=2.6.8 
     9version=2.6.9 
  • trunk/webmin/lbs/postinst.cgi

    r162 r206  
    2424 
    2525# ... and vars 
    26 use vars qw (%access %config %gconfig %in %lbsconf %text $VERSION $POSTINST_PATH); 
     26use vars qw (%access %config %gconfig %in %lbsconf %text $VERSION $POSTINST_PATH $current_lang); 
    2727# get some common functions ... 
    2828require "./lbs.pl"; 
     
    6262sub postinst_main_page($) { 
    6363         
    64         my $lang=$in{'lang'}
     64        my $lang=$current_lang
    6565        my $lbs_home=shift; 
    6666        opendir(DIR, $POSTINST_PATH) || error(text("err_notarelativefile")); 
     
    8282                $script =~ s|.*/(.*)$|$1|; 
    8383                $t->assign('FILENAME', "$script: " . $postinstcontent[0]->{'desc'}->{'en'})             if $postinstcontent[0]->{'desc'}->{'en'};       # keep the english translation in last case 
     84                $t->assign('FILENAME', "$script: " . $postinstcontent[0]->{'desc'}->{'unified'})        if $postinstcontent[0]->{'desc'}->{'unified'};  # keep the user's desc if it exists 
    8485                $t->assign('FILENAME', "$script: " . $postinstcontent[0]->{'desc'}->{$lang})            if $postinstcontent[0]->{'desc'}->{$lang};      # keep the local translation if we found it 
    85                 $t->assign('FILENAME', "$script: " . $postinstcontent[0]->{'desc'}->{'unified'})        if $postinstcontent[0]->{'desc'}->{'unified'};  # keep the user's desc if it exists 
    8686                $t->parse('fileslist.file'); 
    8787        } 
     
    240240        $t->assign('TB', $tb); 
    241241        $t->assign('DESC', $postinstcontent[0]->{'desc'}->{'en'})               if $postinstcontent[0]->{'desc'}->{'en'};       # keep the english translation in last case 
     242        $t->assign('DESC', $postinstcontent[0]->{'desc'}->{'unified'})          if $postinstcontent[0]->{'desc'}->{'unified'};  # keep the user's desc if it exists 
    242243        $t->assign('DESC', $postinstcontent[0]->{'desc'}->{$lang})              if $postinstcontent[0]->{'desc'}->{$lang};      # keep the local translation if we found it 
    243         $t->assign('DESC', $postinstcontent[0]->{'desc'}->{'unified'})          if $postinstcontent[0]->{'desc'}->{'unified'};  # keep the user's desc if it exists 
    244244 
    245245        $t->assign('COMMENTS', $postinstcontent[0]->{'comments'});