Skip to content

Commit

Permalink
Update Notifier.php
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Herbinet <[email protected]>
  • Loading branch information
Jerome-Herbinet authored Aug 19, 2024
1 parent 352721e commit 34b26cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Notifications/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@ public function prepare(INotification $notification, string $languageCode): INot
case 'guest-transfer-fail':
$params = $notification->getSubjectParameters();
$notification
->setRichSubject($l->t('Guest transfer failed'))
->setRichSubject($l->t('Guest conversion failed'))
->setRichMessage(
$l->t('Failed to transfer guest {guest} to {user}'),
$l->t('Failed to convert guest "{guest}" account to "{user}" account'),
$this->getRichMessageParams($params['source'], $params['target']),
);
return $notification;

case 'guest-transfer-done':
$params = $notification->getSubjectParameters();
$notification
->setRichSubject($l->t('Guest transfer done'))
->setRichSubject($l->t('Guest conversion done'))
->setRichMessage(
$l->t('Transfer of guest {guest} to {user} completed'),
$l->t('Conversion of guest "{guest}" account to "{user}" account completed'),
$this->getRichMessageParams($params['source'], $params['target']),
);
return $notification;
Expand Down

0 comments on commit 34b26cb

Please sign in to comment.