X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapistatusesshow.php;h=de4c4065c1ba9154765c9932132b4f852eabaf40;hb=b8b1fbb6b5cb3a044acab3487e0a041220bf263d;hp=9a7f36bb3a7a67dd6b0a73ba5ac30aca40b09aa1;hpb=47f31bce47b182aa55c02c7872d7e473d3ab10f2;p=quix0rs-gnu-social.git diff --git a/actions/apistatusesshow.php b/actions/apistatusesshow.php index 9a7f36bb3a..de4c4065c1 100644 --- a/actions/apistatusesshow.php +++ b/actions/apistatusesshow.php @@ -141,7 +141,7 @@ class ApiStatusesShowAction extends ApiPrivateAuthAction default: // TRANS: Exception thrown requesting an unsupported notice output format. // TRANS: %s is the requested output format. - throw new Exception(sprintf(_("Unsupported format: %s"), $this->format)); + throw new Exception(sprintf(_("Unsupported format: %s."), $this->format)); } } else { // XXX: Twitter just sets a 404 header and doens't bother @@ -224,7 +224,7 @@ class ApiStatusesShowAction extends ApiPrivateAuthAction { if ($this->format != 'atom') { // TRANS: Client error displayed when trying to delete a notice not using the Atom format. - $this->clientError(_("Can only delete using the Atom format.")); + $this->clientError(_('Can only delete using the Atom format.')); return; }