[TASK] Change the label for scheduler "Save and create" 07/55807/2
authorTomas Norre Mikkelsen <tomasnorre@gmail.com>
Thu, 15 Feb 2018 13:10:50 +0000 (14:10 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 20 Feb 2018 07:20:07 +0000 (08:20 +0100)
The label for the "Save and create new document" in the scheduler module,
will be change to a more appropriate label "Save and create new task"

Resolves: #83920
Releases: master, 8.7, 7.6
Change-Id: Ic4d6ad9d4598aafbc16c03b5bc50789451f6cdaf
Reviewed-on: https://review.typo3.org/55807
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/scheduler/Resources/Private/Language/locallang.xlf

index 5647b86..f9f8437 100644 (file)
@@ -1621,7 +1621,7 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas
                 ->setValue('savenew')
                 ->setForm('tx_scheduler_form')
                 ->setIcon($this->moduleTemplate->getIconFactory()->getIcon('actions-document-save-new', Icon::SIZE_SMALL))
-                ->setTitle($this->getLanguageService()->sL('LLL:EXT:lang/locallang_common.xlf:saveAndCreateNewDoc'));
+                ->setTitle($this->getLanguageService()->sL('LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:label.saveAndCreateNewTask'));
             $saveButtonDropdown->addItem($saveAndNewButton);
             $saveAndCloseButton = $buttonBar->makeInputButton()
                 ->setName('CMD')
index 722fc00..b3e1502 100644 (file)
                        <trans-unit id="label.group">
                                <source>Task group</source>
                        </trans-unit>
+                       <trans-unit id="label.saveAndCreateNewTask">
+                               <source>Save and create new task</source>
+                       </trans-unit>
                        <trans-unit id="msg.addError">
                                <source>The task could not be added.</source>
                        </trans-unit>