X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserrss.php;h=85ea2fd7fa4213722084a5eb904abf29a2225025;hb=7150c54a3f437043eac95d57ac9fc0672adef564;hp=ba9f64f8ac70fee482ba5f0d6fcf9ab0d4434fb2;hpb=c1a27922ba738f71b100a520e5db6f32985a307b;p=quix0rs-gnu-social.git diff --git a/actions/userrss.php b/actions/userrss.php index ba9f64f8ac..85ea2fd7fa 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,7 +106,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);