[BUGFIX] Show correct sys_file_reference palettes for textmedia 33/43733/5
authorFrans Saris <franssaris@gmail.com>
Fri, 2 Oct 2015 08:43:29 +0000 (10:43 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 3 Oct 2015 10:24:58 +0000 (12:24 +0200)
Resolves: #70299
Releases: master
Change-Id: I7d4a6e23afa972b14aba37701470b7bd8ed7110f
Reviewed-on: http://review.typo3.org/43733
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Configuration/TCA/tt_content.php
typo3/sysext/lang/locallang_tca.xlf

index 1eb6ef1..0970492 100644 (file)
@@ -457,12 +457,12 @@ return array(
                                        ),
                                        \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => array(
                                                'showitem' => '
-                                                       --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
+                                                       --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.audioOverlayPalette;audioOverlayPalette,
                                                        --palette--;;filePalette'
                                        ),
                                        \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => array(
                                                'showitem' => '
-                                                       --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
+                                                       --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.videoOverlayPalette;videoOverlayPalette,
                                                        --palette--;;filePalette'
                                        ),
                                        \TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => array(
index 0b98fd9..c6b6e35 100644 (file)
                        <trans-unit id="sys_file_reference.imageoverlayPalette">
                                <source>Image Metadata</source>
                        </trans-unit>
+                       <trans-unit id="sys_file_reference.audioOverlayPalette">
+                               <source>Audio Metadata</source>
+                       </trans-unit>
+                       <trans-unit id="sys_file_reference.videoOverlayPalette">
+                               <source>Video Metadata</source>
+                       </trans-unit>
                        <trans-unit id="sys_file_reference.title">
                                <source>Title</source>
                        </trans-unit>