X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserbyid.php;h=b8ccd0108e0ab393248637a258998ef42dd63c4a;hb=5eba1030ae39038b7b6b0aad5de1043fae43e48d;hp=f3e1556f3f143da067a6d259587b8e8edf493e47;hpb=f4459dfedcdea2f2a6078bedf9530deb45b6d52c;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.')); }