X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FOStatus%2Factions%2Fgroupsalmon.php;h=0a43c37237ff2942e1726f78d4f8b636b9366319;hb=4651c9d94a19bc66494255629833bf44fed455e0;hp=d03803d620ee12f3f8975ed403515517c126cde9;hpb=c13fbfb2d22cda9c2af55fbc2456de622e89650f;p=quix0rs-gnu-social.git diff --git a/plugins/OStatus/actions/groupsalmon.php b/plugins/OStatus/actions/groupsalmon.php index d03803d620..0a43c37237 100644 --- a/plugins/OStatus/actions/groupsalmon.php +++ b/plugins/OStatus/actions/groupsalmon.php @@ -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.')); }