X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapigroupjoin.php;h=a0c069974ba12bdbbf77d6640f9ddc08184a842b;hb=255ba42ef120a3ee0ac21c0c639730d8317b7e79;hp=374cf83df068c77506d025d7c66e3506fff69cf3;hpb=02a6006bafd663443b512c5c283b64c7dacfbbb1;p=quix0rs-gnu-social.git diff --git a/actions/apigroupjoin.php b/actions/apigroupjoin.php index 374cf83df0..a0c069974b 100644 --- a/actions/apigroupjoin.php +++ b/actions/apigroupjoin.php @@ -26,6 +26,7 @@ * @author Jeffery To * @author Zach Copley * @copyright 2009 StatusNet, Inc. + * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -88,6 +89,7 @@ class ApiGroupJoinAction extends ApiAuthAction if ($_SERVER['REQUEST_METHOD'] != 'POST') { $this->clientError( + // TRANS: Client error. POST is a HTTP command. It should not be translated. _('This method requires a POST.'), 400, $this->format @@ -101,7 +103,7 @@ class ApiGroupJoinAction extends ApiAuthAction } if (empty($this->group)) { - $this->clientError(_('Group not found!'), 404, $this->format); + $this->clientError(_('Group not found.'), 404, $this->format); return false; }