summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/standalone/drakhosts6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/standalone/drakhosts b/perl-install/standalone/drakhosts
index ea0b76728..4ff83846b 100644
--- a/perl-install/standalone/drakhosts
+++ b/perl-install/standalone/drakhosts
@@ -104,8 +104,12 @@ sub add_modify_entry {
$oldip = $listhosts[$i]{ip};
}
+ if ($wanted =~ /modify/) { $text = N("Please modify information"); }
+ if ($wanted =~ /delete/) { $text = N("Please delete information"); }
+ if ($wanted =~ /add/) { $text = N("Please add information"); }
+
gtkpack_($dialog->vbox,
- 0, gtkadd(Gtk2::Frame->new(N("Please %s information", $wanted)),
+ 0, gtkadd(Gtk2::Frame->new($text)),
gtkpack_(gtkset_border_width(Gtk2::VBox->new, 5),
0, $label_and_widgets->(N("IP address:"), $ip),
0, $label_and_widgets->(N("Host name:"), $hostname),