X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FUserFlag%2Fadminprofileflag.php;h=d9e57cfc4b1a247d3446b733e0f292e1fdf4ccff;hb=d594c83a5a9a9d42fce917b544c28591fcadb1aa;hp=1aafa3c1bf4394255d7999210de0232b3ee86c78;hpb=c97048d01bea468e0cf8865b60c3c250b4515c39;p=quix0rs-gnu-social.git diff --git a/plugins/UserFlag/adminprofileflag.php b/plugins/UserFlag/adminprofileflag.php index 1aafa3c1bf..d9e57cfc4b 100644 --- a/plugins/UserFlag/adminprofileflag.php +++ b/plugins/UserFlag/adminprofileflag.php @@ -86,6 +86,7 @@ class AdminprofileflagAction extends Action // User must have the right to review flags if (!$user->hasRight(UserFlagPlugin::REVIEWFLAGS)) { + // TRANS: Error message displayed when trying to review profile flags while not authorised. $this->clientError(_m('You cannot review profile flags.')); return false; } @@ -385,7 +386,7 @@ class FlaggedProfileListItem extends ProfileListItem $flagging_users = implode(', ', $lnks); // TRANS: Message displayed on a profile if it has been flagged. // TRANS: %1$s is a comma separated list of at most 5 user nicknames that flagged. - // TRANS: %2$d is a positive integer of additional flagging users. Also used for the plural. + // TRANS: %2$d is a positive integer of additional flagging users. Also used for plural. $text .= sprintf(_m('Flagged by %1$s and %2$d other', 'Flagged by %1$s and %2$d others', $others), $flagging_users, $others); } else { // TRANS: Message displayed on a profile if it has been flagged.