diff options
Diffstat (limited to 'program/lib/Roundcube/rcube_spellcheck_atd.php')
| -rw-r--r-- | program/lib/Roundcube/rcube_spellcheck_atd.php | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/program/lib/Roundcube/rcube_spellcheck_atd.php b/program/lib/Roundcube/rcube_spellcheck_atd.php index 68e8b7cb8..9f073f56f 100644 --- a/program/lib/Roundcube/rcube_spellcheck_atd.php +++ b/program/lib/Roundcube/rcube_spellcheck_atd.php @@ -39,6 +39,18 @@ class rcube_spellcheck_atd extends rcube_spellcheck_engine      );      /** +     * Return a list of languages supported by this backend +     * +     * @see rcube_spellcheck_engine::languages() +     */ +    function languages() +    { +        $langs = array_values($this->langhosts); +        $langs[] = 'en'; +        return $langs; +    } + +    /**       * Set content and check spelling       *       * @see rcube_spellcheck_engine::check() | 
