17 import(
'lib.pkp.classes.notification.managerDelegate.PKPApproveSubmissionNotificationManager');
26 parent::__construct($notificationType);
33 switch ($notification->getType()) {
34 case NOTIFICATION_TYPE_APPROVE_SUBMISSION:
35 case NOTIFICATION_TYPE_FORMAT_NEEDS_APPROVED_SUBMISSION:
36 return __(
'notification.type.approveSubmissionTitle');
44 switch ($notification->getType()) {
45 case NOTIFICATION_TYPE_FORMAT_NEEDS_APPROVED_SUBMISSION:
46 return __(
'notification.type.formatNeedsApprovedSubmission');
47 case NOTIFICATION_TYPE_APPROVE_SUBMISSION:
48 return __(
'notification.type.approveSubmission');
51 return parent::getNotificationMessage($request, $notification);