From 0543dc7b3572717603755aaf2ed26346f566bc6f Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Tue, 18 Feb 2003 20:34:45 +0000 Subject: as this tool uses gtk1, deactivate translations for languages that gtk1 can't handle --- perl-install/share/theme-editor.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-install/share/theme-editor.pl b/perl-install/share/theme-editor.pl index f3b8bd5ae..fb505bca9 100755 --- a/perl-install/share/theme-editor.pl +++ b/perl-install/share/theme-editor.pl @@ -23,6 +23,10 @@ use lib qw(/usr/lib/libDrakX); use my_gtk qw(:helpers :wrappers); use common; +#- 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" }; + init Gtk; if ("@ARGV" =~ /-h/) { -- cgit v1.2.1