[BUGFIX] Wrong category assignment in sys_note
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 30 Nov 2012 20:49:10 +0000 (21:49 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 2 Dec 2012 10:32:03 +0000 (11:32 +0100)
Wrong category assignment in sys_note. For example select the
"to-do" category and save the note. After saving the category is
called "Template"

Change-Id: I41e2c9e84e3cc8cf8bdcfddb416a7b87b8ce01a7
Fixes: #43433
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16935
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/sys_note/Configuration/Tca/SysNote.php
typo3/sysext/sys_note/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/t3skin/stylesheets/structure/module_web_list_sysnote.css

index 77fc884..e645a7c 100644 (file)
@@ -15,9 +15,9 @@ $TCA['sys_note'] = array(
                                'items' => array(
                                        array('', '0'),
                                        array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.1', '1', 'sysext/t3skin/icons/ext/sys_note/icon-instruction.png'),
-                                       array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.2', '3', 'sysext/t3skin/icons/ext/sys_note/icon-note.png'),
-                                       array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.3', '4', 'sysext/t3skin/icons/ext/sys_note/icon-todo.png'),
-                                       array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.4', '2', 'sysext/t3skin/icons/ext/sys_note/icon-template.png')
+                                       array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.3', '3', 'sysext/t3skin/icons/ext/sys_note/icon-note.png'),
+                                       array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.4', '4', 'sysext/t3skin/icons/ext/sys_note/icon-todo.png'),
+                                       array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.2', '2', 'sysext/t3skin/icons/ext/sys_note/icon-template.png')
                                ),
                                'default' => '0'
                        )
index dc96494..932730f 100644 (file)
                                <source>Instructions</source>
                        </trans-unit>
                        <trans-unit id="sys_note.category.I.2" xml:space="preserve">
-                               <source>Notes</source>
+                               <source>Template</source>
                        </trans-unit>
                        <trans-unit id="sys_note.category.I.3" xml:space="preserve">
-                               <source>To-do</source>
+                               <source>Notes</source>
                        </trans-unit>
                        <trans-unit id="sys_note.category.I.4" xml:space="preserve">
-                               <source>Template</source>
+                               <source>To-do</source>
                        </trans-unit>
                        <trans-unit id="sys_note.subject" xml:space="preserve">
                                <source>Subject:</source>
index 03bb9db..5be6b6e 100644 (file)
@@ -26,8 +26,6 @@
        background-image: url(../../icons/ext/sys_note/icon-todo.png);
 }
 
-
-
 #typo3-dblist-sysnotes .single-note .header span {
        color: #666;
 }