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()
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user