]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix interpolation of positional arguments to sprintf in show favorites
authorEvan Prodromou <evan@status.net>
Mon, 25 Jan 2010 03:56:41 +0000 (22:56 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 25 Jan 2010 03:56:41 +0000 (22:56 -0500)
actions/showfavorites.php

index 6023f015678185bfe18c680d5a5b1458840a6912..f2d0822936bc562c9014b4b531ec2eb3d2fdaf17 100644 (file)
@@ -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);
         }