From a1df5d1e98f285b94b1c2a5338c41a70960785af Mon Sep 17 00:00:00 2001 From: Sascha Wiswedel Date: Mon, 16 Dec 2019 21:54:20 +0100 Subject: [PATCH] added line breaks to incoming transfer notification wrapped notifications into double quotes to make line breaks possible Signed-off-by: Sascha Wiswedel --- apps/files/lib/Notification/Notifier.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files/lib/Notification/Notifier.php b/apps/files/lib/Notification/Notifier.php index b8c7d17215..343ab606b8 100644 --- a/apps/files/lib/Notification/Notifier.php +++ b/apps/files/lib/Notification/Notifier.php @@ -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; }