diff options
author | Evan Prodromou <evan@status.net> | 2010-01-10 14:18:54 -0800 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-10 14:18:54 -0800 |
commit | 15b88697a7c182faead1bbddfe38b59fdc54a0a2 (patch) | |
tree | 69b41257e797a7919ffa8ee77619805957d0abe8 /actions/makeadmin.php | |
parent | 866dfa6822df54765a9b92336722d86cfad6b123 (diff) | |
parent | 63eddf216fac848aa2b7afbbafb0fcc4bf8b7d79 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/makeadmin.php')
-rw-r--r-- | actions/makeadmin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/makeadmin.php b/actions/makeadmin.php index 2dfddebc2..9ad7d6e7c 100644 --- a/actions/makeadmin.php +++ b/actions/makeadmin.php @@ -92,7 +92,7 @@ class MakeadminAction extends Action return false; } if ($this->profile->isAdmin($this->group)) { - $this->clientError(sprintf(_('%s is already an admin for group "%s".'), + $this->clientError(sprintf(_('%1$s is already an admin for group "%2$s".'), $this->profile->getBestName(), $this->group->getBestName()), 401); @@ -129,7 +129,7 @@ class MakeadminAction extends Action 'profile_id' => $this->profile->id)); if (empty($member)) { - $this->serverError(_('Can\'t get membership record for %s in group %s'), + $this->serverError(_('Can\'t get membership record for %1$s in group %2$s.'), $this->profile->getBestName(), $this->group->getBestName()); } @@ -142,7 +142,7 @@ class MakeadminAction extends Action if (!$result) { common_log_db_error($member, 'UPDATE', __FILE__); - $this->serverError(_('Can\'t make %s an admin for group %s'), + $this->serverError(_('Can\'t make %1$s an admin for group %2$s.'), $this->profile->getBestName(), $this->group->getBestName()); } |