[BUGFIX] Translation of a form makes the form wizard unusable 87/18887/3
authorMario Rimann <mario.rimann@typo3.org>
Tue, 15 Jan 2013 09:20:27 +0000 (10:20 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Mar 2013 21:53:32 +0000 (22:53 +0100)
commit082208cd5a1085661d37b1640923af169c47ef17
tree61ba5c04e2c798d7c320798874c09b2db0084dc2
parent35c038bcfcca9aeae5084f1bf5744cbd93a44dde
[BUGFIX] Translation of a form makes the form wizard unusable

As soon as the form-configuration for the form wizard gets
loaded, the leading "[Translate to XYZ:] " is stripped off to get the
wizard working (with the leading text, the form config could not
be serialized as needed and the wizard didn't show a single field).

The stripping is only done on localized records.

Change-Id: I0cab1d371abf5ae01b524c39acedcd1a3a5db9c4
Fixes: #39127
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/18887
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/form/Classes/Domain/Repository/ContentRepository.php