lost the site name, and moved everything into sprintf of gettext
darcs-hash:20080712202903-84dde-e210b42815db5601579a0a890385762c3a54fe5e.gz
This commit is contained in:
parent
24e865aa72
commit
839222dcc8
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user