fix interpolation of positional arguments to sprintf in outbox

This commit is contained in:
Evan Prodromou 2010-01-24 22:53:29 -05:00
parent fc7afed924
commit 02526f1100

View File

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