diff options
author | Evan Prodromou <evan@status.net> | 2010-04-30 15:00:55 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-04-30 15:00:55 -0400 |
commit | 3f2c805652cd641f82af41cd5f92cb54d0457a59 (patch) | |
tree | ead13aee17392f4fa9f03ba61ab30ba3b247ee2e /actions/grantrole.php | |
parent | 50bfa218141a30c5041957aae60b9be78fe74950 (diff) | |
parent | ecfe6b89443227854c057bb45b107368b860ad02 (diff) |
Merge branch 'master' of gitorious.org:statusnet/mainline
Diffstat (limited to 'actions/grantrole.php')
-rw-r--r-- | actions/grantrole.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/grantrole.php b/actions/grantrole.php index cd6bd4d79..b8b23d02e 100644 --- a/actions/grantrole.php +++ b/actions/grantrole.php @@ -59,11 +59,11 @@ class GrantRoleAction extends ProfileFormAction $this->role = $this->arg('role'); if (!Profile_role::isValid($this->role)) { - $this->clientError(_("Invalid role.")); + $this->clientError(_('Invalid role.')); return false; } if (!Profile_role::isSettable($this->role)) { - $this->clientError(_("This role is reserved and cannot be set.")); + $this->clientError(_('This role is reserved and cannot be set.')); return false; } @@ -72,14 +72,14 @@ class GrantRoleAction extends ProfileFormAction assert(!empty($cur)); // checked by parent if (!$cur->hasRight(Right::GRANTROLE)) { - $this->clientError(_("You cannot grant user roles on this site.")); + $this->clientError(_('You cannot grant user roles on this site.')); return false; } assert(!empty($this->profile)); // checked by parent if ($this->profile->hasRole($this->role)) { - $this->clientError(_("User already has this role.")); + $this->clientError(_('User already has this role.')); return false; } |