[TASK] EXT:form - add email finishers explanations 47/53547/2
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Wed, 5 Jul 2017 10:34:00 +0000 (12:34 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 19 Jul 2017 18:53:58 +0000 (20:53 +0200)
Reduce confusion caused by the naming of the email finishers and
add some explanations to the recipient address/name and
sender address/name properties.

Resolves: #81798
Releases: master, 8.7
Change-Id: I0dc12e2983d7cb1204bdfc9709265c8c034a58f6
Reviewed-on: https://review.typo3.org/53547
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml
typo3/sysext/form/Resources/Private/Language/Database.xlf

index ad469df..7efcbcf 100644 (file)
@@ -203,12 +203,16 @@ TYPO3:
                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.subject.label'
                         300:
                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientAddress.label'
+                          fieldExplanationText: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientAddress.fieldExplanationText'
                         400:
                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientName.label'
+                          fieldExplanationText: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientName.fieldExplanationText'
                         500:
                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.senderAddress.label'
+                          fieldExplanationText: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.senderAddress.fieldExplanationText'
                         600:
                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.senderName.label'
+                          fieldExplanationText: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.senderName.fieldExplanationText'
                         700:
                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.replyToAddress.label'
                         800:
@@ -1129,6 +1133,7 @@ TYPO3:
                 propertyValidators:
                   10: 'NaiveEmail'
                   20: 'FormElementIdentifierWithinCurlyBracesExclusive'
+                fieldExplanationText: 'formEditor.elements.Form.finisher.EmailToSender.editor.recipientAddress.fieldExplanationText'
               400:
                 identifier: 'recipientName'
                 templateName: 'Inspector-TextEditor'
@@ -1137,6 +1142,7 @@ TYPO3:
                 enableFormelementSelectionButton: true
                 propertyValidators:
                   10: 'FormElementIdentifierWithinCurlyBracesInclusive'
+                fieldExplanationText: 'formEditor.elements.Form.finisher.EmailToSender.editor.recipientName.fieldExplanationText'
               500:
                 identifier: 'senderAddress'
                 templateName: 'Inspector-TextEditor'
@@ -1147,6 +1153,7 @@ TYPO3:
                 propertyValidators:
                   10: 'NaiveEmail'
                   20: 'FormElementIdentifierWithinCurlyBracesExclusive'
+                fieldExplanationText: 'formEditor.elements.Form.finisher.EmailToSender.editor.senderAddress.fieldExplanationText'
               600:
                 identifier: 'senderName'
                 templateName: 'Inspector-TextEditor'
@@ -1155,6 +1162,7 @@ TYPO3:
                 enableFormelementSelectionButton: true
                 propertyValidators:
                   10: 'FormElementIdentifierWithinCurlyBracesInclusive'
+                fieldExplanationText: 'formEditor.elements.Form.finisher.EmailToSender.editor.senderName.fieldExplanationText'
               700:
                 identifier: 'replyToAddress'
                 templateName: 'Inspector-TextEditor'
index b20785c..74bea26 100644 (file)
                 <source>Add finisher</source>
             </trans-unit>
             <trans-unit id="formEditor.elements.Form.editor.finishers.EmailToSender.label" xml:space="preserve">
-                <source>Email to sender</source>
+                <source>Email to sender (to website visitor)</source>
             </trans-unit>
             <trans-unit id="formEditor.elements.Form.editor.finishers.EmailToReceiver.label" xml:space="preserve">
-                <source>Email to receiver</source>
+                <source>Email to receiver (to you)</source>
             </trans-unit>
             <trans-unit id="formEditor.elements.Form.editor.finishers.Redirect.label" xml:space="preserve">
                 <source>Redirect to a page</source>
             </trans-unit>
 
             <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.header.label" xml:space="preserve">
-                <source>Send email (sender)</source>
+                <source>Send email (to website visitor)</source>
             </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.subject.label" xml:space="preserve">
                 <source>Subject</source>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.recipientAddress.label" xml:space="preserve">
                 <source>Recipient address</source>
             </trans-unit>
+            <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.recipientAddress.fieldExplanationText" xml:space="preserve">
+                <source>The email address of the website visitor to whom the email should be sent. You can use the "insert formelement identifier" dropdown to choose a form element which holds the website visitors email address.</source>
+            </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.recipientName.label" xml:space="preserve">
                 <source>Recipient name</source>
             </trans-unit>
+            <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.recipientName.fieldExplanationText" xml:space="preserve">
+                <source>The name of the website visitor, which appears in the website visitor e-mail client. You can use the "insert formelement identifier" dropdown to choose one or more form elements which holds the website visitors name.</source>
+            </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.senderAddress.label" xml:space="preserve">
                 <source>Sender address</source>
             </trans-unit>
+            <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.senderAddress.fieldExplanationText" xml:space="preserve">
+                <source>The email address of the sender (e.g. your company's email address), which appears in the website visitor e-mail client.</source>
+            </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.senderName.label" xml:space="preserve">
                 <source>Sender name</source>
             </trans-unit>
+            <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.senderName.fieldExplanationText" xml:space="preserve">
+                <source>The name of the sender (e.g. your company's name), which appears in the website visitor e-mail client.</source>
+            </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToSender.editor.replyToAddress.label" xml:space="preserve">
                 <source>Reply-to address</source>
             </trans-unit>
             </trans-unit>
 
             <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.header.label" xml:space="preserve">
-                <source>Send email (receiver)</source>
+                <source>Send email (to you)</source>
             </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.subject.label" xml:space="preserve">
                 <source>Subject</source>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientAddress.label" xml:space="preserve">
                 <source>Recipient address</source>
             </trans-unit>
+            <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientAddress.fieldExplanationText" xml:space="preserve">
+                <source>The email address of the recipient to whom the email should be sent (e.g. your company's email address).</source>
+            </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientName.label" xml:space="preserve">
                 <source>Recipient name</source>
             </trans-unit>
+            <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientName.fieldExplanationText" xml:space="preserve">
+                <source>The name of the recipient, which appears in your e-mail client (e.g. your company's name).</source>
+            </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.senderAddress.label" xml:space="preserve">
                 <source>Sender address</source>
             </trans-unit>
+            <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.senderAddress.fieldExplanationText" xml:space="preserve">
+                <source>The email address of the sender, which appears in your e-mail client. If you want, you can use the "insert formelement identifier" dropdown to choose a form element which holds the website visitors email address.</source>
+            </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.senderName.label" xml:space="preserve">
                 <source>Sender name</source>
             </trans-unit>
+            <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.senderName.fieldExplanationText" xml:space="preserve">
+                <source>The name of the sender, which appears in your e-mail client. If you want, you can use the "insert formelement identifier" dropdown to choose one or more form elements which holds the website visitors name.</source>
+            </trans-unit>
             <trans-unit id="formEditor.elements.Form.finisher.EmailToReceiver.editor.replyToAddress.label" xml:space="preserve">
                 <source>Reply-to address</source>
             </trans-unit>