[BUGFIX] Correct label for cut release in clickmenu 15/53515/2
authorChristian Fries <hello@christian-fries.ch>
Fri, 14 Jul 2017 21:33:57 +0000 (23:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 15 Jul 2017 10:57:52 +0000 (12:57 +0200)
Add different label for cut release in clickmenu instead of using
the same label as cut.

Releases: master, 8.7
Resolves: #81875
Change-Id: I80b5247133e3a9a92888d38e9c6b5a435e2342c1
Reviewed-on: https://review.typo3.org/53515
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/ContextMenu/ItemProviders/PageProvider.php
typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php
typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileProvider.php
typo3/sysext/lang/Resources/Private/Language/locallang_core.xlf

index de5b724..477fc1d 100644 (file)
@@ -70,7 +70,7 @@ class PageProvider extends RecordProvider
             'callbackAction' => 'cut'
         ],
         'cutRelease' => [
-            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.cut',
+            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.cutrelease',
             'iconIdentifier' => 'actions-edit-cut-release',
             'callbackAction' => 'clipboardRelease'
         ],
index 6519f92..f19352e 100644 (file)
@@ -90,7 +90,7 @@ class RecordProvider extends AbstractProvider
             'callbackAction' => 'cut'
         ],
         'cutRelease' => [
-            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.cut',
+            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.cutrelease',
             'iconIdentifier' => 'actions-edit-cut-release',
             'callbackAction' => 'clipboardRelease'
         ],
index e70e37c..a04da66 100644 (file)
@@ -80,7 +80,7 @@ class FileProvider extends \TYPO3\CMS\Backend\ContextMenu\ItemProviders\Abstract
             'callbackAction' => 'cutFile'
         ],
         'cutRelease' => [
-            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.cut',
+            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.cutrelease',
             'iconIdentifier' => 'actions-edit-cut-release',
             'callbackAction' => 'cutReleaseFile'
         ],
index 3c36e01..b9caa4e 100644 (file)
@@ -978,6 +978,9 @@ Do you want to refresh it now?</source>
                        <trans-unit id="cm.cut">
                                <source>Cut</source>
                        </trans-unit>
+                       <trans-unit id="cm.cutrelease">
+                               <source>Cut release</source>
+                       </trans-unit>
                        <trans-unit id="cm.view">
                                <source>Show</source>
                        </trans-unit>