From eb52435e23290613f21c844aef55db033d13a58a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Herbinet?= <33763786+Jerome-Herbinet@users.noreply.github.com> Date: Wed, 25 Oct 2023 16:34:05 +0200 Subject: [PATCH] Remove circle name from share's recipient's e-mail notification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> --- lib/Service/SendMailService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Service/SendMailService.php b/lib/Service/SendMailService.php index 0662578f6..90b0d98fb 100644 --- a/lib/Service/SendMailService.php +++ b/lib/Service/SendMailService.php @@ -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 "%s".', [$author]); } else { - $text = $this->l10n->t('%s shared a file with "%s".', [$author, $circleName]); + $text = $this->l10n->t('%s shared a file with "%s".', [$author]); } - $text = $this->l10n->t('%s shared multiple files with "%s".', [$author, $circleName]); + $text = $this->l10n->t('%s shared multiple files with "%s".', [$author]); $emailTemplate->addBodyText(htmlspecialchars($text), $text); return $emailTemplate;