From b0a0c1ef4da159293236253e16eb0ba46a590d21 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 13 Jun 2012 20:03:18 -0700 Subject: couple of little fixes to enotify positional params --- include/enotify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/enotify.php') diff --git a/include/enotify.php b/include/enotify.php index aba2f8516..81f3e11eb 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -95,7 +95,7 @@ function notification($params) { // Before this we have the name of the replier on the subject rendering // differents subjects for messages on the same thread. - $subject = sprintf( t('[Friendica:Notify] Comment to conversation #%1$d by %1$s'), $parent_id, $params['source_name']); + $subject = sprintf( t('[Friendica:Notify] Comment to conversation #%1$d by %2$s'), $parent_id, $params['source_name']); $preamble = sprintf( t('%s commented on an item/conversation you have been following.'), $params['source_name']); $epreamble = $dest_str; @@ -108,7 +108,7 @@ function notification($params) { if($params['type'] == NOTIFY_WALL) { $subject = sprintf( t('[Friendica:Notify] %s posted to your profile wall') , $params['source_name']); - $preamble = sprintf( t('%1$s posted to your profile wall at %1$s') , $params['source_name'], $sitename); + $preamble = sprintf( t('%1$s posted to your profile wall at %2$s') , $params['source_name'], $sitename); $epreamble = sprintf( t('%1$s posted to [url=%2s]your wall[/url]') , '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]', -- cgit v1.2.3