$profile = $this->user->getProfile();
if (empty($profile)) {
- // TRANS: Client error displayed if a user profile could not be found.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->clientError(_('User has no profile.'));
return;
}
$profile = $this->user->getProfile();
if (empty($profile)) {
- // TRANS: Client error displayed when a user has no profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->clientError(_('User has no profile.'));
return;
}
$profile = $this->user->getProfile();
if (empty($profile)) {
- // TRANS: Client error displayed a user has no profile updating profile colours.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->clientError(_('User has no profile.'));
return;
}
$profile = $this->user->getProfile();
if (empty($profile)) {
- // TRANS: Client error displayed if a user profile could not be found updating a profile image.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->clientError(_('User has no profile.'));
return;
}
$profile = $this->user->getProfile();
if (empty($profile)) {
- // TRANS: Client error displayed when requesting user information for a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->clientError(_('User has no profile.'));
return;
}
$profile = $this->user->getProfile();
if (empty($profile)) {
- // TRANS: Client error displayed when requesting user information for a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->clientError(_('User has no profile.'));
return;
}
}
$profile = $user->getProfile();
if (!$profile) {
- // TRANS: Client error displayed trying to get an avatar for a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->clientError(_('User has no profile.'));
return;
}
if (!$profile) {
common_log_db_error($user, 'SELECT', __FILE__);
- // TRANS: Server error displayed in avatar upload page when no matching profile can be found for a user.
- $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;
}
if (!$profile) {
common_log_db_error($user, 'SELECT', __FILE__);
- // TRANS: Server error displayed in avatar upload page when no matching profile can be found for a user.
- $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;
}
$this->profile = $this->user->getProfile();
if (!$this->profile) {
- // TRANS: Server error displayed when requesting Friends of a Friend feed for a user for which the profile could not be found.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'), 500);
return false;
}
if (!$profile) {
common_log_db_error($user, 'SELECT', __FILE__);
- // TRANS: Server error displayed coming across a request from a user without a profile.
- $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;
}
$this->profile = $this->user->getProfile();
if (!$this->profile) {
- // TRANS: Server error displayed when trying to get a user hCard for a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
$this->tagger = $this->user->getProfile();
if (!$this->tagger) {
- // TRANS: Server error displayed when a user has no profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
$this->tagged = $this->user->getProfile();
if (!$this->tagged) {
- // TRANS: Server error displayed when a user has no profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
$this->profile = $user->getProfile();
if (!$this->profile) {
- // TRANS: Server error displayed when a user has no profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
$profile = $user->getProfile();
if (!$profile) {
common_log_db_error($user, 'SELECT', __FILE__);
- // TRANS: Server error displayed on page for remote subscribe when user does not have a matching profile.
- $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;
}
$profile = $this->user->getProfile();
if (!$profile) {
- // TRANS: Server error displayed when trying to reply to a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
$profile = $user->getProfile();
if (!$profile) {
common_log_db_error($user, 'SELECT', __FILE__);
- // TRANS: Server error displayed when trying to authorise a remote subscription request
- // TRANS: while the user has no profile.
- $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;
}
$this->profile = $this->user->getProfile();
if (!$this->profile) {
- // TRANS: Server error displayed requesting groups for a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
$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.'));
+ // 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);
$this->profile = $this->user->getProfile();
if (!$this->profile) {
- // TRANS: Server error displayed when trying to perform a gallery action with a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
$this->profile = $this->user->getProfile();
if (!$this->profile) {
- // TRANS: Server error displayed when calling a profile action while the specified user does not have a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:LogFilter',
'rawdescription' =>
+ // TRANS: Plugin description.
_m('Provides server-side setting to filter log output by type or keyword.'));
return true;
$this->user = User::staticGet('nickname', $nickname);
if (!$this->user) {
+ // TRANS: Client error displayed when referring to a non-existing user.
$this->clientError(_m('No such user.'), 404);
return false;
}
$this->profile = $this->user->getProfile();
if (!$this->profile) {
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_m('User has no profile.'));
return false;
}
$this->profile = Profile::staticGet('id', $id);
if (!$this->profile) {
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_m('User has no profile.'));
return false;
}