[BUGFIX] Make backend layout dropdown in CE editform translateable
authorStefano Kowalke <blueduck@gmx.net>
Sat, 5 Mar 2011 11:22:49 +0000 (12:22 +0100)
committerGeorg Ringer <mail@ringerge.org>
Thu, 9 Jun 2011 04:20:18 +0000 (06:20 +0200)
Change-Id: Ic732f5e152115c2405bc23e35a67c10fb5083a6f
Resolves: #M17873
Reviewed-on: http://review.typo3.org/1469
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/cms/classes/class.tx_cms_backendlayout.php

index 2693142..585bc7b 100644 (file)
@@ -149,7 +149,7 @@ class tx_cms_BackendLayout {
                                                if (isset($row['columns.']) && is_array($row['columns.'])) {
                                                        foreach ($row['columns.'] as $column) {
                                                                $backendLayout['__items'][] = array(
-                                                                       $column['name'],
+                                                                       t3lib_div::isFirstPartOfStr($column['name'], 'LLL:') ? $GLOBALS['LANG']->sL($column['name']) : $column['name'],
                                                                        $column['colPos'],
                                                                        NULL
                                                                );