]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/favor.php
add activitystreams links to other actions
[quix0rs-gnu-social.git] / actions / favor.php
index 61db235738976a00901c9d9eaa842683329e3db7..39d7735d0085a4a43cbab0d9bf0ef92f9a0adb6f 100644 (file)
@@ -58,7 +58,7 @@ class FavorAction extends Action
     {
         parent::handle($args);
         if (!common_logged_in()) {
-            // TRANS: Client error displayed when trying to mark a notice as favorite without being logged in.
+            // TRANS: Error message displayed when trying to perform an action that requires a logged in user.
             $this->clientError(_('Not logged in.'));
             return;
         }
@@ -72,6 +72,7 @@ class FavorAction extends Action
         $notice = Notice::staticGet($id);
         $token  = $this->trimmed('token-'.$notice->id);
         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;
         }