summaryrefslogtreecommitdiff
path: root/actions/joingroup.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/joingroup.php')
-rw-r--r--actions/joingroup.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/joingroup.php b/actions/joingroup.php
index bf69b2ad1..05e33e7cb 100644
--- a/actions/joingroup.php
+++ b/actions/joingroup.php
@@ -73,21 +73,21 @@ class JoingroupAction extends Action
}
if (!$nickname) {
- $this->clientError(_('No nickname'), 404);
+ $this->clientError(_('No nickname.'), 404);
return false;
}
$this->group = User_group::staticGet('nickname', $nickname);
if (!$this->group) {
- $this->clientError(_('No such group'), 404);
+ $this->clientError(_('No such group.'), 404);
return false;
}
$cur = common_current_user();
if ($cur->isMember($this->group)) {
- $this->clientError(_('You are already a member of that group'), 403);
+ $this->clientError(_('You are already a member of that group.'), 403);
return false;
}
@@ -125,14 +125,14 @@ class JoingroupAction extends Action
if (!$result) {
common_log_db_error($member, 'INSERT', __FILE__);
- $this->serverError(sprintf(_('Could not join user %s to group %s'),
+ $this->serverError(sprintf(_('Could not join user %1$s to group %2$s.'),
$cur->nickname, $this->group->nickname));
}
if ($this->boolean('ajax')) {
$this->startHTML('text/xml;charset=utf-8');
$this->elementStart('head');
- $this->element('title', null, sprintf(_('%s joined group %s'),
+ $this->element('title', null, sprintf(_('%1$s joined group %2$s'),
$cur->nickname,
$this->group->nickname));
$this->elementEnd('head');