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/twitapidirect_messages.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'actions/twitapidirect_messages.php') diff --git a/actions/twitapidirect_messages.php b/actions/twitapidirect_messages.php index 9a84082e6..aad055fbf 100644 --- a/actions/twitapidirect_messages.php +++ b/actions/twitapidirect_messages.php @@ -40,26 +40,26 @@ class Twitapidirect_messagesAction extends TwitterapiAction { function direct_messages($args, $apidata) { parent::handle($args); - common_server_error("API method under construction.", $code=501); + common_server_error(_('API method under construction.'), $code=501); exit(); } function sent($args, $apidata) { parent::handle($args); - common_server_error("API method under construction.", $code=501); + common_server_error(_('API method under construction.'), $code=501); exit(); } # had to change this from "new" to "create" to avoid PHP reserved word function create($args, $apidata) { parent::handle($args); - common_server_error("API method under construction.", $code=501); + common_server_error(_('API method under construction.'), $code=501); exit(); } function destroy($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