protected function setMessage($type, $translationString, $value)
    {
        $text = is_array($value) ? implode(',', $value) : $value;
        $this->getIo()->{$type}(
            sprintf(
                $this->trans($translationString),
                $text
            )
        );
    }