From d5b4cfd8cd91678ec3aea2de162bebdeff14f0cc Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Mon, 22 Jun 2026 10:15:45 +0200 Subject: [PATCH] fix(Notifier): Correct wording "assignment" -> "scheduled task" Signed-off-by: Marcel Klehr --- lib/Notification/Notifier.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index e5116ffa..774d3998 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -340,7 +340,7 @@ public function prepare(INotification $notification, string $languageCode): INot return $notification; case 'assignment_approval_pending': - $subject = $l->t('Assignment run pending review'); + $subject = $l->t('Scheduled task is pending review'); $iconUrl = $this->url->getAbsoluteURL($this->url->imagePath(Application::APP_ID, 'app-dark.svg')); @@ -353,7 +353,7 @@ public function prepare(INotification $notification, string $languageCode): INot ->setLink($this->url->linkToRouteAbsolute(Application::APP_ID . '.assistant.getAssistantStandalonePage', ['sessionId' => $params['sessionId']])) ->setIcon($iconUrl); - $actionLabel = $l->t('View assignment'); + $actionLabel = $l->t('View scheduled task'); $action = $notification->createAction(); $action->setLabel($actionLabel) ->setParsedLabel($actionLabel) @@ -365,7 +365,7 @@ public function prepare(INotification $notification, string $languageCode): INot return $notification; case 'assignment_successful': - $subject = $l->t('Assignment succeeded'); + $subject = $l->t('Scheduled task succeeded'); $iconUrl = $this->url->getAbsoluteURL($this->url->imagePath(Application::APP_ID, 'app-dark.svg')); @@ -378,7 +378,7 @@ public function prepare(INotification $notification, string $languageCode): INot ->setLink($this->url->linkToRouteAbsolute(Application::APP_ID . '.assistant.getAssistantStandalonePage', ['sessionId' => $params['sessionId']])) ->setIcon($iconUrl); - $actionLabel = $l->t('View assignment result'); + $actionLabel = $l->t('View result'); $action = $notification->createAction(); $action->setLabel($actionLabel) ->setParsedLabel($actionLabel) @@ -390,7 +390,7 @@ public function prepare(INotification $notification, string $languageCode): INot return $notification; case 'assignment_failure': - $subject = $l->t('Assignment failed'); + $subject = $l->t('Scheduled task failed'); $iconUrl = $this->url->getAbsoluteURL($this->url->imagePath(Application::APP_ID, 'app-dark.svg')); @@ -403,7 +403,7 @@ public function prepare(INotification $notification, string $languageCode): INot ->setLink($this->url->linkToRouteAbsolute(Application::APP_ID . '.assistant.getAssistantStandalonePage', ['sessionId' => $params['sessionId']])) ->setIcon($iconUrl); - $actionLabel = $l->t('View assignment result'); + $actionLabel = $l->t('View result'); $action = $notification->createAction(); $action->setLabel($actionLabel) ->setParsedLabel($actionLabel)