$message=$this->wrongType!==null?$this->wrongType:Yii::t('yii','The file "{file}" cannot be uploaded. Only files with these extensions are allowed: {extensions}.');
$message=$this->wrongType!==null?$this->wrongType:\Yii::t('yii','The file "{file}" cannot be uploaded. Only files with these extensions are allowed: {extensions}.');