Merge pull request #12490 from nextcloud/improve-mail-subject
improve mail subject for mails to the owner with the password
This commit is contained in:
commit
71e26d12c0
|
@ -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…
Reference in New Issue