aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xsrc/net_monitor2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0d10d58..7bba823 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
Mandriva network monitoring tool -- History of user-visible changes
Copyright (C) 2009, Mandriva
+- fix missing interface name in message
+
0.15:
- updated translations
diff --git a/src/net_monitor b/src/net_monitor
index 9ab770b..b8903a1 100755
--- a/src/net_monitor
+++ b/src/net_monitor
@@ -542,7 +542,7 @@ class MonitorGui:
vbox.pack_start(button, False, False, 0)
button.join_group(first_button)
else:
- label = Gtk.Label(label=_("Network accounting was not enabled on interface %s.\nPlease enable network accounting on the interface in order to view traffic statistics and restart your network connection to start collecting traffic statistics."))
+ label = Gtk.Label(label=_("Network accounting was not enabled on interface %s.\nPlease enable network accounting on the interface in order to view traffic statistics and restart your network connection to start collecting traffic statistics.") % iface)
stats_vbox.add(label)
stats_vbox.show_all()