]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Ticket #2912 tweaks: clean up wording on the incoming email generator box a bit.
authorBrion Vibber <brion@pobox.com>
Wed, 1 Dec 2010 21:10:54 +0000 (13:10 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 1 Dec 2010 21:10:54 +0000 (13:10 -0800)
actions/emailsettings.php

index 02b6892e0f151c23dbc4c0c270cd37b1be1a1ac7..aae39f6afc897a0798f45081bcd50ae47978c834 100644 (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');