From: Brion Vibber Date: Wed, 1 Dec 2010 21:10:54 +0000 (-0800) Subject: Ticket #2912 tweaks: clean up wording on the incoming email generator box a bit. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=36d605a1e9b8ca05c5f9342602731e11346f3447;p=quix0rs-gnu-social.git Ticket #2912 tweaks: clean up wording on the incoming email generator box a bit. --- diff --git a/actions/emailsettings.php b/actions/emailsettings.php index 02b6892e0f..aae39f6afc 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');