[BUGFIX] Use correct labels for create folder form in folder browser 50/62850/6
authorMarkus Klein <markus.klein@typo3.org>
Sun, 12 Jan 2020 14:56:30 +0000 (15:56 +0100)
committerDaniel Goerz <daniel.goerz@posteo.de>
Sun, 12 Jan 2020 16:18:01 +0000 (17:18 +0100)
The labels have been moved around before and these place have been
forgotten to be updated.

Resolves: #90096
Related: #87882
Releases: master
Change-Id: I738e7b5230ed300449e25acedc4f06fccdd588d5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62850
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/recordlist/Classes/View/FolderUtilityRenderer.php
typo3/sysext/recordlist/Resources/Private/Language/locallang.xlf

index e65f56c..354d02b 100644 (file)
@@ -69,7 +69,7 @@ class FolderUtilityRenderer
         $markup = [];
         $markup[] = '<form action="' . htmlspecialchars($formAction)
             . '" method="post" name="editform" enctype="multipart/form-data">';
-        $markup[] = '<h3>' . htmlspecialchars($lang->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:create_folder.title')) . ':</h3>';
+        $markup[] = '<h3>' . htmlspecialchars($lang->sL('LLL:EXT:recordlist/Resources/Private/Language/locallang.xlf:create_folder.title')) . ':</h3>';
         $markup[] = '<p><strong>' . htmlspecialchars($lang->getLL('path')) . ':</strong>'
             . htmlspecialchars($folderObject->getIdentifier()) . '</p>';
 
@@ -79,7 +79,7 @@ class FolderUtilityRenderer
         $markup[] = '<input class="form-control" type="text" name="data[newfolder][' . $a . '][data]" />';
         $markup[] = '<span class="input-group-btn">';
         $markup[] = '<input class="btn btn-default" type="submit" name="submit" value="'
-            . htmlspecialchars($lang->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:create_folder.submit')) . '" />';
+            . htmlspecialchars($lang->sL('LLL:EXT:recordlist/Resources/Private/Language/locallang.xlf:create_folder.submit')) . '" />';
         $markup[] = '</span>';
         $markup[] = '</div>';
         $markup[] = '<input type="hidden" name="data[newfolder][' . $a . '][target]" value="'
index a91125f..5c5cb2c 100644 (file)
                        <trans-unit id="clearcache.message.error" resname="clearcache.message.error">
                                <source>Page cache could not cleared</source>
                        </trans-unit>
+                       <trans-unit id="create_folder.title" resname="create_folder.title">
+                               <source>Create new folder</source>
+                       </trans-unit>
+                       <trans-unit id="create_folder.submit" resname="create_folder.submit">
+                               <source>Create folder</source>
+                       </trans-unit>
                </body>
        </file>
 </xliff>