added line breaks to incoming transfer notification
wrapped notifications into double quotes to make line breaks possible Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
This commit is contained in:
parent
e1382e2bc5
commit
a1df5d1e98
|
@ -152,7 +152,7 @@ class Notifier implements INotifier, IDismissableNotifier {
|
|||
])
|
||||
->setParsedSubject(str_replace('{user}', $param['sourceUser'], $l->t('Incoming ownership transfer from {user}')))
|
||||
->setRichMessage(
|
||||
$l->t('Do you want to accept {path}? Note: The transfer process after accepting may take up to 1 hour.'),
|
||||
$l->t("Do you want to accept {path}?\n\nNote: The transfer process after accepting may take up to 1 hour."),
|
||||
[
|
||||
'path' => [
|
||||
'type' => 'highlight',
|
||||
|
@ -160,7 +160,7 @@ class Notifier implements INotifier, IDismissableNotifier {
|
|||
'name' => $param['nodeName'],
|
||||
]
|
||||
])
|
||||
->setParsedMessage(str_replace('{path}', $param['nodeName'], $l->t('Do you want to accept {path}? Note: The transfer process after accepting may take up to 1 hour.')));
|
||||
->setParsedMessage(str_replace('{path}', $param['nodeName'], $l->t("Do you want to accept {path}?\n\nNote: The transfer process after accepting may take up to 1 hour.")));
|
||||
|
||||
return $notification;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue