improve mail subject for mails to the owner with the password

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pull/12490/head
Bjoern Schiessle 7 years ago committed by Roeland Jago Douma
parent 54093e2bd6
commit 53ce4a049b
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 2
      apps/sharebymail/lib/ShareByMailProvider.php

@ -599,7 +599,7 @@ class ShareByMailProvider implements IShareProvider {
'shareWith' => $shareWith,
]);
$emailTemplate->setSubject($this->l->t('Password to access »%1$s« shared with %2$s', [$filename, $shareWith]));
$emailTemplate->setSubject($this->l->t('Password to access »%1$s« shared by you with %2$s', [$filename, $shareWith]));
$emailTemplate->addHeader();
$emailTemplate->addHeading($this->l->t('Password to access »%s«', [$filename]), false);
$emailTemplate->addBodyText($bodyPart);

Loading…
Cancel
Save