diff options
author | Sascha Wiswedel <sascha.wiswedel@nextcloud.com> | 2019-12-16 21:54:20 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-12-17 10:38:15 +0100 |
commit | a1df5d1e98f285b94b1c2a5338c41a70960785af (patch) | |
tree | 1c7875a72f2197af3ce7c02042c03d441faeb8a1 /apps | |
parent | e1382e2bc5ae98577662ffa5ffa6a17d538eec98 (diff) | |
download | nextcloud-server-a1df5d1e98f285b94b1c2a5338c41a70960785af.tar.gz nextcloud-server-a1df5d1e98f285b94b1c2a5338c41a70960785af.zip |
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>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/lib/Notification/Notifier.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/lib/Notification/Notifier.php b/apps/files/lib/Notification/Notifier.php index b8c7d172154..343ab606b80 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; } |