Project

General

Profile

Bug #18266 ยป cache_labels_fix.diff

Administrator Admin, 2008-02-22 21:16

View differences:

typo3/classes/class.clearcachemenu.php (working copy)
$this->cacheActions = array();
// Clear cache for ALL tables!
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCache_all');
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCacheMenu_all');
$this->cacheActions[] = array(
'id' => 'all',
'title' => $title,
......
);
// Clear cache for either ALL pages
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCache_pages');
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCacheMenu_pages');
$this->cacheActions[] = array(
'id' => 'pages',
'title' => $title,
......
// Clearing of cache-files in typo3conf/ + menu
if ($GLOBALS['TYPO3_CONF_VARS']['EXT']['extCache']) {
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCache_allTypo3Conf');
$title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCacheMenu_allTypo3Conf');
$this->cacheActions[] = array(
'id' => 'temp_CACHED',
'title' => $title,
typo3/sysext/lang/locallang_core.xml (working copy)
<label index="rm.closeAllDocs">Close all documents</label>
<label index="rm.clearCache_clearCache">Clear cache</label>
<label index="rm.clearCache_thisPage">This page</label>
<label index="rm.clearCache_pages">Clear page content cache</label>
<label index="rm.clearCache_all">Clear all caches</label>
<label index="rm.clearCache_allTypo3Conf">Clear configuration cache</label>
<label index="rm.clearCache_all">Clear FE cache</label>
<label index="rm.clearCache_allTypo3Conf">Clear cache in typo3conf/</label>
<label index="rm.clearCacheMenu_all">Clear all caches</label>
<label index="rm.clearCacheMenu_pages">Clear page content cache</label>
<label index="rm.clearCacheMenu_allTypo3Conf">Clear configuration cache</label>
<label index="rm.adminFunctions">Admin functions</label>
<label index="rm.edit">Edit</label>
<label index="rm.export">Export</label>
    (1-1/1)