diff options
author | Mystery Man <unknown@mandriva.org> | 2002-07-09 13:18:50 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-07-09 13:18:50 +0000 |
commit | b6c80998f798afb98c5ebb42441c25668b31c93e (patch) | |
tree | 0a40adbce78a1b7ddee1ba637215ca857ffcae19 /perl-install/standalone/localedrake | |
parent | a6a904a31e39b74144c53f0cc4086d496b70c09a (diff) | |
download | drakx-b6c80998f798afb98c5ebb42441c25668b31c93e.tar drakx-b6c80998f798afb98c5ebb42441c25668b31c93e.tar.gz drakx-b6c80998f798afb98c5ebb42441c25668b31c93e.tar.bz2 drakx-b6c80998f798afb98c5ebb42441c25668b31c93e.tar.xz drakx-b6c80998f798afb98c5ebb42441c25668b31c93e.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_4mdk'.V1_1_8_4mdk
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); -} - - |