summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-30 11:25:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-30 11:25:27 +0000
commit5f1bf5741fe0c52a30a6c7f6657c436cd294cfc4 (patch)
tree72ccdb4af9fb3fb4d0dd010bf0f4815390302161
parent72f75e3340b261d58e880030208c7551f9ab44c2 (diff)
downloaddrakx-5f1bf5741fe0c52a30a6c7f6657c436cd294cfc4.tar
drakx-5f1bf5741fe0c52a30a6c7f6657c436cd294cfc4.tar.gz
drakx-5f1bf5741fe0c52a30a6c7f6657c436cd294cfc4.tar.bz2
drakx-5f1bf5741fe0c52a30a6c7f6657c436cd294cfc4.tar.xz
drakx-5f1bf5741fe0c52a30a6c7f6657c436cd294cfc4.zip
do not enforce parameter position in translatable strings
-rw-r--r--perl-install/standalone/net_applet4
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}));