diff options
author | zach <zach@controlyourself.ca> | 2008-08-18 20:29:03 -0400 |
---|---|---|
committer | zach <zach@controlyourself.ca> | 2008-08-18 20:29:03 -0400 |
commit | d57bc1b8e99a432d7f6425d0c8836a3c4928581a (patch) | |
tree | 199dcc3c641aaef424563bda2c2d25acf93f21ef /actions/twitapihelp.php | |
parent | c2a2da69667c2c18e26aabe757bd13ee6283b251 (diff) |
Twitter-compatible API - running all strings through gettext() now
darcs-hash:20080819002903-462f3-94e62891db9b9de049a918034742e545f663e840.gz
Diffstat (limited to 'actions/twitapihelp.php')
-rw-r--r-- | actions/twitapihelp.php | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |