/**
  * @param array $validationErrors
  * @param ContextInterface $context
  * @param string|null $errorPrefix
  */
 public function addValidationErrors(array $validationErrors, ContextInterface $context, $errorPrefix = null)
 {
     if (null === $errorPrefix) {
         $errorPrefix = $this->translator->trans('oro.importexport.import_error %number%', array('%number%' => $context->getReadOffset()));
     }
     foreach ($validationErrors as $validationError) {
         $context->addError($errorPrefix . ' ' . $validationError);
     }
 }