[pve-devel] [PATCH installer 7/7] remove trailing spaces and colons from labels

Maximiliano Sandoval m.sandoval at proxmox.com
Tue Jun 20 11:16:10 CEST 2023


For consistency sake, all colons and trailing spaces in labels were
removed, this matches other panels such as the password and
country/timezone panels.

Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 proxinstall | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/proxinstall b/proxinstall
index 86922e2..b2c214b 100755
--- a/proxinstall
+++ b/proxinstall
@@ -1559,7 +1559,7 @@ sub create_ipconf_view {
     }
 
     my $devicebox = Gtk3::Box->new('horizontal', 0);
-    my $label = Gtk3::Label->new("Management Interface:");
+    my $label = Gtk3::Label->new("Management Interface");
     $label->set_size_request(150, -1);
     $label->set_xalign(1.0);
 
@@ -1569,7 +1569,7 @@ sub create_ipconf_view {
     my $fqdn = Proxmox::Install::Config::get_fqdn();
     my $hn = $fqdn // "$iso_env->{product}." . ($ipconf->{domain} // "example.invalid");
 
-    my ($hostlabel, $hostentry) = create_text_input($hn, 'Hostname (FQDN):');
+    my ($hostlabel, $hostentry) = create_text_input($hn, 'Hostname (FQDN)');
     $grid->attach($hostlabel, 0, 1, 1, 1);
     $grid->attach($hostentry, 1, 1, 1, 1);
 
@@ -1580,7 +1580,7 @@ sub create_ipconf_view {
 
     my $gwlabel;
     ($gwlabel, $ipconf_entry_gw) =
-	create_text_input($gateway, 'Gateway:');
+	create_text_input($gateway, 'Gateway');
 
     $grid->attach($gwlabel, 0, 3, 1, 1);
     $grid->attach($ipconf_entry_gw, 1, 3, 1, 1);
@@ -1589,7 +1589,7 @@ sub create_ipconf_view {
 
     my $dns_label;
     ($dns_label, $ipconf_entry_dns) =
-	create_text_input($dnsserver, 'DNS Server:');
+	create_text_input($dnsserver, 'DNS Server');
 
     $grid->attach($dns_label, 0, 4, 1, 1);
     $grid->attach($ipconf_entry_dns, 1, 4, 1, 1);
@@ -2452,7 +2452,7 @@ sub create_hdoption_view {
 	    $target_hd_label->set_text("Target: $filesys ");
 	    $options_stack->set_visible_child_name("raiddisk");
 	} else {
-	    $target_hd_label->set_text("Target Harddisk: ");
+	    $target_hd_label->set_text("Target Harddisk");
 	}
 
 	if ($raid) {
@@ -2665,7 +2665,7 @@ sub create_hdsel_view {
     my ($disk, $devname, $size, $model, $logical_bsize) = $cached_disks->[0]->@*;
     $target_hd = $devname if !defined($target_hd);
 
-    $target_hd_label = Gtk3::Label->new("Target Harddisk: ");
+    $target_hd_label = Gtk3::Label->new("Target Harddisk");
     $hbox->pack_start($target_hd_label, 0, 0, 0);
 
     $target_hd_combo = Gtk3::ComboBoxText->new();
-- 
2.39.2






More information about the pve-devel mailing list