fix interpolation of positional arguments to sprintf in show favorites
This commit is contained in:
parent
73fdec6c12
commit
019dad95e1
|
@ -74,9 +74,9 @@ class ShowfavoritesAction extends OwnerDesignAction
|
|||
function title()
|
||||
{
|
||||
if ($this->page == 1) {
|
||||
return sprintf(_("%s's favorite notices"), $this->user->nickname);
|
||||
return sprintf(_('%s\'s favorite notices'), $this->user->nickname);
|
||||
} 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->page);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user