]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapiusers.php
clean up username entered at login
[quix0rs-gnu-social.git] / actions / twitapiusers.php
index d66dc8863280ddbc296ab3fbaaebbcd3910eafb3..233de3c217d790a7de1d350bc2d254e6e999f38d 100644 (file)
@@ -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();