summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-06-06 10:28:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-06-06 10:28:46 +0000
commit9a272db2227fac1037cc2c52aa420036797a5e28 (patch)
treea21bb573f42677971a3aaf6300f6037a812a3398 /perl-install/common.pm
parent5bf0bd6b8306216de14b62130108420733ab0d6c (diff)
downloaddrakx-backup-do-not-use-9a272db2227fac1037cc2c52aa420036797a5e28.tar
drakx-backup-do-not-use-9a272db2227fac1037cc2c52aa420036797a5e28.tar.gz
drakx-backup-do-not-use-9a272db2227fac1037cc2c52aa420036797a5e28.tar.bz2
drakx-backup-do-not-use-9a272db2227fac1037cc2c52aa420036797a5e28.tar.xz
drakx-backup-do-not-use-9a272db2227fac1037cc2c52aa420036797a5e28.zip
ensure N() is not called before ugtk2 is initialised, otherwise
the gettext is not forced to utf8
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm1
1 files changed, 1 insertions, 0 deletions
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, @_;
}