summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-04-14 13:14:16 +0000
committerDaouda Lo <daouda@mandriva.com>2005-04-14 13:14:16 +0000
commitbdf3c21544df501a3a15b55a6048bb9658b3c556 (patch)
tree78534e79892121cb97b77b3e2b877da963ac1ece /mdkonline
parent6dab411e0800244e5031eb037761ae73b0e4f69e (diff)
downloadmgaonline-bdf3c21544df501a3a15b55a6048bb9658b3c556.tar
mgaonline-bdf3c21544df501a3a15b55a6048bb9658b3c556.tar.gz
mgaonline-bdf3c21544df501a3a15b55a6048bb9658b3c556.tar.bz2
mgaonline-bdf3c21544df501a3a15b55a6048bb9658b3c556.tar.xz
mgaonline-bdf3c21544df501a3a15b55a6048bb9658b3c556.zip
- switch to Mandriva
Diffstat (limited to 'mdkonline')
-rwxr-xr-xmdkonline32
1 files changed, 16 insertions, 16 deletions
diff --git a/mdkonline b/mdkonline
index be7f6da3..d2302672 100755
--- a/mdkonline
+++ b/mdkonline
@@ -1,10 +1,10 @@
#!/usr/bin/perl
################################################################################
-# Mandrakeonline Text User Interface #
+# Mandriva Online Text User Interface #
# #
-# Copyright (C) 2001-2002-2003-2004 Mandrakesoft #
+# Copyright (C) 2001-2005 Mandriva #
# #
-# Daouda Lo <daouda@mandrakesoft.com> #
+# Daouda Lo <daouda at mandriva dot com> #
#
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License Version 2 as #
@@ -36,8 +36,8 @@ BEGIN { unshift @::textdomains, 'mdkonline', 'drakfirstboot' }
use mdkonline;
use Digest::MD5 qw(md5 md5_hex md5_base64);
-my $expert_link = 'http://www.mandrakeexpert.com';
-my $online_link = 'https://www.mandrakeonline.net';
+my $expert_link = 'http://www.mandrivaexpert.com';
+my $online_link = 'https://www.mandrivaonline.net';
my $confdir = '/root/.MdkOnline';
my $conffile = "$confdir/mdkupdate";
@@ -55,7 +55,7 @@ my $in = interactive->vnew('su') if $ia;
mkdir_p($confdir) if !-d $confdir;
-e '/root/.mdkupdate' and system("mv", "/root/.mdkupdate", $conffile);
-$::Wizard_title = N("Mandrakeonline");
+$::Wizard_title = N("Mandriva Online");
my %choices = (
account => N("I already have an account"),
@@ -107,7 +107,7 @@ sub create_new_account {
$ca;
}
$wiz = {
- name => N("Mandrakeonline"),
+ name => N("Mandriva Online"),
pages => {
welcome => {
name => N("This assistant will help you to upload your configuration\n(packages, hardware configuration) to a centralized database in\norder to keep you informed about security updates and useful upgrades.\n"),
@@ -120,7 +120,7 @@ $wiz = {
post => sub { +{ reverse %choices }->{$choice} },
},
account => {
- name => N("Enter your Mandrakeonline login, password and machine name:"),
+ name => N("Enter your Mandriva Online login, password and machine name:"),
pre => sub {
read_conf();
},
@@ -132,7 +132,7 @@ $wiz = {
];
},
post => sub {
- my $_wait = $in->wait_message(N("Please wait"), N("Connecting to Mandrakeonline website...")) if $ia;
+ my $_wait = $in->wait_message(N("Please wait"), N("Connecting to Mandriva Online website...")) if $ia;
$is_success = check_login($login, $password, $boxname); undef($_wait);
"authenticate";
},
@@ -140,9 +140,9 @@ $wiz = {
authenticate => {
name => sub {
if ($is_success) {
- N("In order to benefit from Mandrakeonline services,\nwe are about to upload your configuration.\n\nThe Wizard will now send the following information to Mandrakesoft:\n1) the list of packages you have installed on your system,\n2) your hardware configuration.\n\nIf you feel uncomfortable by that idea, or do not want to benefit from this service,\nplease press 'Cancel'. By pressing 'Next', you allow us to keep you informed\nabout security updates and useful upgrades via personalized email alerts.\nFurthermore, you benefit from discounted paid support services on\nwww.mandrakeexpert.com.");
+ N("In order to benefit from Mandriva Online services,\nwe are about to upload your configuration.\n\nThe Wizard will now send the following information to Mandriva:\n1) the list of packages you have installed on your system,\n2) your hardware configuration.\n\nIf you feel uncomfortable by that idea, or do not want to benefit from this service,\nplease press 'Cancel'. By pressing 'Next', you allow us to keep you informed\nabout security updates and useful upgrades via personalized email alerts.\nFurthermore, you benefit from discounted paid support services on\nwww.mandrivaexpert.com.");
} else {
- N("Connection problem") . " " . N("or") . " " . N("wrong password:") . "\n" . N("Your login or password was wrong.\n Either you'll have to type it again, or you'll need to create an account on Mandrakeonline.\n In the latter case, go back to the first step to connect to Mandrakeonline.\n Be aware that you must also provide a Machine name \n (only alphabetical characters are admitted)");
+ N("Connection problem") . " " . N("or") . " " . N("wrong password:") . "\n" . N("Your login or password was wrong.\n Either you'll have to type it again, or you'll need to create an account on Mandriva Online.\n In the latter case, go back to the first step to connect to Mandriva Online.\n Be aware that you must also provide a Machine name \n (only alphabetical characters are admitted)");
}
},
no_back => $is_success ? 1 : 0,
@@ -154,7 +154,7 @@ $wiz = {
}
},
noaccount => {
- name => N("Create a Mandrakeonline Account"),
+ name => N("Create a Mandriva Online Account"),
data => sub {
[
{ label => N("Login:"), val => \$nlogin },
@@ -170,7 +170,7 @@ $wiz = {
},
createaccount => {
name => sub {
- $createaccount eq 'OK' ? "\n\n" . N("Mandrakeonline Account successfully created.\nPlease click \"Next\" to authenticate and upload your configuration\n") : $createaccount;
+ $createaccount eq 'OK' ? "\n\n" . N("Mandriva Online Account successfully created.\nPlease click \"Next\" to authenticate and upload your configuration\n") : $createaccount;
},
post => sub {
$createaccount eq 'OK' ? "account" : "noaccount";
@@ -179,7 +179,7 @@ $wiz = {
upload => {
name => sub {
if ($sendconfres eq 'TRUE' && $key) {
- "\n\n" . N("Your upload was successful!") . "\n\n" . N("From now you will receive on security and updates \nannouncements thanks to Mandrakeonline.") . "\n\n" . N("Mandrakeonline offers you the ability to automate the updates.\nA program will run regulary in your system waiting for new updates\n");
+ "\n\n" . N("Your upload was successful!") . "\n\n" . N("From now you will receive on security and updates \nannouncements thanks to Mandriva Online.") . "\n\n" . N("Mandriva Online offers you the ability to automate the updates.\nA program will run regulary in your system waiting for new updates\n");
} else {
N("Connection problem") . N("Problem occurs when uploading files, please try again");
}
@@ -204,7 +204,7 @@ $wiz = {
},
end => {
name => sub {
- N("Congratulations") . "\n\n" . N("Your Mandrakeonline account has been successfully configured\n");
+ N("Congratulations") . "\n\n" . N("Your Mandriva Online account has been successfully configured\n");
},
end => 1,
no_back => 1,
@@ -223,7 +223,7 @@ if (!$ia && $login && $password && $boxname) {
output_p($logfile, N("Configuration uploaded successfully"));
} else { output_p($logfile, N("Problem uploading configuration")) }
} else {
- output_p($logfile, N("Cannot connect to mandrakeonline website: wrong login/password or router/firewall bad settings"));
+ output_p($logfile, N("Cannot connect to Mandriva Online website: wrong login/password or router/firewall bad settings"));
}
} else {
wizards->new->safe_process($wiz, $in);