diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-12 16:29:03 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-12 16:29:03 -0400 |
commit | 839222dcc8b9f0ecd83f2f5d9bef3bcd77d44113 (patch) | |
tree | 8cba84cdcc9b051550d8515f45b476215ec82d1a | |
parent | 24e865aa72ed393be484cc903cdf010dfe97b06c (diff) |
lost the site name, and moved everything into sprintf of gettext
darcs-hash:20080712202903-84dde-e210b42815db5601579a0a890385762c3a54fe5e.gz
-rw-r--r-- | actions/subscribe.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/actions/subscribe.php b/actions/subscribe.php index 4de831990..4a17e302f 100644 --- a/actions/subscribe.php +++ b/actions/subscribe.php @@ -83,14 +83,9 @@ class SubscribeAction extends Action { $headers['To'] = $name . ' <' . $listenee->email . '>'; $headers['Subject'] = sprintf(_('%1$s is now listening to your notices on %2$s.'), $other->getBestName(), common_config('site', 'name')); - $body = sprintf(_('%1$s is now listening to your notices on %2$s.'), $long_name, common_config('site', 'name')); - $body .= "\n\n"; - $body .= "\t".$other->profileurl; - $body .= "\n\n"; - $body .= _('Faithfully yours, '); - $body .= "\n"; - $body .= $config['site']['name']; - $body .= "\n"; + $body = sprintf(_("%1$s is now listening to your notices on %2$s.\n\n". + "\t3$s\n\n". + "Faithfully yours,\n%2$s\n"), $long_name, common_config('site', 'name'), $other->profileurl); mail_send($recipients, $headers, $body); } |