summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-08-19 09:05:53 +0000
committerThierry Vignaud <tv@mandriva.org>2009-08-19 09:05:53 +0000
commitb2ecec7d06660c580b36d978d8cf3cf19fb084be (patch)
tree61f5c4df0966230d5a7baf079675492818e75aa8
parentc58fb7b5991e30b542f3dd80cf7b1d337cb63023 (diff)
downloaddrakx-b2ecec7d06660c580b36d978d8cf3cf19fb084be.tar
drakx-b2ecec7d06660c580b36d978d8cf3cf19fb084be.tar.gz
drakx-b2ecec7d06660c580b36d978d8cf3cf19fb084be.tar.bz2
drakx-b2ecec7d06660c580b36d978d8cf3cf19fb084be.tar.xz
drakx-b2ecec7d06660c580b36d978d8cf3cf19fb084be.zip
(create_widget) fix 'N_() must be used with a string', thus fixing the
build
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index e48933dbe..d34a14b14 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -453,7 +453,7 @@ sub create_widget {
my @buttons = ( N_("Add"), N_("Modify"), N_("Remove"));
# Add Up/Down buttons if their actions are defined
foreach (qw(Up Down)) {
- push @buttons, N_($_) if ($actions->{$_});
+ push @buttons, translate($_) if ($actions->{$_});
}
my @buttons = map {
{ kind => lc $_, action => $actions->{$_}, button => Gtk2::Button->new(translate($_)) };