Skip to content

Commit

Permalink
Ending wording with "you via a team" (remove team's name)
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Remove circle name from share's recipient's e-mail notification

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
  • Loading branch information
Jerome-Herbinet committed Aug 22, 2024
1 parent 535cdcd commit 5fb7ac3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Service/SendMailService.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ private function generateMailExitingShares(
$emailTemplate->addHeader();

if ($multiple) {
$text = $this->l10n->t('%s shared multiple files with "%s".', [$author, $circleName]);
$text = $this->l10n->t('%s shared multiple files with you via a team.', [$author]);
} else {
$text = $this->l10n->t('%s shared a file with "%s".', [$author, $circleName]);
$text = $this->l10n->t('%s shared a file with you via a team.', [$author]);
}

$text = $this->l10n->t('%s shared multiple files with "%s".', [$author, $circleName]);
$text = $this->l10n->t('%s shared multiple files with you via a team.', [$author]);
$emailTemplate->addBodyText(htmlspecialchars($text), $text);

return $emailTemplate;
Expand Down

0 comments on commit 5fb7ac3

Please sign in to comment.