Revert "[BUGFIX] Improve l10n_mode config for sys_file_reference" 57/32757/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 14 Sep 2014 12:12:18 +0000 (14:12 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 14 Sep 2014 12:15:05 +0000 (14:15 +0200)
This reverts commit b013405328a679a2c22c885215e89edf1dba5327.

Change-Id: I46c056975813bc59867782a7fa667d7ec127ecbb
Reviewed-on: http://review.typo3.org/32757
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Configuration/TCA/sys_file_reference.php

index e8928c9..0374783 100644 (file)
@@ -152,7 +152,7 @@ return array(
                        )
                ),
                'title' => array(
-                       'l10n_mode' => 'prefixLangTitle',
+                       'l10n_mode' => 'mergeIfNotBlank',
                        'exclude' => 1,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.title',
                        'config' => array(
@@ -165,6 +165,7 @@ return array(
                        )
                ),
                'link' => array(
+                       'l10n_mode' => 'mergeIfNotBlank',
                        'exclude' => 1,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.link',
                        'config' => array(
@@ -190,7 +191,7 @@ return array(
                ),
                'description' => array(
                        // This is used for captions in the frontend
-                       'l10n_mode' => 'prefixLangTitle',
+                       'l10n_mode' => 'mergeIfNotBlank',
                        'exclude' => 1,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.description',
                        'config' => array(
@@ -204,7 +205,7 @@ return array(
                        )
                ),
                'alternative' => array(
-                       'l10n_mode' => 'prefixLangTitle',
+                       'l10n_mode' => 'mergeIfNotBlank',
                        'exclude' => 1,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.alternative',
                        'config' => array(