summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfloppy
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-02-18 20:39:49 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-02-18 20:39:49 +0000
commit0fbad48526c7a23536c1651c01bce8e0633d96d0 (patch)
tree64bba8d2a391b2d42f22dcf876b9c1a397210cf6 /perl-install/standalone/drakfloppy
parent0543dc7b3572717603755aaf2ed26346f566bc6f (diff)
downloaddrakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar
drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.gz
drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.bz2
drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.xz
drakx-0fbad48526c7a23536c1651c01bce8e0633d96d0.zip
Deactivated translations that can't be handled by gtk1 for gtk1 tools;
drakfont: call fc-cache without specifying the path, fc-cache is smart enough to do the right thing, and that way it will also catch fonts from other directories that could have been installed manually.
Diffstat (limited to 'perl-install/standalone/drakfloppy')
-rwxr-xr-xperl-install/standalone/drakfloppy4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/standalone/drakfloppy b/perl-install/standalone/drakfloppy
index 627f1d2a6..ea90e748b 100755
--- a/perl-install/standalone/drakfloppy
+++ b/perl-install/standalone/drakfloppy
@@ -32,6 +32,10 @@ use common;
use my_gtk qw(:helpers);
use ugtk qw(:helpers);
+#- languages that can't be displayed with gtk1, so we unset translations
+#- for them until this tool is ported to gtk2
+if ($ENV{LANGUAGE} =~ /\b(ar|he|hi|ta)/) { $ENV{LANGUAGE} = "C" };
+
require_root_capability();
my $expert_mode = 0;