From d57bc1b8e99a432d7f6425d0c8836a3c4928581a Mon Sep 17 00:00:00 2001 From: zach Date: Mon, 18 Aug 2008 20:29:03 -0400 Subject: Twitter-compatible API - running all strings through gettext() now darcs-hash:20080819002903-462f3-94e62891db9b9de049a918034742e545f663e840.gz --- actions/twitapiusers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/twitapiusers.php') diff --git a/actions/twitapiusers.php b/actions/twitapiusers.php index d66dc8863..233de3c21 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(); -- cgit v1.2.3-54-g00ecf