]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/subedit.php
Merge activity plugin into mainline
[quix0rs-gnu-social.git] / actions / subedit.php
index 3b77aff584fc4b3446dc10a1fa08b531ae878459..7439904af0dd72e6fd118b2444661f4bc3752e83 100644 (file)
@@ -29,7 +29,7 @@ class SubeditAction extends Action
         parent::prepare($args);
 
         if (!common_logged_in()) {
-            // TRANS: Client error displayed trying a change a subscription 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;
         }
@@ -37,6 +37,7 @@ class SubeditAction extends Action
         $token = $this->trimmed('token');
 
         if (!$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 false;