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 and ArtificialOwl committed Oct 22, 2024
1 parent f5db01e commit bd05389
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 @@ -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()
]
Expand All @@ -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()
Expand All @@ -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()
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit bd05389

Please sign in to comment.