Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Wiswedel <sascha.wiswedel@nextcloud.com>2019-12-16 23:54:20 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-12-17 12:38:15 +0300
commita1df5d1e98f285b94b1c2a5338c41a70960785af (patch)
tree1c7875a72f2197af3ce7c02042c03d441faeb8a1 /apps/files/lib
parente1382e2bc5ae98577662ffa5ffa6a17d538eec98 (diff)
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/files/lib')
-rw-r--r--apps/files/lib/Notification/Notifier.php4
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;
}