getType()) { case PKPNotification::NOTIFICATION_TYPE_APPROVE_SUBMISSION: case PKPNotification::NOTIFICATION_TYPE_FORMAT_NEEDS_APPROVED_SUBMISSION: return __('notification.type.approveSubmissionTitle'); } } /** * @copydoc PKPNotificationOperationManager::getNotificationMessage() */ public function getNotificationMessage($request, $notification) { switch ($notification->getType()) { case PKPNotification::NOTIFICATION_TYPE_FORMAT_NEEDS_APPROVED_SUBMISSION: return __('notification.type.formatNeedsApprovedSubmission'); case PKPNotification::NOTIFICATION_TYPE_APPROVE_SUBMISSION: return __('notification.type.approveSubmission'); } return parent::getNotificationMessage($request, $notification); } } if (!PKP_STRICT_MODE) { class_alias('\APP\notification\managerDelegate\ApproveSubmissionNotificationManager', '\ApproveSubmissionNotificationManager'); }