public function connectDb(array $settings)
    {
        try {
            $this->db = new Database;
            $this->db->init($settings);
        } catch (Exception $ex) {
            $this->db = null;
            return $this->translation->text($ex->getMessage());
        }

        return $this->validateDb();
    }