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/net_monitor | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/standalone/net_monitor') diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index cc10ce093..8889986d0 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -23,6 +23,10 @@ use lib qw(/usr/lib/libDrakX); use strict; use standalone; #- warning, standalone must be loaded very first, for 'explanations' +#- 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" }; + use my_gtk qw(:helpers :wrappers); use common; use network::netconnect; -- cgit v1.2.1