summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-10-09 14:38:03 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-10-09 14:38:03 +0000
commitbb0a88b2f46e8256593f7e13e809e6cc5ca48c30 (patch)
tree6ed867ac5656c19ff17fa6ba9fb3cbd139b3cb15
parent29660bcf0ac03f1ef8dc574613a7cf73a8350bf7 (diff)
downloaddraklive-install-bb0a88b2f46e8256593f7e13e809e6cc5ca48c30.tar
draklive-install-bb0a88b2f46e8256593f7e13e809e6cc5ca48c30.tar.gz
draklive-install-bb0a88b2f46e8256593f7e13e809e6cc5ca48c30.tar.bz2
draklive-install-bb0a88b2f46e8256593f7e13e809e6cc5ca48c30.tar.xz
draklive-install-bb0a88b2f46e8256593f7e13e809e6cc5ca48c30.zip
initialize gettext domain as soon as possible
It was getting initialized too late which caused badly displayed accents in the live installer
-rwxr-xr-xdraklive-install5
1 files changed, 4 insertions, 1 deletions
diff --git a/draklive-install b/draklive-install
index 1a99f2c..e154792 100755
--- a/draklive-install
+++ b/draklive-install
@@ -1,5 +1,9 @@
#!/usr/bin/perl
+BEGIN {
+ push @::textdomains, 'draklive-install';
+}
+
use lib qw(/usr/lib/libDrakX);
use standalone;
use interactive;
@@ -13,7 +17,6 @@ use MDK::Common;
use common;
use feature qw(state);
-push @::textdomains, 'draklive-install';
{
use diskdrake::interactive;