X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgroupblock.php;h=a597d47c29dbc67eaa0f6ea6bfcd4c631826e004;hb=8e501584b4537750fbd0ca3954e1426b723d5dad;hp=d426563d8cf38999bc30a0729409283c09664a35;hpb=b7d07466943a73e1c009467c8daa6e499810080f;p=quix0rs-gnu-social.git diff --git a/actions/groupblock.php b/actions/groupblock.php index d426563d8c..a597d47c29 100644 --- a/actions/groupblock.php +++ b/actions/groupblock.php @@ -56,12 +56,13 @@ class GroupblockAction extends RedirectingAction { parent::prepare($args); if (!common_logged_in()) { - // TRANS: Client error displayed trying to block a user from a group while not logged in. + // TRANS: Error message displayed when trying to perform an action that requires a logged in user. $this->clientError(_('Not logged in.')); return false; } $token = $this->trimmed('token'); if (empty($token) || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. Try again, please.')); return; }