fix interpolation of positional arguments to sprintf in usergroups

This commit is contained in:
Evan Prodromou 2010-01-24 22:55:29 -05:00
parent 9077db00a5
commit 73fdec6c12

View File

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