summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
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 /perl-install/interactive
parentc58fb7b5991e30b542f3dd80cf7b1d337cb63023 (diff)
downloaddrakx-backup-do-not-use-b2ecec7d06660c580b36d978d8cf3cf19fb084be.tar
drakx-backup-do-not-use-b2ecec7d06660c580b36d978d8cf3cf19fb084be.tar.gz
drakx-backup-do-not-use-b2ecec7d06660c580b36d978d8cf3cf19fb084be.tar.bz2
drakx-backup-do-not-use-b2ecec7d06660c580b36d978d8cf3cf19fb084be.tar.xz
drakx-backup-do-not-use-b2ecec7d06660c580b36d978d8cf3cf19fb084be.zip
(create_widget) fix 'N_() must be used with a string', thus fixing the
build
Diffstat (limited to 'perl-install/interactive')
-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($_)) };