[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)
committerJigal van Hemert <jigal@xs4all.nl>
Wed, 6 Apr 2011 17:36:35 +0000 (19:36 +0200)
Change-Id: I755e70f1e82bc25515e879b9e166245a15d65b7e
Resolves: #M17873
Reviewed-on: http://review.typo3.org/1066
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
Reviewed-by: Christopher
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
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
                                                                );