Ticket #2912 tweaks: clean up wording on the incoming email generator box a bit.

This commit is contained in:
Brion Vibber 2010-12-01 13:10:54 -08:00
parent 3048f9100d
commit 36d605a1e9
1 changed files with 10 additions and 4 deletions

View File

@ -173,11 +173,17 @@ class EmailsettingsAction extends AccountSettingsAction
}
$this->elementStart('p');
$this->element('span', 'input_instructions',
// TRANS: Instructions for incoming e-mail address input form.
_('Make a new email address for posting to; '.
'cancels the old one.'));
if ($user->incomingemail) {
// TRANS: Instructions for incoming e-mail address input form, when an address has already been assigned.
$msg = _('Make a new email address for posting to; '.
'cancels the old one.');
} else {
// TRANS: Instructions for incoming e-mail address input form.
$msg = _('To send notices via email, we need to create a unique email address for you on this server:');
}
$this->element('span', 'input_instructions', $msg);
$this->elementEnd('p');
// TRANS: Button label for adding an e-mail address to send notices from.
$this->submit('newincoming', _m('BUTTON','New'));
$this->elementEnd('fieldset');