X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FOStatus%2Factions%2Fgroupsalmon.php;h=d03803d620ee12f3f8975ed403515517c126cde9;hb=4ab995dd1ef9b1b4d22f27223a7d28b12895ff93;hp=a9838f6e1be48e6c16f20bbccf852a0f99e7be89;hpb=bf121a695a13c2b30abf57ea86afbe1e6c2420a7;p=quix0rs-gnu-social.git diff --git a/plugins/OStatus/actions/groupsalmon.php b/plugins/OStatus/actions/groupsalmon.php index a9838f6e1b..d03803d620 100644 --- a/plugins/OStatus/actions/groupsalmon.php +++ b/plugins/OStatus/actions/groupsalmon.php @@ -53,7 +53,7 @@ class GroupsalmonAction extends SalmonAction $oprofile = Ostatus_profile::staticGet('group_id', $id); if ($oprofile) { // TRANS: Client error. - $this->clientError(_m("Can't accept remote posts for a remote group.")); + $this->clientError(_m('Cannot accept remote posts for a remote group.')); } return true; @@ -74,7 +74,7 @@ class GroupsalmonAction extends SalmonAction break; default: // TRANS: Client exception. - throw new ClientException("Can't handle that kind of post."); + throw new ClientException('Cannot handle that kind of post.'); } // Notice must be to the attention of this group @@ -127,11 +127,11 @@ class GroupsalmonAction extends SalmonAction $oprofile = $this->ensureProfile(); if (!$oprofile) { // TRANS: Client error. - $this->clientError(_m("Can't read profile to set up group membership.")); + $this->clientError(_m('Cannot read profile to set up group membership.')); } if ($oprofile->isGroup()) { // TRANS: Client error. - $this->clientError(_m("Groups can't join groups.")); + $this->clientError(_m('Groups cannot join groups.')); } common_log(LOG_INFO, "Remote profile {$oprofile->uri} joining local group {$this->group->nickname}"); @@ -164,10 +164,10 @@ class GroupsalmonAction extends SalmonAction { $oprofile = $this->ensureProfile(); if (!$oprofile) { - $this->clientError(_m("Can't read profile to cancel group membership.")); + $this->clientError(_m('Cannot read profile to cancel group membership.')); } if ($oprofile->isGroup()) { - $this->clientError(_m("Groups can't join groups.")); + $this->clientError(_m('Groups cannot join groups.')); } common_log(LOG_INFO, "Remote profile {$oprofile->uri} leaving local group {$this->group->nickname}");