From 63721c558d6877bda1dbdbabea74142fa143ac74 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Tue, 19 Oct 2004 07:11:57 +0000 Subject: - don't hardcode distro name (usefull for oem to change the distro name at only one place) --- perl-install/standalone/harddrake2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/harddrake2') 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 and tags - N("This is HardDrake, a Mandrakelinux hardware configuration tool.\nVersion: %s -Author: Thierry Vignaud <tvignaud\@mandrakesoft.com>\n\n", $harddrake::data::version) . "\n" . + N("This is HardDrake, a %s hardware configuration tool.\nVersion: %s +Author: Thierry Vignaud <tvignaud\@mandrakesoft.com>\n\n", $distro_name, $harddrake::data::version) . "\n" . formatAlaTeX($::license), { use_markup => 1, if_(!$::isEmbedded, transient => $w->{window}) }); }, undef, '' ] -- cgit v1.2.1