Changeset 206
- Timestamp:
- 02/14/07 15:25:27 (2 years ago)
- Files:
-
- trunk/webmin/lbs/bootmenu.cgi (modified) (1 diff)
- trunk/webmin/lbs/debian/changelog (modified) (1 diff)
- trunk/webmin/lbs/lang/en (modified) (2 diffs)
- trunk/webmin/lbs/lang/fr (modified) (2 diffs)
- trunk/webmin/lbs/lbs.pl (modified) (2 diffs)
- trunk/webmin/lbs/module.info (modified) (1 diff)
- trunk/webmin/lbs/postinst.cgi (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/webmin/lbs/bootmenu.cgi
r162 r206 205 205 $cmd .= " $cfgpath"; 206 206 system($cmd); 207 updateEntry( $lbs_home, $macaddr ) or error( lbsGetError() ); 207 208 } 208 209 } trunk/webmin/lbs/debian/changelog
r193 r206 1 webmin-lbs (2.6. 8) stable; urgency=low1 webmin-lbs (2.6.9) stable; urgency=low 2 2 3 3 * New release. trunk/webmin/lbs/lang/en
r193 r206 66 66 lab_burn=Burn 67 67 lab_command=Command 68 lab_commands=Commands s68 lab_commands=Commands 69 69 lab_comments=Comments 70 70 lab_convtolocal=Conv. to Local … … 108 108 lab_nodesc=(no description) 109 109 lab_none=(none) 110 lab_nopostinst=No post-installation 110 111 lab_nosecurity=GRUB command line access 111 112 lab_notitle=(no title) trunk/webmin/lbs/lang/fr
r193 r206 109 109 lab_nodesc=(sans description) 110 110 lab_none=(néant) 111 lab_nopostinst=Pas de post-installation 111 112 lab_nosecurity=Accès ligne de command GRUB 112 113 lab_notitle=(sans titre) … … 225 226 tooltip_scheddefchoice=Choix par défaut pour un WOL 226 227 tooltip_scheddisplay=Affiché lors d un WOL 227 228 blabla="BlaBla"trunk/webmin/lbs/lbs.pl
r193 r206 133 133 push @lsdesc, lbs_common::colorStatus($$bstat{$k},$$bdesc{$k}); 134 134 135 my ($siz, $dummy) = split ' ', `du -h $imgdir/$k `;135 my ($siz, $dummy) = split ' ', `du -h $imgdir/$k|tail -1`; 136 136 137 137 if ( ($siz =~ m/\d+k/i) || ($siz =~ m/\d+o/i)) { # images below 1 MB aren't shown … … 306 306 use vars qw ($current_lang); 307 307 308 push @tmpl, [ ("NULL", "Pas de postinstall", "") ];308 push @tmpl, [ ("NULL", $text{lab_nopostinst}, "") ]; 309 309 310 310 opendir(DIR, $lbs_home."/images/templates/") || return @tmpl; trunk/webmin/lbs/module.info
r193 r206 7 7 8 8 depends=0.94 lbs_common proc at 9 version=2.6. 89 version=2.6.9 trunk/webmin/lbs/postinst.cgi
r162 r206 24 24 25 25 # ... and vars 26 use vars qw (%access %config %gconfig %in %lbsconf %text $VERSION $POSTINST_PATH );26 use vars qw (%access %config %gconfig %in %lbsconf %text $VERSION $POSTINST_PATH $current_lang); 27 27 # get some common functions ... 28 28 require "./lbs.pl"; … … 62 62 sub postinst_main_page($) { 63 63 64 my $lang=$ in{'lang'};64 my $lang=$current_lang; 65 65 my $lbs_home=shift; 66 66 opendir(DIR, $POSTINST_PATH) || error(text("err_notarelativefile")); … … 82 82 $script =~ s|.*/(.*)$|$1|; 83 83 $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 84 85 $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 exists86 86 $t->parse('fileslist.file'); 87 87 } … … 240 240 $t->assign('TB', $tb); 241 241 $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 242 243 $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 exists244 244 245 245 $t->assign('COMMENTS', $postinstcontent[0]->{'comments'});
