]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/userrss.php
Merge remote-tracking branch 'statusnet/master'
[quix0rs-gnu-social.git] / actions / userrss.php
index ba9f64f8ac70fee482ba5f0d6fcf9ab0d4434fb2..99330af57f7edf9e3b260f58ba23b8b3f6e640b8 100644 (file)
@@ -29,14 +29,13 @@ class UserrssAction extends Rss10Action
 
     function prepare($args)
     {
-        common_debug("UserrssAction");
-
         parent::prepare($args);
         $nickname   = $this->trimmed('nickname');
         $this->user = User::staticGet('nickname', $nickname);
         $this->tag  = $this->trimmed('tag');
 
         if (!$this->user) {
+            // TRANS: Client error displayed when user not found for an action.
             $this->clientError(_('No such user.'));
             return false;
         } else {
@@ -105,7 +104,8 @@ class UserrssAction extends Rss10Action
         $profile = $user->getProfile();
         if (!$profile) {
             common_log_db_error($user, 'SELECT', __FILE__);
-            $this->serverError(_('User without matching profile.'));
+            // TRANS: Error message displayed when referring to a user without a profile.
+            $this->serverError(_('User has no profile.'));
             return null;
         }
         $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);