summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2012-04-12 09:45:32 +0200
committerPetr Mladek <pmladek@suse.cz>2012-04-12 09:53:47 +0200
commit030c4269cb14ed429e4a1f0314eba7a783816ac1 (patch)
treedac4aeca03b4ff4a4084f812f7e365c8b16d8fac /solenv
parent5b14929dd4f659420c5707b7c432fb9337cfff1d (diff)
pack "en" dictionary only with "en" langpacks
it is in the main installation tarball anyway; it was put in langpacks that did not have its own dictionary from some strange reason
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/worker.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm
index dd0c33966270..bd740a7590fe 100644
--- a/solenv/bin/modules/installer/worker.pm
+++ b/solenv/bin/modules/installer/worker.pm
@@ -2438,7 +2438,7 @@ sub set_spellcheckerlanguages
{
my $languagelist = "";
if ( exists($spellcheckhash{$lang}) ) { $languagelist = $spellcheckhash{$lang}; }
- else { $languagelist = $spellcheckhash{'en-US'}; } # defaulting to English
+ else { $languagelist = ""; } # no dictionary unless defined in SPELLCHECKERFILE
my $langlisthash = installer::converter::convert_stringlist_into_hash(\$languagelist, ",");
foreach my $onelang ( keys %{$langlisthash} ) { $installer::globals::spellcheckerlanguagehash{$onelang} = 1; }