X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fconfirmaddress.php;h=8bf8c8c4d4d7a75de8c27ba5029421d88b3c0aac;hb=1eeb23e1e3b77de056791a74cd3e4f5c02d68510;hp=cc8351d8dcc0309ae593b77e120688fb571602c9;hpb=4c320872d92e4323c2566013034dbea45b309065;p=quix0rs-gnu-social.git diff --git a/actions/confirmaddress.php b/actions/confirmaddress.php index cc8351d8dc..8bf8c8c4d4 100644 --- a/actions/confirmaddress.php +++ b/actions/confirmaddress.php @@ -87,10 +87,12 @@ class ConfirmaddressAction extends Action } $type = $confirm->address_type; if (!in_array($type, array('email', 'jabber', 'sms'))) { - $this->serverError(sprintf(_('Unrecognized address type %s'), $type)); + // TRANS: Server error for an unknow address type, which can be 'email', 'jabber', or 'sms'. + $this->serverError(sprintf(_('Unrecognized address type %s.'), $type)); return; } if ($cur->$type == $confirm->address) { + // TRANS: Client error for an already confirmed email/jabbel/sms address. $this->clientError(_('That address has already been confirmed.')); return; }