diff --git a/typo3/sysext/reports/Classes/Report/Status/Status.php b/typo3/sysext/reports/Classes/Report/Status/Status.php index 03162a9bab8fb2128aaffc279ab7dbc209676962..040255f36ba6ff8b51e40386cd10124e528c03b6 100644 --- a/typo3/sysext/reports/Classes/Report/Status/Status.php +++ b/typo3/sysext/reports/Classes/Report/Status/Status.php @@ -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'); } /** diff --git a/typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php b/typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php index ab23564f07d90aeb60e9fa45365cbeeac1dbb0a5..6fec62fd9c73fe186684c6cda3b2a44a785092b9 100644 --- a/typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php +++ b/typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php @@ -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', diff --git a/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php b/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php index 1352b62419f5630bec21d3aea78155e354eca25e..80e55cbc28c3e7473a134f9aa8e2cbe4d836dcd5 100644 --- a/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php +++ b/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php @@ -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; diff --git a/typo3/sysext/reports/reports/locallang.xlf b/typo3/sysext/reports/Resources/Private/Language/locallang_reports.xlf similarity index 100% rename from typo3/sysext/reports/reports/locallang.xlf rename to typo3/sysext/reports/Resources/Private/Language/locallang_reports.xlf diff --git a/typo3/sysext/reports/ext_localconf.php b/typo3/sysext/reports/ext_localconf.php index 9ea4cc239b1caf2c910d92643f57541119e76812..38584888c7416b6fffef3a77579f9995cafec092 100644 --- a/typo3/sysext/reports/ext_localconf.php +++ b/typo3/sysext/reports/ext_localconf.php @@ -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 ); diff --git a/typo3/sysext/reports/ext_tables.php b/typo3/sysext/reports/ext_tables.php index c09221aca5b755bd994dc422d93107e15b27952f..c77048930701678106c06ee4014772a03f01452e 100644 --- a/typo3/sysext/reports/ext_tables.php +++ b/typo3/sysext/reports/ext_tables.php @@ -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'])) {