]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/makeadmin.php
Fix translator documentation.
[quix0rs-gnu-social.git] / actions / makeadmin.php
index 3613e1eb708f1e80a7dead7e9628f0e46d28b000..8ec8a7ce0c777dd900fef77f420d6e7cd7d60463 100644 (file)
@@ -58,12 +58,13 @@ class MakeadminAction extends RedirectingAction
     {
         parent::prepare($args);
         if (!common_logged_in()) {
-            // TRANS: Client error displayed when trying to access the "make admin" page 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;
         }