Fix L10n/i18n.

Some remaining people tag -> list.
Favor -> like
Update translator documentation.
Whitespace updates.
This commit is contained in:
Siebrand Mazeland
2011-04-29 18:59:47 +02:00
parent c13fbfb2d2
commit 4651c9d94a
14 changed files with 106 additions and 50 deletions

View File

@@ -144,6 +144,7 @@ class GroupsalmonAction extends SalmonAction
}
if (Group_block::isBlocked($this->group, $profile)) {
// TRANS: Client error displayed when trying to join a group the user is blocked from by a group admin.
$this->clientError(_m('You have been blocked from that group by the admin.'), 403);
return false;
}
@@ -164,9 +165,12 @@ class GroupsalmonAction extends SalmonAction
{
$oprofile = $this->ensureProfile();
if (!$oprofile) {
// TRANS: Client error displayed when group membership cannot be cancelled
// TRANS: because the remote profile could not be read.
$this->clientError(_m('Cannot read profile to cancel group membership.'));
}
if ($oprofile->isGroup()) {
// TRANS: Client error displayed when trying to have a group join another group.
$this->clientError(_m('Groups cannot join groups.'));
}