summaryrefslogtreecommitdiff
path: root/actions/confirmaddress.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-04-10 01:48:16 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-04-10 01:48:16 +0200
commit518832da28456259bf9fc0030d26e1a090e30f67 (patch)
tree318244230374cc15cdb0da07e5a4ca29429160eb /actions/confirmaddress.php
parentc15549ff5a787a8014e54a50aa0fdfc0055ffcde (diff)
Document messages for which clarification was requested.
Diffstat (limited to 'actions/confirmaddress.php')
-rw-r--r--actions/confirmaddress.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/confirmaddress.php b/actions/confirmaddress.php
index dc17499f5..8bf8c8c4d 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'))) {
+ // 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;
}