From: Evan Prodromou Date: Mon, 25 Jan 2010 03:56:41 +0000 (-0500) Subject: fix interpolation of positional arguments to sprintf in show favorites X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=019dad95e12191632a3828fb0950a80f305bbf01;p=quix0rs-gnu-social.git fix interpolation of positional arguments to sprintf in show favorites --- diff --git a/actions/showfavorites.php b/actions/showfavorites.php index 6023f01567..f2d0822936 100644 --- a/actions/showfavorites.php +++ b/actions/showfavorites.php @@ -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); }