Skip to content

Commit

Permalink
fix(notifications): Circles -> Teams references
Browse files Browse the repository at this point in the history
Fixes #1652 

Signed-off-by: Josh <josh.t.richards@gmail.com>
  • Loading branch information
joshtrichards authored Oct 2, 2024
1 parent 23643ca commit 279b86a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Notification/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
]
Expand All @@ -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()
Expand All @@ -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()
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 279b86a

Please sign in to comment.