summaryrefslogtreecommitdiffstats
path: root/apps/comments/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-10-08 01:17:51 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-10-08 01:17:51 +0200
commita9671a4dc2cc904ebb852c7804204ac9f245017e (patch)
treee6f7befe187c74cf96c5977e4a79cbca61ac66c5 /apps/comments/lib
parenta35d4e7b44764c2eebec77c8b4e8de2636c60cad (diff)
downloadnextcloud-server-a9671a4dc2cc904ebb852c7804204ac9f245017e.tar.gz
nextcloud-server-a9671a4dc2cc904ebb852c7804204ac9f245017e.zip
adjust wording of the notification
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/comments/lib')
-rw-r--r--apps/comments/lib/Notification/Notifier.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/comments/lib/Notification/Notifier.php b/apps/comments/lib/Notification/Notifier.php
index df05f297301..3838a18f9f1 100644
--- a/apps/comments/lib/Notification/Notifier.php
+++ b/apps/comments/lib/Notification/Notifier.php
@@ -93,13 +93,13 @@ class Notifier implements INotifier {
$fileName = $nodes[0]->getName();
if($isDeletedActor) {
$subject = (string) $l->t(
- 'You were mentioned in a comment on "%s" by a now deleted user.',
+ 'A (now) deleted user mentioned you in a comment on "%s".',
[ $fileName ]
);
} else {
$subject = (string) $l->t(
- 'You were mentioned in a comment on "%s" by %s.',
- [ $fileName, $displayName ]
+ '%s mentioned you in a comment on "%s".',
+ [ $displayName, $fileName ]
);
}
$notification->setParsedSubject($subject);