getType()) { case NOTIFICATION_TYPE_APPROVE_SUBMISSION: case NOTIFICATION_TYPE_FORMAT_NEEDS_APPROVED_SUBMISSION: return __('notification.type.approveSubmissionTitle'); } } /** * @copydoc PKPNotificationOperationManager::getNotificationMessage() */ public function getNotificationMessage($request, $notification) { switch ($notification->getType()) { case NOTIFICATION_TYPE_FORMAT_NEEDS_APPROVED_SUBMISSION: return __('notification.type.formatNeedsApprovedSubmission'); case NOTIFICATION_TYPE_APPROVE_SUBMISSION: return __('notification.type.approveSubmission'); } return parent::getNotificationMessage($request, $notification); } }