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

index 504226143280bfff9f11e03b9cf2a5e3ca96632c..97faabae65ad9cd7f02ab1c5cc0cba3d04a21fa1 100644 (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);
         }