summaryrefslogtreecommitdiffstats
path: root/perl-install/share
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-02-18 20:34:45 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-02-18 20:34:45 +0000
commit0543dc7b3572717603755aaf2ed26346f566bc6f (patch)
treebda743090d4ba6c7491f308739808674fd6e5eb6 /perl-install/share
parent9e8f3e9944e3c88f849ab4634f934ae3cfe30e06 (diff)
downloaddrakx-0543dc7b3572717603755aaf2ed26346f566bc6f.tar
drakx-0543dc7b3572717603755aaf2ed26346f566bc6f.tar.gz
drakx-0543dc7b3572717603755aaf2ed26346f566bc6f.tar.bz2
drakx-0543dc7b3572717603755aaf2ed26346f566bc6f.tar.xz
drakx-0543dc7b3572717603755aaf2ed26346f566bc6f.zip
as this tool uses gtk1, deactivate translations for languages
that gtk1 can't handle
Diffstat (limited to 'perl-install/share')
-rwxr-xr-xperl-install/share/theme-editor.pl4
1 files changed, 4 insertions, 0 deletions
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/) {