diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-10-19 07:11:57 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-10-19 07:11:57 +0000 |
commit | 63721c558d6877bda1dbdbabea74142fa143ac74 (patch) | |
tree | d255fa12b8b718949304224a8067c0032e61de3c /perl-install/standalone/harddrake2 | |
parent | 59c52202ce716b3fbad8cb9977aaa566bf96d132 (diff) | |
download | drakx-backup-do-not-use-63721c558d6877bda1dbdbabea74142fa143ac74.tar drakx-backup-do-not-use-63721c558d6877bda1dbdbabea74142fa143ac74.tar.gz drakx-backup-do-not-use-63721c558d6877bda1dbdbabea74142fa143ac74.tar.bz2 drakx-backup-do-not-use-63721c558d6877bda1dbdbabea74142fa143ac74.tar.xz drakx-backup-do-not-use-63721c558d6877bda1dbdbabea74142fa143ac74.zip |
- don't hardcode distro name (usefull for oem to change the distro
name at only one place)
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-x | perl-install/standalone/harddrake2 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 4c854211e..77412dec7 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -151,6 +151,8 @@ my $conffile = "/etc/sysconfig/harddrake2/ui.conf"; my ($current_device, $current_class, $current_configurator); +my %sysh = distrib(); +my $distro_name = $sysh{system}; my %menus = ( 'options' => @@ -198,8 +200,8 @@ my @menu_items = [ $menus{help} . N("/_About..."), undef, sub { create_dialog(N("About Harddrake"), #-PO: Do not alter the <span ..> and </span> tags - N("This is HardDrake, a Mandrakelinux hardware configuration tool.\n<span foreground=\"royalblue3\">Version:</span> %s -<span foreground=\"royalblue3\">Author:</span> Thierry Vignaud <tvignaud\@mandrakesoft.com>\n\n", $harddrake::data::version) . "\n" . + N("This is HardDrake, a %s hardware configuration tool.\n<span foreground=\"royalblue3\">Version:</span> %s +<span foreground=\"royalblue3\">Author:</span> Thierry Vignaud <tvignaud\@mandrakesoft.com>\n\n", $distro_name, $harddrake::data::version) . "\n" . formatAlaTeX($::license), { use_markup => 1, if_(!$::isEmbedded, transient => $w->{window}) }); }, undef, '<Item>' ] |