From 279b86a4bd51c1b0eb20b5f10d0d20d9dd7c155a 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 0adbc5c3b..1c14045ce 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -165,7 +165,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() ] @@ -174,7 +174,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() @@ -184,7 +184,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() @@ -216,7 +216,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; }