[pve-devel] [PATCH installer 2/2] Fix typos
Fabian Ebner
f.ebner at proxmox.com
Thu Nov 21 12:35:52 CET 2019
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
proxinstall | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/proxinstall b/proxinstall
index 93a61cb..268bc91 100755
--- a/proxinstall
+++ b/proxinstall
@@ -678,7 +678,7 @@ sub read_cmap {
}
}
-# search for Harddisks
+# search for hard disks
my $hds = hd_list();
sub hd_size {
@@ -934,7 +934,7 @@ sub partition_bootable_disk {
}
my $hdgb = int($hdsize/(1024*1024));
- die "hardisk '$target_dev' too small (${hdgb}GB)\n" if $hdgb < 8;
+ die "hard disk '$target_dev' too small (${hdgb}GB)\n" if $hdgb < 8;
# 1 - BIOS boot partition (Grub Stage2): first free 1M
# 2 - EFI ESP: next free 512M
@@ -957,7 +957,7 @@ sub partition_bootable_disk {
my $os_size = $hdsize - 513*1024; # 512M efi + 1M bios_boot + 1M alignment
syscmd($pcmd) == 0 ||
- die "unable to partition harddisk '${target_dev}'\n";
+ die "unable to partition hard disk '${target_dev}'\n";
$pnum = 1;
$pcmd = ['sgdisk', '-a1', "-n$pnum:34:2047", "-t$pnum:EF02" , $target_dev];
@@ -1035,7 +1035,7 @@ sub ask_existing_vg_rename_or_abort {
} else {
set_next("_Reboot", sub { exit (0); } );
display_html("fail.htm");
- die "Cancled installation by user, due to already existing volume group '$vgname'\n";
+ die "Installation canceled by user, due to already existing volume group '$vgname'\n";
}
}
@@ -2787,7 +2787,7 @@ my $create_raid_disk_grid = sub {
}
}
- push @$disk_labeled_widgets, "Harddisk $i", $disk_selector;
+ push @$disk_labeled_widgets, "Hard Disk $i", $disk_selector;
}
my $scrolled_window = Gtk3::ScrolledWindow->new();
@@ -2819,7 +2819,7 @@ my $get_hdsize_spinbtn = sub {
my $spinbutton_hdsize = Gtk3::SpinButton->new($hdsize_size_adj, 1, 1);
$spinbutton_hdsize->set_buffer($hdsize_entry_buffer);
$spinbutton_hdsize->set_adjustment($hdsize_size_adj);
- $spinbutton_hdsize->set_tooltip_text("only use specified size (GB) of the harddisk (rest left unpartitioned)");
+ $spinbutton_hdsize->set_tooltip_text("only use specified size (GB) of the hard disk (rest left unpartitioned)");
return $spinbutton_hdsize;
};
@@ -2884,7 +2884,7 @@ sub create_hdoption_view {
my $dialog = Gtk3::Dialog->new();
- $dialog->set_title("Harddisk options");
+ $dialog->set_title("Hard Disk options");
$dialog->add_button("_OK", 1);
@@ -3016,7 +3016,7 @@ sub create_hdoption_view {
$target_hd_label->set_text("Target: $config_options->{filesys} ");
$options_stack->set_visible_child_name("raiddisk");
} else {
- $target_hd_label->set_text("Target Harddisk: ");
+ $target_hd_label->set_text("Target Hard Disk: ");
}
my (undef, $pref_width) = $dialog->get_preferred_width();
my (undef, $pref_height) = $dialog->get_preferred_height();
@@ -3217,7 +3217,7 @@ sub create_hdsel_view {
my ($disk, $devname, $size, $model) = @{@$hds[0]};
$target_hd = $devname if !defined($target_hd);
- $target_hd_label = Gtk3::Label->new("Target Harddisk: ");
+ $target_hd_label = Gtk3::Label->new("Target Hard Disk: ");
$hbox->pack_start($target_hd_label, 0, 0, 0);
$target_hd_combo = Gtk3::ComboBoxText->new();
@@ -3372,7 +3372,7 @@ create_main_window ();
my $initial_error = 0;
if (!defined ($hds) || (scalar (@$hds) <= 0)) {
- print "no hardisks found\n";
+ print "no hard disks found\n";
$initial_error = 1;
display_html("nohds.htm");
set_next("Reboot", sub { exit(0); } );
--
2.20.1
More information about the pve-devel
mailing list