From b2ecec7d06660c580b36d978d8cf3cf19fb084be Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 19 Aug 2009 09:05:53 +0000 Subject: (create_widget) fix 'N_() must be used with a string', thus fixing the build --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/interactive') 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($_)) }; -- cgit v1.2.1