X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftwitapiusers.php;h=233de3c217d790a7de1d350bc2d254e6e999f38d;hb=adeb19f1f7a82b17cee85ade1ac06fcd48e0d4cb;hp=d66dc8863280ddbc296ab3fbaaebbcd3910eafb3;hpb=93d25bec337ed20dd9576fda870c25d7c27420f3;p=quix0rs-gnu-social.git diff --git a/actions/twitapiusers.php b/actions/twitapiusers.php index d66dc88632..233de3c217 100644 --- a/actions/twitapiusers.php +++ b/actions/twitapiusers.php @@ -72,7 +72,7 @@ class TwitapiusersAction extends TwitterapiAction { if (!$user) { // XXX: Twitter returns a random(?) user instead of throwing and err! -- Zach - $this->client_error("User not found.", 404, $apidata['content-type']); + $this->client_error(_('User not found.'), 404, $apidata['content-type']); exit(); } @@ -119,7 +119,7 @@ class TwitapiusersAction extends TwitterapiAction { $this->show_twitter_json_users($twitter_user); $this->end_document('json'); } else { - common_user_error("API method not found!", $code = 404); + common_user_error(_('API method not found!'), $code = 404); } exit();