diff options
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r-- | perl-install/standalone/net_applet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index d71dd102d..3af100990 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -33,7 +33,7 @@ my %appletstate = ( colour => [ 'connected' ], changes => [ 'disconnected', 'error', 'busy' ], menu => [ 'confNetwork', 'monitorNetwork', 'refresh', 'help' ], - tt => [ N("Network is up on interface ") ] + tt => [ N_("Network is up on interface %d") ] }, disconnected => { colour => [ 'disconnected' ], @@ -138,7 +138,7 @@ sub setState { my $arr = $appletstate{$state_type}{menu}; my $tmp = gtkcreate_pixbuf($appletstate{$state_type}{colour}[0]); $img->set_from_pixbuf($tmp); - gtkset_tip(new Gtk2::Tooltips, $eventbox, formatAlaTeX($appletstate{$state_type}{tt}[0] . $interface)); + gtkset_tip(new Gtk2::Tooltips, $eventbox, formatAlaTeX(translate($appletstate{$state_type}{tt}[0], $interface))); my $menu = Gtk2::Menu->new; foreach (@$arr) { $menu->append(gtksignal_connect(gtkshow(Gtk2::MenuItem->new_with_label($actions{$_}{name})), activate => $actions{$_}{launch})); |