Project

General

Profile

Actions

Bug #17677

closed

Move tt_content.mailform.badMess to locallang

Added by Georg Ringer about 17 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2007-10-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It would be really nice if tt_content.mailform.badMess would be translated by default with the locallangs of TYPO3 because setting this for every language in every installation is just really annoying and could be much easier with locallangs (as the rest of the output)

(issue imported from #M6519)


Files

6519_class.tslib_content.php.patch (1.12 KB) 6519_class.tslib_content.php.patch Administrator Admin, 2007-10-20 01:55

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #17229: tt_content.mailform.20.badMess should have a default translation in the core translations.ClosedChris topher2007-04-23

Actions
Actions #1

Updated by Christian Trabold about 17 years ago

Nice idea. But it's a pitty that "goodMess" & "badMess" do NOT support LLL-Markers / stdWrap... They can only carry strings at the moment.

I attached a patch which adds stdWrap-Properties to these values, so LLL-Markers can easily be added / overriden by _LOCAL_LANG via TypoScript.

Working Example TS-Setup:

tt_content.mailform.20.goodMess.data = LLL:EXT:css_styled_content/pi1/locallang.xml:label.toTop

RFC / Idea: If we use the compatVersion, this could be added to CSS-Styled-Content for 4.2

[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]

BTW: This issue should IMO be moved into category "tx_cssstyledcontent"

Actions #2

Updated by Chris topher over 14 years ago

Hi Christian,

please send your patch to Core List!
Check out http://typo3.org/teams/core/core-mailinglist-rules/

Actions #3

Updated by Christian Trabold over 14 years ago

RFC sent to Core list.

Actions #4

Updated by Stefan Neufeind over 13 years ago

This is already part of current releases and can be found in typo3/sysext/cms/tslib/content/class.tslib_content_form.php

Actions #5

Updated by Stefan Galinski over 12 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (0)
Actions

Also available in: Atom PDF