public function add(ValidationResult $validation, $prefix = null)
    {
        $prefix = $this->translate($prefix);
    
        foreach ($validation->getErrors() as $err) {
            $this->errors[] = ($prefix ? trim($prefix) . ' ' : '') . $err; 
        }
    }