diff options
author | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
commit | 5069ba07d9cdec0393b1e131b9e440bc827087cd (patch) | |
tree | 4b35e1f759c5c2e1af4e44f5cde86be566a3ba7b /perl-install/standalone/localedrake | |
parent | 127a73d935d78af53d3dadd05d4636f6b717976d (diff) | |
download | drakx-1_1_8_11mdk.tar drakx-1_1_8_11mdk.tar.gz drakx-1_1_8_11mdk.tar.bz2 drakx-1_1_8_11mdk.tar.xz drakx-1_1_8_11mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_11mdk'.V1_1_8_11mdk
Diffstat (limited to 'perl-install/standalone/localedrake')
-rw-r--r-- | perl-install/standalone/localedrake | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake deleted file mode 100644 index ef72f498e..000000000 --- a/perl-install/standalone/localedrake +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/perl - -use lib qw(/usr/lib/libDrakX); - -use standalone; #- warning, standalone must be loaded very first, for 'explanations' - -use interactive; -use lang; -use any; - -my ($klang, $country, $apply); - -foreach (@ARGV) { - $apply = /--apply/; - $klang = $1 if /--kde_lang=(.*)/; - $country = $1 if /--kde_country=(.*)/; -} -if ($klang) { - my $lang = lang::kde_lang_country2lang($klang, $country); - lang::write('', $lang, $>, 'dont_touch_kde_files') if $apply; - - #- help KDE defaulting to the right charset - print lang::charset2kde_charset(lang::lang2charset($lang)), "\n"; -} else { - my ($lang) = lang::read('', $>); - - my $in = 'interactive'->vnew; - if ($lang = any::selectLanguage($in, $lang)) { - lang::write('', $lang, $>); - if ($>) { - if (my $wm = any::running_window_manager()) { - $in->ask_okcancel('', _("The change is done, but to be effective you must logout"), 1) - && any::ask_window_manager_to_logout($wm); - } - } - } - $in->exit(0); -} - - |