summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drakpxelinux.pl58
1 files changed, 29 insertions, 29 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index 60bd761..60b3523 100644
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -63,14 +63,14 @@ my ($IPSERVER) = `/sbin/ip addr show dev $interface` =~ /^\s*inet\s+(\d+\.\d+\.\
my $DOMAINNAME = chomp_(`dnsdomainname`);
my $help = "" .
-N("PXE Label: the name displayed in PXE menu (a word/number)") . "\n" .
-N("Server: IP address of server, which contains installation directory") . "\n" .
+N("PXE Label: the name to be displayed in the PXE menu (a word/number)") . "\n" .
+N("Server: IP address of server, that contains the installation directory") . "\n" .
N("Kernel: memdisk or vmlinuz") . "\n" .
N("Initrd: network boot image (network.img ) or all.rdz") . "\n" .
N("Interface: network interface used for the installation process") . "\n" .
N("Network: DHCP or an IP address") . "\n" .
N("Directory: full path to MDK install server directory") . "\n" .
-N("Installation method: choose NFS or HTTP") . "\n" .
+N("Installation method: NFS or HTTP") . "\n" .
N("Ramsize: ramsize parameter on boot disk") . "\n" .
N("Display: export display to another computer (ie: 10.0.1.33:0)") . "\n" .
N("VGA: if you encounter any problem with VGA, please adjust") . "\n" .
@@ -78,24 +78,24 @@ N("VGA: if you encounter any problem with VGA, please adjust") . "\n" .
my %help = (
- 'initrd' => N("network boot image (network.img ) or all.rdz"),
+ 'initrd' => N("network boot image (network.img) or all.rdz"),
'kernel' => N("memdisk in case of network.img, or vmlinuz"),
'vga' => N("if you encounter any problem with VGA, please adjust"),
'interface' => N("network interface used for the installation process"),
- 'info' => N("the name displayed in PXE menu (a word/number)"),
- 'network' => N("dhcp or an IP address"),
+ 'info' => N("the name to be displayed in the PXE menu (a word/number)"),
+ 'network' => N("DHCP or an IP address"),
'directory' => N("full path to MDK install server directory"),
'automatic' => N("installation method: choose NFS or HTTP"),
'ramsize' => N("ramsize parameter on boot disk"),
'display' => N("export display on another computer (ie: 10.0.1.33:0)"),
'option' => N("apic nolapic acpi=off initrd=/bin/shell"),
- 'server' => N("IP address of server, which contains installation directory"),
- 'labels' => N("list all PXE entry, selected one is the default boot"),
- 'wizardsrv' => N("Launch a wizard to setup a PXE server"),
- 'editb' => N("Edit the PXE entry selected with a dialog box"),
- 'removepxe' => N("Remove the PXE entry selected"),
- 'addpxe' => N("Launch a Wizard to add a PXE entry "),
- 'helponline' => N("get help from Online documentation"),
+ 'server' => N("IP address of server, that contains the installation directory"),
+ 'labels' => N("lists all PXE entries, the default boot is the selected one"),
+ 'wizardsrv' => N("launches a wizard to setup a PXE server"),
+ 'editb' => N("edits the PXE entry selected with a dialog box"),
+ 'removepxe' => N("removes the selected PXE entry"),
+ 'addpxe' => N("launches a wizard to add a PXE entry "),
+ 'helponline' => N("get help from online documentation"),
);
sub set_help_tip {
@@ -104,7 +104,7 @@ sub set_help_tip {
}
if (!-f $conf) {
- err_dialog(N("Error!"), N("missing %s\n\nPlease install pxe package.",$conf)) and !$::testing && die;
+ err_dialog(N("Error!"), N("missing %s\n\nPlease install the pxe package.",$conf)) and !$::testing && die;
} else {
save_config($conf);
}
@@ -332,19 +332,19 @@ sub wizard_add_entry {
# my $WVMLINUZ = "/tmp/vmlinuz";
my $w = wizards->new;
my $wiz = {
- name => N("Add PXE entry"),
+ name => N("Add a PXE entry"),
pages => {
welcome => {
- name => N("Add an all.rdz boot image") . "\n" . N("To boot through network, network computer need a boot image. Morever we need to name this image, so each boot image is related to a name in PXE menu. So user can choose wich image he wants to boot through PXE.") . "\n\n" . N("For technical reason, in case of multiple boot image, it's more simple to boot network computer through a kernel (vmlinuz), and provide one file with all drivers needed (in our case all.rdz).") ,
+ name => N("Add an all.rdz boot image") . "\n" . N("To boot through the network, the networked computer needs a boot image. Morever we need to name this image, so each boot image is related to a name in the PXE menu. Thus, the user can choose which image he wants to boot through PXE.") . "\n\n" . N("For technical reasons, in case of multiple boot images, it's simpler to boot the networked computer through a kernel (vmlinuz), and to provide one file with all needed drivers (in our case all.rdz)."),
next => 'addimg',
},
addimg => {
- name => N("At the end of this wizard, the all.rdz image and kernel vmlinuz will be copied into \n%s.\n\nPXE menu list will be updated with this new entry", $IMGPATH),
+ name => N("When this wizard has finished, the all.rdz image and kernel vmlinuz will be copied into \n%s.\n\nThe PXE menu list will be updated with this new entry.", $IMGPATH),
data => [
{ label => N("PXE label:"), val => \$WPXENAME,
- help => N("name displayed in PXE menu (please provide a word or a number, with no space)") },
+ help => N("name displayed in PXE menu (please provide a word or a number, without spaces)") },
{ label => N("PXE information:"), val => \$WINFO,
- help => N("PXE information is used to explain the rule of the boot image,\nie:\nMandrake 10 rescue disk\nMandrake cooker install via http") },
+ help => N("The PXE information is used to explain the role of the boot image,\nie:\nMandrake 10 rescue disk\nMandrake cooker install via http") },
{ label => N("Full path to all.rdz image source:"), val => \$WALLRDZ,
help => N("Provide the full path to all.rdz image source") },
{ label => N("Full path to vmlinuz source:"), val => \$WVMLINUZ,
@@ -623,7 +623,7 @@ sub edit_box_item {
gtkpack_(gtkset_border_width(Gtk2::VBox->new, 5),
0, $label_and_widgets->(N("Ramdisk size"), $ramdisk, ""),
0, $label_and_widgets->(N("Custom options"), $option, ""),
- 0, $label_and_widgets->(N("Frame Buffer resolution"), $vga, ""),
+ 0, $label_and_widgets->(N("Frame buffer resolution"), $vga, ""),
0, $label_and_widgets->(N("Remote IP of X server"), $display, ""),
0, gtkadd(Gtk2::Frame->new(N("Automatic Options")),
gtkpack_(gtkset_border_width(Gtk2::VBox->new, 5),
@@ -635,7 +635,7 @@ sub edit_box_item {
2, gtkadd_widget($size_groups{button}, ""),
),
0, $label_and_widgets->(N("Remote server name"), $server, ""),
- 0, $label_and_widgets->(N("Remote installation Directory"), $directory, ""),
+ 0, $label_and_widgets->(N("Remote installation directory"), $directory, ""),
),
),
),
@@ -838,7 +838,7 @@ sub pxe_conf {
sub check_pxe_conf {
if (! any { /default_address=$IPSERVER/ } cat_($pxeconf)) {
# pxe.conf doesnt matche system, relaunch wizard_pxe_server
- err_dialog(N("Error!"), N("Your %s doesnt match your actual IP address configuration. Relaunching the PXE wizard server to readjust it.", $pxeconf)) and launch_pxe_server();
+ err_dialog(N("Error!"), N("Your %s doesn't match your actual IP address configuration. Relaunching the PXE wizard server to readjust it.", $pxeconf)) and launch_pxe_server();
}
}
@@ -860,7 +860,7 @@ sub wizard_pxe_server {
# 1},
pages => {
welcome => {
- name => N("PXE wizard") . "\n\n" . N("Set a PXE server.") . "\n" . N("This wizard will help you configuring the PXE server, and PXE boot image management. PXE (Pre-boot eXecution Environment) is a protocol designed by Intel that allows computers to boot through the network. PXE is stored in the ROM of new generation network cards. When the computer boots up, the BIOS loads the PXE ROM in the memory and executes it. A menu is displayed, allowing the computer to boot an operating system loaded through the network."),
+ name => N("PXE wizard") . "\n\n" . N("Set a PXE server.") . "\n" . N("This wizard will help you to configure the PXE server, and PXE boot image management. PXE (Pre-boot eXecution Environment) is a protocol designed by Intel that allows computers to boot through the network. PXE is stored in the ROM of new generation network cards. When the computer boots up, the BIOS loads the PXE ROM in the memory and executes it. A menu is displayed, allowing the computer to boot an operating system loaded through the network."),
no_back => 1,
next => 'pxeserver',
},
@@ -870,7 +870,7 @@ sub wizard_pxe_server {
next => 'summaryserver',
},
summaryserver => {
- name => N("The wizard will now prepare all default files to set your PXE server"),
+ name => N("The wizard will now prepare all default files to set up your PXE server"),
data => [
{ label => N("TFTP directory: %s", $TFTPDIR) },
{ label => N("Boot image path: %s", $IMGPATH) },
@@ -968,7 +968,7 @@ sub check_started {
sub do_it_pxe {
return if $::testing;
my $in = 'interactive'->vnew('su', 'PXE server');
- my $w = $in->wait_message(N("PXE server"), N("Configuring PXE server on your system..."));
+ my $w = $in->wait_message(N("PXE server"), N("Configuring a PXE server on your system..."));
output("$X86/drakwizard_pxe", <<EOF);
do not remove
use to check if drakwizard PXE set server
@@ -998,7 +998,7 @@ sub add_columns {
$renderer->signal_connect(edited => \&cell_edited, $model);
$renderer->set_data(column => $::i);
$treeview->insert_column_with_attributes(-1, $_, $renderer, 'text' => $::i);
- } N("Label"), N("Entry description"), N("Kernel image"), N("Initrd image"), N("Installation method"), N("Network interface"), N("DHCP or IP address"), N("Remote server name"), N("Remote installation Directory"), N("Ramdisk size"), N("Frame buffer resolution"), N("Remote IP of X server"), N("Custom options");
+ } N("Label"), N("Entry description"), N("Kernel image"), N("Initrd image"), N("Installation method"), N("Network interface"), N("DHCP or IP address"), N("Remote server name"), N("Remote installation directory"), N("Ramdisk size"), N("Frame buffer resolution"), N("Remote IP of X server"), N("Custom options");
}
@@ -1019,7 +1019,7 @@ sub launch_pxe_server {
$::WizardWindow->destroy if defined $::WizardWindow;
undef $::WizardWindow;
if ($err && $err !~ /wizcancel/) {
- err_dialog(N("Error"), N("The PXE server wizard had unexpectly failled:") . "\n\n" . $err);
+ err_dialog(N("Error"), N("The PXE server wizard has unexpectedly failed:") . "\n\n" . $err);
}
}
@@ -1063,13 +1063,13 @@ my $okcancel = create_okcancel({
$W->add(gtkpack_(Gtk2::VBox->new(0,0),
1, create_scrolled_window($treeview),
0, gtkpack_(gtkset_border_width(Gtk2::HBox->new, 3),
- 0, gtksignal_connect(set_help_tip(Gtk2::Button->new(N("Add PXE entry")), 'addpxe'), clicked => sub {
+ 0, gtksignal_connect(set_help_tip(Gtk2::Button->new(N("Add a PXE entry")), 'addpxe'), clicked => sub {
eval { wizard_add_entry($model, $treeview) };
my $err = $@;
$::WizardWindow->destroy if defined $::WizardWindow;
undef $::WizardWindow;
if ($err && $err !~ /wizcancel/) {
- err_dialog(N("Error"), N("The add PXE entry wizard had unexpectly failled:")
+ err_dialog(N("Error"), N("The PXE entry wizard has unexpectedly failed:")
. "\n\n" . $err);
}
}),