package install_steps_newt; # $Id$ use diagnostics; use strict; use vars qw(@ISA); @ISA = qw(install_steps_interactive interactive::newt); #-###################################################################################### #- misc imports #-###################################################################################### use install_steps_interactive; use interactive::newt; use install_any; use devices; use lang; use common; sub banner { my $banner = translate(N_("Mandriva Linux Installation %s")); my $l = first(Newt::GetScreenSize()) - length($banner) - length($_[0]) + 1; Newt::DrawRootText(0, 0, sprintf($banner, ' ' x $l . $_[0])); Newt::Refresh(); } sub new { my ($type, $o) = @_; interactive::newt->new; banner(''); Newt::PushHelpLine( #-PO: This string must fit in a 80-char wide text screen N(" / between elements | selects | next screen ")); (bless {}, ref($type) || $type)->SUPER::new($o); } sub charsetChanged { my ($o) = @_; lang::load_console_font($o->{locale}); } sub enteringStep { my ($o, $step) = @_; $o->SUPER::enteringStep($step); banner(translate($o->{steps}{$step}{text})); } sub exitInstall { &install_steps_interactive::exitInstall; interactive::newt::end(); } 1; option> Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Samir <ahmad@mageia.org>2011-04-07 16:56:01 +0000
committerAhmad Samir <ahmad@mageia.org>2011-04-07 16:56:01 +0000
commit52d99bdc74f4c82acc6957a73ed9f0c68640241b (patch)
tree717e87aa6bcf5cdcc66b834b61e85e6847044b08
parent92f46bcf01f5c3946deffc63564598a6c226272a (diff)
downloaddrakx-52d99bdc74f4c82acc6957a73ed9f0c68640241b.tar
drakx-52d99bdc74f4c82acc6957a73ed9f0c68640241b.tar.gz
drakx-52d99bdc74f4c82acc6957a73ed9f0c68640241b.tar.bz2
drakx-52d99bdc74f4c82acc6957a73ed9f0c68640241b.tar.xz
drakx-52d99bdc74f4c82acc6957a73ed9f0c68640241b.zip
- s/can not/cannot/ manually in the po/pot files so as not the make the strings
unnecessarily fuzzy (from Thierry Vignaud)