[TASK] Add language to images in filemetadata 21/44221/3
authorStephan Großberndt <stephan@grossberndt.de>
Thu, 22 Oct 2015 11:37:41 +0000 (13:37 +0200)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Wed, 2 Dec 2015 10:15:05 +0000 (11:15 +0100)
Also make the order the same for text and application.

Resolves: #70950
Releases: master
Change-Id: I90601ba98d7af18223d7cb93de47ba30f598f8c0
Reviewed-on: https://review.typo3.org/44221
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/filemetadata/Configuration/TCA/Overrides/sys_file_metadata.php

index 124a907..a1e6bec 100644 (file)
@@ -26,9 +26,8 @@ $tca = array(
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
                                        fe_groups,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
-                                       creator, creator_tool, publisher, source, copyright,
-                                       --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40,
-                                       language
+                                       creator, creator_tool, publisher, source, copyright, language,
+                                       --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40
                        ',
         ),
         TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array(
@@ -39,7 +38,7 @@ $tca = array(
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
                                        fe_groups,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
-                                       creator, creator_tool, publisher, source, copyright,
+                                       creator, creator_tool, publisher, source, copyright, language,
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40,
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.gps;30,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.camera,
@@ -81,9 +80,9 @@ $tca = array(
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
                                        fe_groups,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
-                                       creator, creator_tool, publisher, source, copyright,
+                                       creator, creator_tool, publisher, source, copyright, language,
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40,
-                                       language, pages,
+                                       pages,
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.metrics;50,
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.content_date;60
                        ',