X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Frevokerole.php;h=c67b70fdafd5e22a3487464426e68ac3fdbb4419;hb=14a76926a225dec3d29aeffa13ab7ece74f708e5;hp=b78c1c25a4f2f8a04926dff64565cfe07fd9895d;hpb=0624f7fd702eff41f686e4e5121b9b2741e8ab0e;p=quix0rs-gnu-social.git diff --git a/actions/revokerole.php b/actions/revokerole.php index b78c1c25a4..c67b70fdaf 100644 --- a/actions/revokerole.php +++ b/actions/revokerole.php @@ -59,11 +59,11 @@ class RevokeRoleAction 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,7 +72,7 @@ class RevokeRoleAction extends ProfileFormAction assert(!empty($cur)); // checked by parent if (!$cur->hasRight(Right::REVOKEROLE)) { - $this->clientError(_("You cannot revoke user roles on this site.")); + $this->clientError(_('You cannot revoke user roles on this site.')); return false; }