X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserrss.php;h=b60cc5e0c7100982f0f37f518fccecf29777d513;hb=69e1bd3a58da8a2f9f8eefe8b61d94c9e2f6f71c;hp=b7078fcaf886a2967a11cc3d2b058b89cf6f37c2;hpb=1e1f405795d1b0e40166726322abdffeb8f3b6a7;p=quix0rs-gnu-social.git diff --git a/actions/userrss.php b/actions/userrss.php index b7078fcaf8..b60cc5e0c7 100644 --- a/actions/userrss.php +++ b/actions/userrss.php @@ -37,6 +37,7 @@ class UserrssAction extends Rss10Action $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,6 +106,7 @@ class UserrssAction extends Rss10Action $profile = $user->getProfile(); if (!$profile) { common_log_db_error($user, 'SELECT', __FILE__); + // TRANS: Server error displayed in user RSS when user does not have a matching profile. $this->serverError(_('User without matching profile.')); return null; } @@ -112,7 +114,7 @@ class UserrssAction extends Rss10Action return ($avatar) ? $avatar->url : null; } - # override parent to add X-SUP-ID URL + // override parent to add X-SUP-ID URL function initRss($limit=0) {