diff options
author | Friendika <info@friendika.com> | 2011-03-18 05:07:42 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-18 05:07:42 -0700 |
commit | 9838245c6c9b2e311650b53a1c3aa1ef778ef935 (patch) | |
tree | ceb9f5edd50cd039e28362a59c4c2d354bb88e67 /mod/dfrn_notify.php | |
parent | 43234a667878327a825914070884161c6d57271e (diff) | |
parent | e307846c2d89cf450ed2e7ddf8f325f5f4581f8f (diff) | |
download | volse-hubzilla-9838245c6c9b2e311650b53a1c3aa1ef778ef935.tar.gz volse-hubzilla-9838245c6c9b2e311650b53a1c3aa1ef778ef935.tar.bz2 volse-hubzilla-9838245c6c9b2e311650b53a1c3aa1ef778ef935.zip |
Merge branch 'gettext' of https://github.com/fabrixxm/friendika into fabrixxm-gettext
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r-- | mod/dfrn_notify.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index f447b5453..2cc5a62f3 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -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,9 +471,8 @@ 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'], - $email_tpl,t("From: Administrator@") . $a->get_hostname() ); + $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() ); break; } } |