@@ -340,7 +340,7 @@ public function prepare(INotification $notification, string $languageCode): INot
340340 return $ notification ;
341341
342342 case 'assignment_approval_pending ' :
343- $ subject = $ l ->t ('Assignment run pending review ' );
343+ $ subject = $ l ->t ('Scheduled task is pending review ' );
344344
345345 $ iconUrl = $ this ->url ->getAbsoluteURL ($ this ->url ->imagePath (Application::APP_ID , 'app-dark.svg ' ));
346346
@@ -353,7 +353,7 @@ public function prepare(INotification $notification, string $languageCode): INot
353353 ->setLink ($ this ->url ->linkToRouteAbsolute (Application::APP_ID . '.assistant.getAssistantStandalonePage ' , ['sessionId ' => $ params ['sessionId ' ]]))
354354 ->setIcon ($ iconUrl );
355355
356- $ actionLabel = $ l ->t ('View assignment ' );
356+ $ actionLabel = $ l ->t ('View scheduled task ' );
357357 $ action = $ notification ->createAction ();
358358 $ action ->setLabel ($ actionLabel )
359359 ->setParsedLabel ($ actionLabel )
@@ -365,7 +365,7 @@ public function prepare(INotification $notification, string $languageCode): INot
365365 return $ notification ;
366366
367367 case 'assignment_successful ' :
368- $ subject = $ l ->t ('Assignment succeeded ' );
368+ $ subject = $ l ->t ('Scheduled task succeeded ' );
369369
370370 $ iconUrl = $ this ->url ->getAbsoluteURL ($ this ->url ->imagePath (Application::APP_ID , 'app-dark.svg ' ));
371371
@@ -378,7 +378,7 @@ public function prepare(INotification $notification, string $languageCode): INot
378378 ->setLink ($ this ->url ->linkToRouteAbsolute (Application::APP_ID . '.assistant.getAssistantStandalonePage ' , ['sessionId ' => $ params ['sessionId ' ]]))
379379 ->setIcon ($ iconUrl );
380380
381- $ actionLabel = $ l ->t ('View assignment result ' );
381+ $ actionLabel = $ l ->t ('View result ' );
382382 $ action = $ notification ->createAction ();
383383 $ action ->setLabel ($ actionLabel )
384384 ->setParsedLabel ($ actionLabel )
@@ -390,7 +390,7 @@ public function prepare(INotification $notification, string $languageCode): INot
390390 return $ notification ;
391391
392392 case 'assignment_failure ' :
393- $ subject = $ l ->t ('Assignment failed ' );
393+ $ subject = $ l ->t ('Scheduled task failed ' );
394394
395395 $ iconUrl = $ this ->url ->getAbsoluteURL ($ this ->url ->imagePath (Application::APP_ID , 'app-dark.svg ' ));
396396
@@ -403,7 +403,7 @@ public function prepare(INotification $notification, string $languageCode): INot
403403 ->setLink ($ this ->url ->linkToRouteAbsolute (Application::APP_ID . '.assistant.getAssistantStandalonePage ' , ['sessionId ' => $ params ['sessionId ' ]]))
404404 ->setIcon ($ iconUrl );
405405
406- $ actionLabel = $ l ->t ('View assignment result ' );
406+ $ actionLabel = $ l ->t ('View result ' );
407407 $ action = $ notification ->createAction ();
408408 $ action ->setLabel ($ actionLabel )
409409 ->setParsedLabel ($ actionLabel )
0 commit comments