]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusesretweet.php
@evan Fixed message domain for messages in plugins for recent commits.
[quix0rs-gnu-social.git] / actions / apistatusesretweet.php
index 2bc9092ba6f42aa02313a03fbf904d52e5136019..6e6ebb038f8c83d6b8aa755fc4f6b738a4512aed 100644 (file)
@@ -89,6 +89,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
 
         if ($this->original->scope != Notice::SITE_SCOPE &&
             $this->original->scope != Notice::PUBLIC_SCOPE) {
+            // TRANS: Client error displayed when trying to repeat a private notice.
             $this->clientError(_('You may not repeat a private notice.'),
                                403,
                                $this->format);
@@ -100,6 +101,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
         // Can the profile actually see that notice?
 
         if (!$this->original->inScope($profile)) {
+            // TRANS: Client error displayed when trying to repeat a notice the user has no access to.
             $this->clientError(_('No access to that notice.'),
                                403,
                                $this->format);