From 4a252868162f5f5d42955b92ae93e3d8ea5e2a25 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 8 Jan 2020 09:43:29 +0000 Subject: [PATCH] Fixed notification text --- include/enotify.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/enotify.php b/include/enotify.php index 9206e32aa3..63006c509d 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -216,23 +216,26 @@ function notification($params) $item_post_type ); } - // "a post" + // "George Bull's post" } elseif ($params['activity']['explicit_tagged']) { - $dest_str = $l10n->t('%1$s tagged you on [url=%2$s]a %3$s[/url]', + $dest_str = $l10n->t('%1$s tagged you on [url=%2$s]%3$s\'s %4$s[/url]', '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]', $itemlink, + $item['author-name'], $item_post_type ); } elseif ($params['activity']['origin_comment']) { - $dest_str = $l10n->t('%1$s answered you on [url=%2$s]a %3$s[/url]', + $dest_str = $l10n->t('%1$s answered on [url=%2$s]%3$s\'s %4$s[/url]', '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]', $itemlink, + $item['author-name'], $item_post_type ); } else { - $dest_str = $l10n->t('%1$s commented on [url=%2$s]a %3$s[/url]', + $dest_str = $l10n->t('%1$s commented on [url=%2$s]%3$s\'s %4$s[/url]', '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]', $itemlink, + $item['author-name'], $item_post_type ); }