mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-22 06:26:09 +01:00
[TASK] XLF core locallang files are still referenced with .php/.xml
The core still access xliff language files as .php or .xml, although the files themselves are converted to .xlf since quite some time. This could cause confusion. This is a cleanup taken all .xlf files in the EXT:lang/.xlf directory and run via a sed script (thanks to Stucki) Resolves: #46940 Releases: 6.1 Change-Id: I427776b176ba2c23678689029eaf388dff90d0fa Reviewed-on: https://review.typo3.org/19579 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
This commit is contained in:
parent
2cb2327b1c
commit
1c9c5af29e
1 changed files with 3 additions and 3 deletions
|
@ -370,9 +370,9 @@ class FrontendEditPanel {
|
|||
$processedDataArr['uid'] = $theCmd == 'new' ? 'NEW' : $dataArray['uid'];
|
||||
$processedDataArr['pid'] = $theCmd == 'new' ? $newUID : $dataArray['pid'];
|
||||
$panel = '';
|
||||
$buttons = '<input type="image" border="0" name="TSFE_EDIT[update]" src="' . $tceforms->backPath . 'gfx/savedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', 1) . '" />';
|
||||
$buttons .= '<input type="image" border="0" name="TSFE_EDIT[update_close]" src="' . $tceforms->backPath . 'gfx/saveandclosedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', 1) . '" />';
|
||||
$buttons .= '<input type="image" border="0" name="TSFE_EDIT[cancel]" onclick="' . htmlspecialchars(('window.location.href=\'' . \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('REQUEST_URI') . '\';return false;')) . '" src="' . $tceforms->backPath . 'gfx/closedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', 1) . '" />';
|
||||
$buttons = '<input type="image" border="0" name="TSFE_EDIT[update]" src="' . $tceforms->backPath . 'gfx/savedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', 1) . '" />';
|
||||
$buttons .= '<input type="image" border="0" name="TSFE_EDIT[update_close]" src="' . $tceforms->backPath . 'gfx/saveandclosedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', 1) . '" />';
|
||||
$buttons .= '<input type="image" border="0" name="TSFE_EDIT[cancel]" onclick="' . htmlspecialchars(('window.location.href=\'' . \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('REQUEST_URI') . '\';return false;')) . '" src="' . $tceforms->backPath . 'gfx/closedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', 1) . '" />';
|
||||
// Buttons top
|
||||
$panel .= $tceforms->intoTemplate(array('ITEM' => $buttons));
|
||||
$panel .= $tceforms->getMainFields($table, $processedDataArr);
|
||||
|
|
Loading…
Reference in a new issue