#!/usr/bin/perl use strict; use diagnostics; use lib qw(/usr/lib/libDrakX); use standalone; #- warning, standalone must be loaded very first, for 'explanations' use interactive; use common; use any; eval { require ctxhelp }; use log; sub usage() { print STDERR N(" drakhelp 0.1 Copyright (C) %s Mandriva. Copyright (C) %s Mageia. This is free software and may be redistributed under the terms of the GNU GPL. Usage: ", '2003-2008', '2011') . N(" --help - display this help ") . N(" --id - load the html help page which refers to id_label ") . N(" --doc - link to another web page ( for WM welcome frontend) "); exit(0); } my ($opt, $idlabel) = @ARGV; @ARGV == 2 && ($opt eq '--id' || $opt eq '--doc' || $opt eq '--help') or usage(); my ($instpath, $ancpath, $package) = eval { ctxhelp::path2help($opt, $idlabel) }; if (! -e $instpath) { system('/usr/sbin/drakhelp_inst', $package); } if (! -e $instpath) { #- trying again, asking for the english entry ($instpath, $ancpath, my $package2) = eval { ctxhelp::path2help($opt, $idlabel, 'en') }; if (! -e $instpath && $package ne $package2) { system("/usr/sbin/drakhelp_inst $package2"); } } if (-f $instpath) { local $ENV{HOME} = '/root' if !$<; run_program::raw({ detach => 1 }, 'display_help', "file://$ancpath"); } else { $ugtk3::wm_icon = "help"; my $in = interactive->vnew; $in->ask_warn(N("%s Help Center", N("Mageia")), N("No Help entry for %s\n", $idlabel)); } mga3'>distro/mga3 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-10-07 13:40:59 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-10-07 13:40:59 +0000
commit79ecddfe11c0aa12f6ebefb6542b7c286b66400d (patch)
tree8a2aeb882e59d623794d2b734b74d7bd5035461a /perl-install/share/po
parent54f5f51c6dcfc30abb2d64781404ba7bdbead24e (diff)
downloaddrakx-79ecddfe11c0aa12f6ebefb6542b7c286b66400d.tar
drakx-79ecddfe11c0aa12f6ebefb6542b7c286b66400d.tar.gz
drakx-79ecddfe11c0aa12f6ebefb6542b7c286b66400d.tar.bz2
drakx-79ecddfe11c0aa12f6ebefb6542b7c286b66400d.tar.xz
drakx-79ecddfe11c0aa12f6ebefb6542b7c286b66400d.zip
updated pot file
Diffstat (limited to 'perl-install/share/po')