if (!in_array($this->format, array('xml', 'json'))) {
$this->clientError(
- // TRANS: Client error displayed when trying to handle an unknown API method.
+ // TRANS: Client error displayed when coming across a non-supported API method.
_('API method not found.'),
404,
$this->format