@@ -132,7 +132,7 @@ class ImageValidator extends FileValidator
...
@@ -132,7 +132,7 @@ class ImageValidator extends FileValidator
$this->overHeight=Yii::t('yii','The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
$this->overHeight=Yii::t('yii','The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
}
}
if($this->wrongMimeType===null){
if($this->wrongMimeType===null){
$this->wrongMimeType=Yii::t('yii','Only files with these mimeTypes are allowed: {mimeTypes}.');
$this->wrongMimeType=Yii::t('yii','Only files with these MIME types are allowed: {mimeTypes}.');