Aleksander Machniak
2015-06-07 a9587489473baf3854999e711083be212ca0c1c4
program/lib/Roundcube/rcube_spellcheck_atd.php
@@ -1,6 +1,6 @@
<?php
/*
/**
 +-----------------------------------------------------------------------+
 | This file is part of the Roundcube Webmail client                     |
 |                                                                       |
@@ -37,6 +37,18 @@
        'pt' => 'pt.',
        'es' => 'es.',
    );
    /**
     * 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
@@ -115,7 +127,7 @@
            $result = new SimpleXMLElement($response);
        }
        catch (Exception $e) {
            $thid->error = "Unexpected response from server: " . $store;
            $this->error = "Unexpected response from server: " . $response;
            return array();
        }
@@ -187,6 +199,4 @@
        return $result;
    }
}