summaryrefslogtreecommitdiff
path: root/actions/twitapiusers.php
diff options
context:
space:
mode:
authorzach <zach@controlyourself.ca>2008-08-18 20:29:03 -0400
committerzach <zach@controlyourself.ca>2008-08-18 20:29:03 -0400
commitd57bc1b8e99a432d7f6425d0c8836a3c4928581a (patch)
tree199dcc3c641aaef424563bda2c2d25acf93f21ef /actions/twitapiusers.php
parentc2a2da69667c2c18e26aabe757bd13ee6283b251 (diff)
Twitter-compatible API - running all strings through gettext() now
darcs-hash:20080819002903-462f3-94e62891db9b9de049a918034742e545f663e840.gz
Diffstat (limited to 'actions/twitapiusers.php')
-rw-r--r--actions/twitapiusers.php4
1 files changed, 2 insertions, 2 deletions
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();