2801: #2799 was incomplete, this brings master in line with what's released r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Need this too.

Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
This commit is contained in:
bors[bot]
2023-05-08 11:29:03 +00:00
committed by GitHub
2 changed files with 10 additions and 10 deletions

View File

@@ -881,17 +881,17 @@ How can I add more languages to roundcube's spellchecker?
If you are comfortable using an online spellchecker, the easiest is to configure the following via an override:
```
$config['spellcheck_engine'] = 'googie';
$config['spellcheck_ignore_caps'] = true;
$config['spellcheck_ignore_nums'] = true;
$config['spellcheck_dictionary'] = true;
```
.. code-block:: php
$config['spellcheck_engine'] = 'googie';
$config['spellcheck_ignore_caps'] = true;
$config['spellcheck_ignore_nums'] = true;
$config['spellcheck_dictionary'] = true;
If not, you can download the `aspell dictionary`_ you require and place it in ``/usr/share/aspell/`` and then enable it by tweaking the following in the configuration file:
```
$config['spellcheck_languages'] = array('en'=>'English', ...);
```
.. code-block:: php
$config['spellcheck_languages'] = array('en'=>'English', ...);
.. _`aspell dictionary`: http://ftp.gnu.org/gnu/aspell/dict/0index.html

View File

@@ -13,7 +13,7 @@ $config['log_driver'] = 'stdout';
$config['zipdownload_selection'] = true;
$config['enable_spellcheck'] = true;
$config['spellcheck_engine'] = 'pspell';
$config['spellcheck_languages'] = array('en'=>'English (US)', 'en'=>'English (UK)', 'de'=>'Deutsch', 'fr'=>'French', 'ru'=>'Russian');
$config['spellcheck_languages'] = array('en'=>'English (US)', 'uk'=>'English (UK)', 'de'=>'Deutsch', 'fr'=>'French', 'ru'=>'Russian');
$config['session_lifetime'] = {{ (((PERMANENT_SESSION_LIFETIME | default(10800)) | int)/3600) | int }};
$config['request_path'] = '{{ WEB_WEBMAIL or "none" }}';
$config['trusted_host_patterns'] = [ {{ HOSTNAMES.split(",") | map("tojson") | join(',') }}];