Bug #81591

Translation of email finisher subject

Added by Wolfgang Freund 13 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2017-06-16
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi there,

as stated in the documentation here:
https://docs.typo3.org/typo3cms/drafts/code.tritum.de/TYPO3.CMS/Form_Documentation/Concepts/Index.html#concepts-frontendrendering-translation-finishers

the subject of the email finishers should translatable via:

<!-- Form Finishers -->
            <trans-unit id="finisher.EmailToReceiver.subject">
                <source>My own receiver subject</source>
            </trans-unit>
            <trans-unit id="finisher.EmailToSender.subject">
                <source>My own sender subject</source>
            </trans-unit>

But is still uses the default subject used in the YAML-File:

finishers:
  -
    identifier: EmailToReceiver
    options:
      subject: 'Message from website'
      recipientAddress: test@test.com
      recipientName: 'Testname'
      senderAddress: noreply@test.com
      senderName: '{firstname} {lastname}'
      replyToAddress: '{email}'
      carbonCopyAddress: ''
      blindCarbonCopyAddress: ''
      format: html
      attachUploads: 'false'
      translation:
        language: 'en'
  -
    identifier: EmailToSender
    options:
      subject: 'Thank you for your mail'
      recipientAddress: '{email}'
      recipientName: ''
      senderAddress: noreply@test.com
      senderName: 'Testname'
      replyToAddress: ''
      carbonCopyAddress: ''
      blindCarbonCopyAddress: ''
      format: html
      attachUploads: 'false'

Also available in: Atom PDF