Changeset 2437 in subversion
- Timestamp:
- May 1, 2009 11:57:33 AM (4 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
config/main.inc.php.dist (modified) (1 diff)
-
installer/rcube_install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/config/main.inc.php.dist
r2419 r2437 220 220 // These languages can be selected for spell checking. 221 221 // Configure as a PHP style hash array: array('en'=>'English', 'de'=>'Deutsch'); 222 // Leave empty for default set of Google spell check languages, should be defined 223 // when using local Pspell extension 222 // Leave empty for default set of available language. 224 223 $rcmail_config['spellcheck_languages'] = NULL; 225 224 -
trunk/roundcubemail/installer/rcube_install.php
r2237 r2437 245 245 'explain' => 'This requires the <tt>pspell</tt> extension which could not be loaded.'); 246 246 } 247 if (empty($this->config['spellcheck_languages'])) { 248 $out['dependencies'][] = array('prop' => 'spellcheck_languages', 249 'explain' => 'You should specify the list of languages supported by your local pspell installation.'); 247 if (!empty($this->config['spellcheck_languages'])) { 248 foreach ($this->config['spellcheck_languages'] as $lang => $descr) 249 if (!pspell_new($lang)) 250 $out['dependencies'][] = array('prop' => 'spellcheck_languages', 251 'explain' => "You are missing pspell support for language $lang ($descr)"); 250 252 } 251 253 }
Note: See TracChangeset
for help on using the changeset viewer.
