diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-01 13:10:54 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-01 13:10:54 -0800 |
commit | 36d605a1e9b8ca05c5f9342602731e11346f3447 (patch) | |
tree | 3e7164a6f22209def8d39347a84ecef6bd1a13ee /actions/emailsettings.php | |
parent | 3048f9100dcaab0c929cfb2e2950f4da74181847 (diff) |
Ticket #2912 tweaks: clean up wording on the incoming email generator box a bit.
Diffstat (limited to 'actions/emailsettings.php')
-rw-r--r-- | actions/emailsettings.php | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/actions/emailsettings.php b/actions/emailsettings.php index 02b6892e0..aae39f6af 100644 --- a/actions/emailsettings.php +++ b/actions/emailsettings.php @@ -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'); |