fix format for subject

darcs-hash:20080827004755-84dde-d3275abf281b1d4790806357d3d0bcba634f28f3.gz
This commit is contained in:
Evan Prodromou 2008-08-26 20:47:55 -04:00
parent b158658caa
commit 6a57f42606

View File

@ -160,11 +160,12 @@ class InviteAction extends Action {
$headers['From'] = mail_notify_from();
$headers['To'] = $email;
$headers['Subject'] = sprintf(_('%1s has invited you to join them on %2s'), $bestname, $sitename);
$headers['Subject'] = sprintf(_('%1$s has invited you to join them on %2$s'), $bestname, $sitename);
$body = sprintf(_("%1$s has invited you to join them on %2$s (%3$s).\n\n".
"%2$s is a micro-blogging service that lets you keep up-to-date with people you know and people who interest you.\n\n".
"You can also share news about yourself, your thoughts, or your life online with people who know about you.\n\n".
"You can also share news about yourself, your thoughts, or your life online with people who know about you. "
"It's also great for meeting new people who share your interests.\n\n".
"%1$s said:\n\n%4$s\n\n".
"You can see %1$s's profile page on %2$s here:\n\n".
"%5$s\n\n".
@ -172,7 +173,9 @@ class InviteAction extends Action {
"%6$s\n\n".
"If not, you can ignore this message. Thanks for your patience and your time.\n\n".
"Sincerely, %2$s\n"),
$bestname, $sitename, common_root_url(),
$bestname,
$sitename,
common_root_url(),
$personal,
common_local_url('showstream', array('nickname' => $user->nickname)),
common_local_url('register', array('code' => $invite->code)));