Skip to content
Snippets Groups Projects
Commit 0d8163f8 authored by Wouter Wolters's avatar Wouter Wolters Committed by Christian Kuhn
Browse files

[TASK] Move language file from ext:reports

Move reports/locallang.xlf to
Resources/Private/Language/locallang_reports.xlf

Resolves: #68434
Releases: master
Change-Id: Ic530b35b47272f50e31ede5cd082170e674aaad1
Reviewed-on: http://review.typo3.org/41783


Reviewed-by: default avatarSusanne Moog <typo3@susannemoog.de>
Tested-by: default avatarSusanne Moog <typo3@susannemoog.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 4e169b76
Branches
Tags
No related merge requests found
......@@ -33,7 +33,7 @@ class Status implements ReportInterface {
*/
public function __construct() {
$this->getStatusProviders();
$GLOBALS['LANG']->includeLLFile('EXT:reports/reports/locallang.xlf');
$GLOBALS['LANG']->includeLLFile('EXT:reports/Resources/Private/Language/locallang_reports.xlf');
}
/**
......
......@@ -35,7 +35,7 @@ class WarningMessagePostProcessor {
if ($highestSeverity > \TYPO3\CMS\Reports\Status::OK) {
// Display a message that there's something wrong and that
// the admin should take a look at the detailed status report
$GLOBALS['LANG']->includeLLFile('EXT:reports/reports/locallang.xlf');
$GLOBALS['LANG']->includeLLFile('EXT:reports/Resources/Private/Language/locallang_reports.xlf');
$reportModuleIdentifier = 'system_ReportsTxreportsm1';
$reportModuleParameters = array(
'tx_reports_system_reportstxreportsm1[extension]=tx_reports',
......
......@@ -55,7 +55,7 @@ class SystemStatusUpdateTaskNotificationEmailField implements \TYPO3\CMS\Schedul
$additionalFields = array();
$additionalFields[$fieldId] = array(
'code' => $fieldHtml,
'label' => 'LLL:EXT:reports/reports/locallang.xlf:status_updateTaskField_notificationEmails',
'label' => 'LLL:EXT:reports/Resources/Private/Language/locallang_reports.xlf:status_updateTaskField_notificationEmails',
'cshKey' => '',
'cshLabel' => $fieldId
);
......@@ -80,7 +80,7 @@ class SystemStatusUpdateTaskNotificationEmailField implements \TYPO3\CMS\Schedul
}
}
if (empty($submittedData[$this->fieldPrefix . 'NotificationEmail']) || !$validInput) {
$schedulerModule->addMessage($GLOBALS['LANG']->sL('LLL:EXT:reports/reports/locallang.xlf:status_updateTaskField_notificationEmails_invalid'), \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
$schedulerModule->addMessage($GLOBALS['LANG']->sL('LLL:EXT:reports/Resources/Private/Language/locallang_reports.xlf:status_updateTaskField_notificationEmails_invalid'), \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
$validInput = FALSE;
}
return $validInput;
......
......@@ -3,8 +3,8 @@ defined('TYPO3_MODE') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::class] = array(
'extension' => 'reports',
'title' => 'LLL:EXT:reports/reports/locallang.xlf:status_updateTaskTitle',
'description' => 'LLL:EXT:reports/reports/locallang.xlf:status_updateTaskDescription',
'title' => 'LLL:EXT:reports/Resources/Private/Language/locallang_reports.xlf:status_updateTaskTitle',
'description' => 'LLL:EXT:reports/Resources/Private/Language/locallang_reports.xlf:status_updateTaskDescription',
'additionalFields' => \TYPO3\CMS\Reports\Task\SystemStatusUpdateTaskNotificationEmailField::class
);
......
......@@ -16,9 +16,9 @@ if (TYPO3_MODE === 'BE') {
)
);
$statusReport = array(
'title' => 'LLL:EXT:reports/reports/locallang.xlf:status_report_title',
'title' => 'LLL:EXT:reports/Resources/Private/Language/locallang_reports.xlf:status_report_title',
'icon' => 'EXT:reports/Resources/Public/Icons/module-reports.svg',
'description' => 'LLL:EXT:reports/reports/locallang.xlf:status_report_description',
'description' => 'LLL:EXT:reports/Resources/Private/Language/locallang_reports.xlf:status_report_description',
'report' => \TYPO3\CMS\Reports\Report\Status\Status::class
);
if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'])) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment