[BUGFIX] Forms in sys_action need localization and rearrangement 13/35613/5
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Tue, 23 Dec 2014 16:53:35 +0000 (17:53 +0100)
committerFrank Nägler <typo3@naegler.net>
Mon, 29 Dec 2014 08:42:12 +0000 (09:42 +0100)
Resolves: #62837
Releases: master
Change-Id: I34ed297bc2b1d2616219ec27b3e3b796ea55c7cd
Reviewed-on: http://review.typo3.org/35613
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
typo3/sysext/sys_action/Configuration/TCA/sys_action.php
typo3/sysext/sys_action/locallang_tca.xlf

index 14e1d76..41a2ad5 100644 (file)
@@ -165,11 +165,66 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'hidden,type,title,description,assign_to_groups,'),
-               '1' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,t1_userprefix,t1_copy_of_user,t1_allowed_groups,t1_create_user_dir'),
-               '2' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,'),
-               '3' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,t3_listPid,t3_tables;'),
-               '4' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,t4_recordsToEdit'),
-               '5' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,t3_listPid;Where to create records,t3_tables;Create records in table:')
+               '0' => array('showitem' => '
+                       type,
+                       title,
+                       description,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                               hidden,
+                               assign_to_groups
+               '),
+               '1' => array('showitem' => '
+                       type,
+                       title,
+                       description,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.create_user.settings,
+                               t1_userprefix,t1_copy_of_user,
+                               t1_allowed_groups,
+                               t1_create_user_dir,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                               hidden,
+                               assign_to_groups
+               '),
+               '2' => array('showitem' => '
+                       type,
+                       title,
+                       description,
+                       --div--,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                               hidden,
+                               assign_to_groups
+               '),
+               '3' => array('showitem' => '
+                       type,
+                       title,
+                       description,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.record_list.settings,
+                               t3_listPid,
+                               t3_tables,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                               hidden,
+                               assign_to_groups
+               '),
+               '4' => array('showitem' => '
+                       type,
+                       title,
+                       description,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.edit_records.settings,
+                               t4_recordsToEdit,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                               hidden,
+                               assign_to_groups
+               '),
+               '5' => array('showitem' => '
+                       type,
+                       title,
+                       description,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.new_record.settings,
+                               t3_listPid;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.new_record.pid,
+                               t3_tables;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.new_record.tablename,
+                       --div--;LLL:EXT:sys_action/locallang_tca.xlf:sys_action.tab.access,
+                               hidden,
+                               assign_to_groups
+               ')
        )
 );
index 3bfc0ff..aeb99a5 100644 (file)
                        <trans-unit id="sys_action.type.5" xml:space="preserve">
                                <source>New Record</source>
                        </trans-unit>
+                       <trans-unit id="sys_action.tab.access" xml:space="preserve">
+                               <source>Access</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.create_user.settings" xml:space="preserve">
+                               <source>Settings</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.record_list.settings" xml:space="preserve">
+                               <source>Settings</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.edit_records.settings" xml:space="preserve">
+                               <source>Settings</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.tab.new_record.settings" xml:space="preserve">
+                               <source>Settings</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.new_record.pid" xml:space="preserve">
+                               <source>Select the page for the new record to be stored</source>
+                       </trans-unit>
+                       <trans-unit id="sys_action.new_record.tablename" xml:space="preserve">
+                               <source>Record type</source>
+                       </trans-unit>
                </body>
        </file>
 </xliff>