From: friendica Date: Thu, 14 Jun 2012 03:03:18 +0000 (-0700) Subject: couple of little fixes to enotify positional params X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0a0c1ef4da159293236253e16eb0ba46a590d21;p=friendica.git couple of little fixes to enotify positional params --- diff --git a/include/enotify.php b/include/enotify.php index aba2f85163..81f3e11eb4 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]',