[TYPO3-core] RFC #6519: Feature: Allow locallang in tt_content.mailform.badMess
Christian Trabold
christian.trabold at dkd.de
Sat Jul 10 21:49:26 CEST 2010
Hi,
this is an SVN patch request.
Type: New feature
Bugtracker references: http://bugs.typo3.org/view.php?id=6519
Branches: trunk
Problem:
It would be really nice if tt_content.mailform.badMess could be
translated with the locallang-functions of TYPO3 because setting this
for every language in every installation is just really annoying and
could be much easier with locallangs.
Solution:
The TS-Properties goodMess, badMess and emailMess should allow stdWrap()
to allow overriding the default values for example with
tt_content.mailform.20.goodMess.data =
LLL:EXT:css_styled_content/pi1/locallang.xml:label.goodMess
tt_content.mailform.20.badMess.data =
LLL:EXT:css_styled_content/pi1/locallang.xml:label.badMess
tt_content.mailform.20.emailMess.data =
LLL:EXT:css_styled_content/pi1/locallang.xml:label.emailMess
Notes:
To make this patch compatible with older versions of cssstyledcontent it
could use compatVersion.
[compatVersion = 4.2.0]
tt_content.mailform.20.goodMess.data =
LLL:EXT:css_styled_content/pi1/locallang.xml:label.goodMess
tt_content.mailform.20.badMess.data =
LLL:EXT:css_styled_content/pi1/locallang.xml:label.badMess
tt_content.mailform.20.emailMess.data =
LLL:EXT:css_styled_content/pi1/locallang.xml:label.emailMess
[global]
(as shown here http://bugs.typo3.org/view.php?id=6519#c16390)
All the best
Christian Trabold
More information about the TYPO3-team-core
mailing list