X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserbyid.php;h=b8ccd0108e0ab393248637a258998ef42dd63c4a;hb=0e2d9432b562604c6256029e9301f479a9d2005e;hp=f3e1556f3f143da067a6d259587b8e8edf493e47;hpb=f6bf9529805cd58fdd1671dd9b133bde05e8ae87;p=quix0rs-gnu-social.git diff --git a/actions/userbyid.php b/actions/userbyid.php index f3e1556f3f..b8ccd0108e 100644 --- a/actions/userbyid.php +++ b/actions/userbyid.php @@ -1,5 +1,4 @@ trimmed('id'); if (!$id) { + // TRANS: Client error displayed trying to find a user by ID without providing an ID. $this->clientError(_('No ID.')); } $user = User::staticGet($id); if (!$user) { + // TRANS: Client error displayed trying to find a user by ID for a non-existing ID. $this->clientError(_('No such user.')); }