Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(notifications): Circles -> Teams references #1704

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading