浏览代码

fixed language

Tobias Schultze 13 年之前
父节点
当前提交
2009249128
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php

+ 1 - 1
src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php

@@ -75,7 +75,7 @@ class UniqueEntityValidator extends ConstraintValidator
 
                 if (count($relatedId) > 1) {
                     throw new ConstraintDefinitionException(
-                        "Associated entities are not allowed have more than one identifier field to be " .
+                        "Associated entities are not allowed to have more than one identifier field to be " .
                         "part of a unique constraint in: " . $class->name . "#" . $fieldName
                     );
                 }