Skip to content

Commit

Permalink
[TASK] Change the label for scheduler "Save and create"
Browse files Browse the repository at this point in the history
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/55736
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
  • Loading branch information
tomasnorre authored and andreaskienast committed Feb 15, 2018
1 parent 66e67f2 commit 9ba14d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -1335,7 +1335,7 @@ protected function getButtons()
->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/Resources/Private/Language/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')
Expand Down
Expand Up @@ -165,6 +165,9 @@
<trans-unit id="label.schedulableCommandName">
<source><![CDATA[Schedulable Command. <em>Save and reopen to define command arguments</em>]]></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>
Expand Down

0 comments on commit 9ba14d5

Please sign in to comment.