summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_monitor
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/net_monitor
parent0543dc7b3572717603755aaf2ed26346f566bc6f (diff)
downloaddrakx-backup-do-not-use-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar
drakx-backup-do-not-use-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.gz
drakx-backup-do-not-use-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.bz2
drakx-backup-do-not-use-0fbad48526c7a23536c1651c01bce8e0633d96d0.tar.xz
drakx-backup-do-not-use-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/net_monitor')
-rwxr-xr-xperl-install/standalone/net_monitor4
1 files changed, 4 insertions, 0 deletions
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;