diff --git a/ProcessMaker/Notifications/ProcessTranslationReady.php b/ProcessMaker/Notifications/ProcessTranslationReady.php index dd62e1c950..9611d1149f 100644 --- a/ProcessMaker/Notifications/ProcessTranslationReady.php +++ b/ProcessMaker/Notifications/ProcessTranslationReady.php @@ -47,7 +47,13 @@ public function via($notifiable) */ public function toArray($notifiable) { + $data = [ + 'humanLanguage' => $this->targetLanguage['humanLanguage'], + 'processName' => $this->process->name + ]; + $message = __('Process translation to :humanLanguage completed for process: :processName', $data); return [ + 'message' => $message, 'code' => $this->code, 'name' => __('Process translated'), 'processId' => $this->process->id ?? '',