[TASK] Move EXT:lang/locallang_alt_doc.xml to include as xlf 34/41134/2
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 13 Jul 2015 15:54:31 +0000 (17:54 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 13 Jul 2015 16:32:36 +0000 (18:32 +0200)
Resolves: #68078
Releases: master
Change-Id: I1cc0abe0a6d0f962472061017a91c7fa8f5f8995
Reviewed-on: http://review.typo3.org/41134
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php

index e30555b..c8adb81 100644 (file)
@@ -418,7 +418,7 @@ class EditDocumentController {
         */
        public function __construct() {
                $GLOBALS['SOBE'] = $this;
-               $this->getLanguageService()->includeLLFile('EXT:lang/locallang_alt_doc.xml');
+               $this->getLanguageService()->includeLLFile('EXT:lang/locallang_alt_doc.xlf');
        }
 
        /**
@@ -679,7 +679,7 @@ class EditDocumentController {
                $this->MCONF['name'] = 'xMOD_alt_doc.php';
                // Create an instance of the document template object
                $this->doc = $GLOBALS['TBE_TEMPLATE'];
-               $this->doc->getPageRenderer()->addInlineLanguageLabelFile('EXT:lang/locallang_alt_doc.xml');
+               $this->doc->getPageRenderer()->addInlineLanguageLabelFile('EXT:lang/locallang_alt_doc.xlf');
                $this->doc->backPath = $GLOBALS['BACK_PATH'];
                $this->doc->setModuleTemplate('EXT:backend/Resources/Private/Templates/alt_doc.html');
                $this->doc->form = '<form action="' . htmlspecialchars($this->R_URI) . '" method="post" enctype="' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'] . '" name="editform" onsubmit="document.editform._scrollPosition.value=(document.documentElement.scrollTop || document.body.scrollTop); return TBE_EDITOR.checkSubmit(1);">';