protected function getValidationMessage($id)
    {
        switch ($id) {
            case 'email':
                $text = Swat::_(
                    'The email address you have entered is not ' .
                        'properly formatted.'
                );

                $message = new SwatMessage($text, 'error');
                break;

            default:
                $message = parent::getValidationMessage($id);
                break;
        }

        return $message;
    }