From bd053899fc2e65fa7efd2f1fcdde7279c00e305d Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 2 Oct 2024 16:51:35 -0400 Subject: [PATCH] fix(notifications): Circles -> Teams references Fixes #1652 Signed-off-by: Josh --- lib/Notification/Notifier.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 16efd4b76..fe12473e8 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -170,7 +170,7 @@ private function prepareMemberNotification(INotification $notification) { switch ($notification->getSubject()) { case 'memberAdd': $subject = $this->l10n->t( - 'You are now a member of the Circle "%2$s"', + 'You are now a member of the Team "%2$s"', [ $member->getCircle()->getDisplayName() ] @@ -179,7 +179,7 @@ private function prepareMemberNotification(INotification $notification) { case 'invitation': $subject = $this->l10n->t( - 'You have been invited by %1$s into the Circle "%2$s"', + 'You have been invited by %1$s into the Team "%2$s"', [ $member->getInvitedBy()->getDisplayName(), $member->getCircle()->getDisplayName() @@ -189,7 +189,7 @@ private function prepareMemberNotification(INotification $notification) { case 'joinRequest': $subject = $this->l10n->t( - '%1$s sent a request to be a member of the Circle "%2$s"', + '%1$s sent a request to be a member of the Team "%2$s"', [ $this->configService->displayFederatedUser($member, true), $member->getCircle()->getDisplayName() @@ -221,7 +221,7 @@ private function prepareActions(INotification $notification): void { break; case 'leave': - $action->setParsedLabel($this->l10n->t('Leave the circle')); + $action->setParsedLabel($this->l10n->t('Leave the team')); break; }