]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/apilistusers.php
Update/add translator documentation.
[quix0rs-gnu-social.git] / lib / apilistusers.php
index e4451c7c41f96da2398146f718ca23fcaacd2ef9..04fc46730d9461beaefe4c26a3f0173f27b4133c 100644 (file)
@@ -63,7 +63,8 @@ class ApiListUsersAction extends ApiBareAuthAction
         $this->list = $this->getTargetList($this->arg('user'), $this->arg('list_id'));
 
         if (empty($this->list)) {
-            $this->clientError(_('Not found'), 404, $this->format);
+            // TRANS: Client error displayed when referring to a non-existing list.
+            $this->clientError(_('List not found.'), 404, $this->format);
             return false;
         }
 
@@ -144,6 +145,7 @@ class ApiListUsersAction extends ApiBareAuthAction
             break;
         default:
             $this->clientError(
+                // TRANS: Client error displayed when coming across a non-supported API method.
                 _('API method not found.'),
                 404,
                 $this->format
@@ -185,7 +187,6 @@ class ApiListUsersAction extends ApiBareAuthAction
      *
      * @return string etag
      */
-
     function etag()
     {
         if (!empty($this->list)) {
@@ -203,5 +204,4 @@ class ApiListUsersAction extends ApiBareAuthAction
 
         return null;
     }
-
 }