From 0fbad48526c7a23536c1651c01bce8e0633d96d0 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Tue, 18 Feb 2003 20:39:49 +0000 Subject: 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. --- perl-install/standalone/drakfloppy | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/standalone/drakfloppy') 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; -- cgit v1.2.1