[TASK] Wizard sort_pages: Move non translated text to language file 39/49939/2
authorMichael Oehlhof <typo3@oehlhof.de>
Wed, 14 Sep 2016 12:57:00 +0000 (14:57 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 19 Sep 2016 07:58:11 +0000 (09:58 +0200)
Resolves: #77947
Releases: master
Change-Id: I9851e2cd9dc3bf0e70fa5031a727840bcb833762
Reviewed-on: https://review.typo3.org/49939
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Cristian Buja <cristian.buja@intera.it>
Tested-by: Cristian Buja <cristian.buja@intera.it>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php
typo3/sysext/wizard_sortpages/Resources/Private/Language/locallang.xlf

index 18f57d3..4cb2db0 100644 (file)
@@ -110,7 +110,7 @@ class SortPagesWizardModuleFunction extends \TYPO3\CMS\Backend\Module\AbstractFu
             $theCode .= BackendUtility::cshItem('_MOD_web_func', 'tx_wizardsortpages', null, '<span class="btn btn-default btn-sm">|</span>');
             $out .= '<div>' . $theCode . '</div>';
         } else {
-            $out .= '<div>Sorry, this function is not available in the current draft workspace!</div>';
+            $out .= '<div>' . htmlspecialchars($lang->getLL('not_available_in_draft_workspace')) . '</div>';
         }
         return $out;
     }
index 7950e02..6e982fa 100644 (file)
@@ -36,6 +36,9 @@
                        <trans-unit id="no_subpages">
                                <source>Please select a page with subpages.</source>
                        </trans-unit>
+                       <trans-unit id="not_available_in_draft_workspace">
+                               <source>Sorry, this function is not available in the current draft workspace!</source>
+                       </trans-unit>
                </body>
        </file>
 </xliff>