diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-03-11 00:22:21 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-03-11 00:22:21 +0100 |
commit | 9f7878057f356ba785de26877a660bb025cae31d (patch) | |
tree | 8682db6a66be0e5c663a279e6e2adb5f5765c022 /mod/item.php | |
parent | 89781ba428f553e8eb4f415832e7e575adf141e0 (diff) | |
download | volse-hubzilla-9f7878057f356ba785de26877a660bb025cae31d.tar.gz volse-hubzilla-9f7878057f356ba785de26877a660bb025cae31d.tar.bz2 volse-hubzilla-9f7878057f356ba785de26877a660bb025cae31d.zip |
update source strings
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/item.php b/mod/item.php index 5989d0967..9e03e76cd 100644 --- a/mod/item.php +++ b/mod/item.php @@ -419,8 +419,8 @@ function item_post(&$a) { '$body' => strip_tags(bbcode($datarray['body'])) )); - $res = mail($user['email'], $from . t(" commented on your item at ") . $a->config['sitename'], - $email_tpl,t("From: Administrator@") . $a->get_hostname() ); + $res = mail($user['email'], sprintf(t("%s commented on your item at %s"),$from,$a->config['sitename']), + $email_tpl,"From: " . t("Administrator") . "@" . $a->get_hostname() ); } } else { @@ -442,8 +442,8 @@ function item_post(&$a) { '$body' => strip_tags(bbcode($datarray['body'])) )); - $res = mail($user['email'], $from . t(" posted on your profile wall at ") . $a->config['sitename'], - $email_tpl,t("From: Administrator@") . $a->get_hostname() ); + $res = mail($user['email'], sprintf(t("%s posted on your profile wall at %s"),$from, $a->config['sitename']), + $email_tpl,"From: " . t("Administrator@") . "@" . $a->get_hostname() ); } } @@ -486,13 +486,13 @@ function item_post(&$a) { $addr = trim($recip); if(! strlen($addr)) continue; - $disclaimer = '<hr />' . t('This message was sent to you by ') . $a->user['username'] - . t(', a member of the Friendika social network.') . '<br />'; + $disclaimer = '<hr />' . sprintf(t('This message was sent to you by %s, a member of the Friendika social network.'),$a->user['username']) + . '<br />'; $disclaimer .= t('You may visit them online at') . ' ' . $a->get_baseurl() . '/profile/' . $a->user['nickname'] . '<br />'; $disclaimer .= t('Please contact the sender by replying to this post if you do not wish to receive these messages.') . '<br />'; - $subject = '[Friendika]' . ' ' . $a->user['username'] . ' ' . t('posted an update.'); + $subject = '[Friendika]' . ' ' . sprintf( t('%s posted an update.'),$a->user['username']); $headers = 'From: ' . $a->user['username'] . ' <' . $a->user['email'] . '>' . "\n"; $headers .= 'MIME-Version: 1.0' . "\n"; $headers .= 'Content-Type: text/html; charset=UTF-8' . "\n"; |