[BUGFIX] Set correct title and button text for create folder 55/47755/3
authorFrans Saris <franssaris@gmail.com>
Mon, 18 Apr 2016 15:54:53 +0000 (17:54 +0200)
committerFrans Saris <franssaris@gmail.com>
Mon, 18 Apr 2016 16:20:09 +0000 (18:20 +0200)
Change-Id: I0e3d8e785811f6c743fa48c33527424e5a3f5f03
Resolves: #75750
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47755
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Richard Haeser <richardhaeser@gmail.com>
Tested-by: Richard Haeser <richardhaeser@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/lang/locallang_core.xlf
typo3/sysext/recordlist/Classes/View/FolderUtilityRenderer.php

index baafd23..26dc559 100644 (file)
@@ -640,6 +640,12 @@ Do you want to continue WITHOUT saving?</source>
                        <trans-unit id="file_newfolder.php.submit">
                                <source>Create folders</source>
                        </trans-unit>
+                       <trans-unit id="create_folder.title">
+                               <source>Create new folder</source>
+                       </trans-unit>
+                       <trans-unit id="create_folder.submit">
+                               <source>Create folder</source>
+                       </trans-unit>
                        <trans-unit id="file_newfolder.php.folders">
                                <source>folders</source>
                        </trans-unit>
index 9ca30f2..47417ee 100644 (file)
@@ -68,7 +68,7 @@ class FolderUtilityRenderer
         $markup[] = '<div class="element-browser-section element-browser-createfolder">';
         $markup[] = '<form action="' . htmlspecialchars($formAction)
             . '" method="post" name="editform" enctype="multipart/form-data">';
-        $markup[] = '<h3>' . $lang->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.pagetitle', true) . ':</h3>';
+        $markup[] = '<h3>' . $lang->sL('LLL:EXT:lang/locallang_core.xlf:create_folder.title', true) . ':</h3>';
         $markup[] = '<p><strong>' . $lang->getLL('path', true) . ':</strong>'
             . htmlspecialchars($folderObject->getIdentifier()) . '</p>';
 
@@ -86,7 +86,7 @@ class FolderUtilityRenderer
         );
         $markup[] = '<input type="hidden" name="redirect" value="' . htmlspecialchars($redirectValue) . '" />';
         $markup[] = '<input class="btn btn-default" type="submit" name="submit" value="'
-            . $lang->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.submit', true) . '" />';
+            . $lang->sL('LLL:EXT:lang/locallang_core.xlf:create_folder.submit', true) . '" />';
 
         $markup[] = '   </form>';
         $markup[] = '</div>';