From 9a272db2227fac1037cc2c52aa420036797a5e28 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 6 Jun 2003 10:28:46 +0000 Subject: ensure N() is not called before ugtk2 is initialised, otherwise the gettext is not forced to utf8 --- perl-install/common.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/common.pm') diff --git a/perl-install/common.pm b/perl-install/common.pm index cce250899..f7d4bc15c 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -35,6 +35,7 @@ sub sprintf_fixutf8 { } sub N { + $::one_message_has_been_translated ||= join(':', (caller(0))[1,2]); #- see ugtk2.pm my $s = shift @_; my $t = translate($s); sprintf_fixutf8 $t, @_; } -- cgit v1.2.1