From 839222dcc8b9f0ecd83f2f5d9bef3bcd77d44113 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 12 Jul 2008 16:29:03 -0400 Subject: [PATCH] lost the site name, and moved everything into sprintf of gettext darcs-hash:20080712202903-84dde-e210b42815db5601579a0a890385762c3a54fe5e.gz --- actions/subscribe.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/actions/subscribe.php b/actions/subscribe.php index 4de831990c..4a17e302f4 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); } -- 2.39.5