Bug #82715

Form framework: Use runtime values in localized subject

Added by Felix Nagel 8 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2017-10-10
Due date:
% Done:

100%

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

Description

It seems there is currently no way to use a runtime value `{field_name}` within a translated subject.

Example:

finishers:
  -
    options:
      subject: 'Your job application: {vacancy}'
    identifier: EmailToReceiver
  -

I'm not able to change this using something similar to

<trans-unit id="job-application.finisher.EmailToReceiver.subject">
    <target>Ihre Bewerbung: {vacancy}</target>
</trans-unit>

Related issues

Related to TYPO3 Core - Bug #84907: Translation of parameters Closed 2018-05-02

Associated revisions

Revision 819a118f (diff)
Added by Ralf Zimmermann 2 months ago

[BUGFIX] Let form framework finisher parseOption respect arrays

The method "parseOption()" can now handle arrays. This is necessary if a
finisher option references a form element value through an
identifier like "someOption: '{<elemenIdentifier>}'" and if
the form element value is an array (e.g. MultiCheckbox).
Furthermore "parseOption()" resolves form element references
within localized option values.

Resolves: #83477
Resolves: #82715
Releases: master, 8.7
Change-Id: I15bcdb1d7799a174e48330de91a444735250bfa1
Reviewed-on: https://review.typo3.org/55820
Tested-by: TYPO3com <>
Reviewed-by: Stefan Froemken <>
Tested-by: Stefan Froemken <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>

Revision 5fe2a684 (diff)
Added by Ralf Zimmermann 2 months ago

[BUGFIX] Let form framework finisher parseOption respect arrays

The method "parseOption()" can now handle arrays. This is necessary if a
finisher option references a form element value through an
identifier like "someOption: '{<elemenIdentifier>}'" and if
the form element value is an array (e.g. MultiCheckbox).
Furthermore "parseOption()" resolves form element references
within localized option values.

Resolves: #83477
Resolves: #82715
Releases: master, 8.7
Change-Id: I15bcdb1d7799a174e48330de91a444735250bfa1
Reviewed-on: https://review.typo3.org/55820
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-on: https://review.typo3.org/56722

History

#1 Updated by Gerrit Code Review 4 months ago

  • Status changed from New to Under Review

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55820

#2 Updated by Gerrit Code Review 3 months ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55820

#3 Updated by Gerrit Code Review 3 months ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55820

#4 Updated by Gerrit Code Review 3 months ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55820

#5 Updated by Gerrit Code Review 2 months ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55820

#6 Updated by Gerrit Code Review 2 months ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55820

#7 Updated by Gerrit Code Review 2 months ago

Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55820

#8 Updated by Gerrit Code Review 2 months ago

Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55820

#9 Updated by Ralf Zimmermann 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#10 Updated by Gerrit Code Review 2 months ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56722

#11 Updated by Ralf Zimmermann 2 months ago

  • Status changed from Under Review to Resolved

#12 Updated by Ralf Zimmermann about 1 month ago

  • Related to Bug #84907: Translation of parameters added

Also available in: Atom PDF