/** * Defines the message for uploading files * * @return string */ protected function getUploadFileMessage() { $filesize = \XLite\Core\Converter::getUploadFileMaxSize(); return static::t('The maximum file size that can be uploaded: X', array('upload_max_filesize' => \XLite\Core\Converter::convertShortSizeToHumanReadable($filesize))); }