fix interpolation of positional arguments to sprintf in inbox

This commit is contained in:
Evan Prodromou 2010-01-24 22:54:25 -05:00
parent 02526f1100
commit 9077db00a5

View File

@ -56,10 +56,10 @@ class InboxAction extends MailboxAction
function title() function title()
{ {
if ($this->page > 1) { if ($this->page > 1) {
return sprintf(_("Inbox for %1$s - page %2$d"), $this->user->nickname, return sprintf(_('Inbox for %1$s - page %2$d'), $this->user->nickname,
$this->page); $this->page);
} else { } else {
return sprintf(_("Inbox for %s"), $this->user->nickname); return sprintf(_('Inbox for %s'), $this->user->nickname);
} }
} }