fix interpolation of positional arguments to sprintf in show favorites

This commit is contained in:
Evan Prodromou 2010-01-24 22:56:41 -05:00
parent 73fdec6c12
commit 019dad95e1

View File

@ -74,9 +74,9 @@ class ShowfavoritesAction extends OwnerDesignAction
function title() function title()
{ {
if ($this->page == 1) { if ($this->page == 1) {
return sprintf(_("%s's favorite notices"), $this->user->nickname); return sprintf(_('%s\'s favorite notices'), $this->user->nickname);
} else { } else {
return sprintf(_("%1$s's favorite notices, page %2$d"), return sprintf(_('%1$s\'s favorite notices, page %2$d'),
$this->user->nickname, $this->user->nickname,
$this->page); $this->page);
} }