diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-01-10 01:45:58 +0100 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-01-10 01:45:58 +0100 |
commit | b0aea3f9c1cf9a6402bcb2751ac767445103a70b (patch) | |
tree | 4b91baa2bc8c6996ac5f7cd697e154e9074372ad /actions/makeadmin.php | |
parent | 954335fa5e18b003e20cd43e71fb690181095101 (diff) |
* L10n updates: consistent puctuation
* i18n updates: number parameters if more than one are being used
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..250ade221 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()); } |