]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_notify.php
update source strings
[friendica.git] / mod / dfrn_notify.php
index f447b54533b06b7bbc3aed7020f155414f9ebebe..f288e9bebe6630f9462eefa8a8abd0e53d7f4253 100644 (file)
@@ -385,7 +385,7 @@ function dfrn_notify_post(&$a) {
                                                                '$body' => html_entity_decode(strip_tags(bbcode(stripslashes($datarray['body']))), ENT_QUOTES, 'UTF-8')
                                                        ));
        
-                                                       $res = mail($importer['email'], $from . t(' commented on an item at ') . $a->config['sitename'],
+                                                       $res = mail($importer['email'], sprintf(t('%s commented on an item at %s'), $from , $a->config['sitename']),
                                                                $email_tpl, "From: " . t('Administrator') . '@' . $a->get_hostname() );
                                                }
                                        }
@@ -471,8 +471,7 @@ function dfrn_notify_post(&$a) {
                                                                '$body' => html_entity_decode(strip_tags(bbcode(stripslashes($datarray['body']))), ENT_QUOTES, 'UTF-8')
                                                        ));
 
-                                                       $res = mail($importer['email'], $from . t(" commented on an item at ") 
-                                                               . $a->config['sitename'],
+                                                       $res = mail($importer['email'], sprintf(t("%s commented on an item at %s"), $from ,$a->config['sitename']),
                                                                $email_tpl,t("From: Administrator@") . $a->get_hostname() );
                                                        break;
                                                }