From 795db07dbfc9766a7a3999e49b7afb668e307d2d Mon Sep 17 00:00:00 2001
From: Wouter Wolters <typo3@wouterwolters.nl>
Date: Mon, 13 Jul 2015 17:54:31 +0200
Subject: [PATCH] [TASK] Move EXT:lang/locallang_alt_doc.xml to include as xlf

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>
---
 .../backend/Classes/Controller/EditDocumentController.php     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php
index e30555bbc4ef..c8adb81caa95 100644
--- a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php
+++ b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php
@@ -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);">';
-- 
GitLab