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/twitapihelp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/twitapihelp.php') diff --git a/actions/twitapihelp.php b/actions/twitapihelp.php index 7695190fc..2ac4178de 100644 --- a/actions/twitapihelp.php +++ b/actions/twitapihelp.php @@ -42,14 +42,14 @@ class TwitapihelpAction extends TwitterapiAction { print '"ok"'; $this->end_document('json'); } else { - common_user_error("API method not found!", $code=404); + common_user_error(_('API method not found!'), $code=404); } exit(); } function downtime_schedule($args, $apidata) { parent::handle($args); - common_server_error("API method under construction.", $code=501); + common_server_error(_('API method under construction.'), $code=501); exit(); } -- cgit v1.2.3-54-g00ecf