[TASK] Move language files in rsaauth
[Packages/TYPO3.CMS.git] / typo3 / sysext / rsaauth / Classes / BackendWarnings.php
index c1db8cf..17af81b 100644 (file)
@@ -31,25 +31,25 @@ class BackendWarnings {
                if ($backend instanceof \TYPO3\CMS\Rsaauth\Backend\CommandLineBackend) {
                        // Not using the PHP extension!
                        $lang = $this->getLanguageService();
-                       $warnings['rsaauth_cmdline'] = $lang->sL('LLL:EXT:rsaauth/hooks/locallang.xlf:hook_using_cmdline');
+                       $warnings['rsaauth_cmdline'] = $lang->sL('LLL:EXT:rsaauth/Resources/Private/Language/locallang.xlf:hook_using_cmdline');
                        // Check the path
                        $extconf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['rsaauth']);
                        $path = trim($extconf['temporaryDirectory']);
                        if ($path == '') {
                                // Path is empty
-                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/hooks/locallang.xlf:hook_empty_directory');
+                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/Resources/Private/Language/locallang.xlf:hook_empty_directory');
                        } elseif (!\TYPO3\CMS\Core\Utility\GeneralUtility::isAbsPath($path)) {
                                // Path is not absolute
-                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/hooks/locallang.xlf:hook_directory_not_absolute');
+                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/Resources/Private/Language/locallang.xlf:hook_directory_not_absolute');
                        } elseif (!@is_dir($path)) {
                                // Path does not represent a directory
-                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/hooks/locallang.xlf:hook_directory_not_exist');
+                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/Resources/Private/Language/locallang.xlf:hook_directory_not_exist');
                        } elseif (!@is_writable($path)) {
                                // Directory is not writable
-                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/hooks/locallang.xlf:hook_directory_not_writable');
+                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/Resources/Private/Language/locallang.xlf:hook_directory_not_writable');
                        } elseif (substr($path, 0, strlen(PATH_site)) == PATH_site) {
                                // Directory is inside the site root
-                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/hooks/locallang.xlf:hook_directory_inside_siteroot');
+                               $warnings['rsaauth'] = $lang->sL('LLL:EXT:rsaauth/Resources/Private/Language/locallang.xlf:hook_directory_inside_siteroot');
                        }
                }
        }