}
if (empty($this->group)) {
- $this->clientError('Group not found!', 404, $this->format);
+ $this->clientError(_('Group not found!'), 404, $this->format);
return false;
}
common_log_db_error($member, 'INSERT', __FILE__);
$this->serverError(
sprintf(
- _('Could not join user %s to group %s.'),
+ _('Could not join user %1$s to group %2$s.'),
$this->user->nickname,
$this->group->nickname
)
break;
default:
$this->clientError(
- _('API method not found!'),
+ _('API method not found.'),
404,
$this->format
);