]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
Merge pull request #351 from annando/master
[friendica.git] / include / enotify.php
index 89ecc3703fff966929ffd84aab5603383e1d98d7..134e42f8e3b25345d1a040019d99e2e883167c2e 100644 (file)
@@ -80,7 +80,7 @@ function notification($params) {
                        $dest_str = sprintf(t('%1$s commented on [url=%2$s]%3$s\'s %4$s[/url]'),
                                                '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]',
                                                $itemlink,
-                                               $p[0]['author-name']
+                                               $p[0]['author-name'],
                                                $item_post_type);
                
                // "your post"
@@ -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]',
@@ -123,7 +123,7 @@ function notification($params) {
        if($params['type'] == NOTIFY_TAGSELF) {
                $subject =      sprintf( t('[Friendica:Notify] %s tagged you') , $params['source_name']);
                $preamble = sprintf( t('%1$s tagged you at %2$s') , $params['source_name'], $sitename);
-               $epreamble = sprintf( t('%1$s [url=%2s]tagged you[/url].') , 
+               $epreamble = sprintf( t('%1$s [url=%2$s]tagged you[/url].') , 
                                                                '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]',
                                                                $params['link']);