Index: typo3/sysext/belog/mod/locallang.xml =================================================================== --- typo3/sysext/belog/mod/locallang.xml (Revision 7706) +++ typo3/sysext/belog/mod/locallang.xml (Arbeitskopie) @@ -34,12 +34,25 @@ + + + + + + + + + + + + + Index: typo3/sysext/belog/mod/index.php =================================================================== --- typo3/sysext/belog/mod/index.php (Revision 7706) +++ typo3/sysext/belog/mod/index.php (Arbeitskopie) @@ -189,14 +189,14 @@ $groups = t3lib_BEfunc::getGroupNames(); if (is_array($groups)) { foreach ($groups as $grVals) { - $this->MOD_MENU['users']['gr-'.$grVals['uid']] = 'Group: '.$grVals['title']; + $this->MOD_MENU['users']['gr-' . $grVals['uid']] = $GLOBALS['LANG']->getLL('group') . ' ' . $grVals['title']; } } $users = t3lib_BEfunc::getUserNames(); if (is_array($users)) { foreach ($users as $grVals) { - $this->MOD_MENU['users']['us-'.$grVals['uid']] = 'User: '.$grVals['username']; + $this->MOD_MENU['users']['us-' . $grVals['uid']] = $GLOBALS['LANG']->getLL('user') . ' ' . $grVals['username']; } } @@ -263,15 +263,15 @@ array( array($GLOBALS['LANG']->getLL('users'), $menuU), array($GLOBALS['LANG']->getLL('time'), $menuT . ($this->MOD_SETTINGS['time'] == 30 ? - '
from ' . $inputDate . $pickerInputDate . ' to ' . $inputDate_end . $pickerInputDate_end . ' ' . $setButton : '')) + '
' . $GLOBALS['LANG']->getLL('from') . ' ' . $inputDate . $pickerInputDate . ' ' . $GLOBALS['LANG']->getLL('to') . ' ' . $inputDate_end . $pickerInputDate_end . ' ' . $setButton : '')) ), array( array($GLOBALS['LANG']->getLL('max'), $menuM), array($GLOBALS['LANG']->getLL('action'), $menuA) ), array( - $GLOBALS['BE_USER']->workspace!==0 ? array('Workspace:',''.$GLOBALS['BE_USER']->workspace.'') : array('Workspace:',$menuW), - array('Group by page:',$groupByPage) + $GLOBALS['BE_USER']->workspace !== 0 ? array($GLOBALS['LANG']->getLL('workspace'), ''.$GLOBALS['BE_USER']->workspace . '') : array($GLOBALS['LANG']->getLL('workspace'), $menuW), + array($GLOBALS['LANG']->getLL('groupByPage'), $groupByPage) ) )); @@ -375,12 +375,26 @@ $overviewList = array(); foreach($logPids as $pid) { if ((int)$pid>0) { - $overviewList[]= htmlspecialchars(t3lib_BEfunc::getRecordPath($pid,'',20).'" [UID:'.$pid.']'); + $overviewList[]= htmlspecialchars( + sprintf( + $GLOBALS['LANG']->getLL('pagenameWithUID'), + t3lib_BEfunc::getRecordPath($pid,'',20), + $pid + ) + ); } } sort($overviewList); $this->content.=$this->doc->divider(5); - $this->content.= $this->doc->section('Overview', 'These pages have log messages from ' . date($this->dateFormat, $starttime) . ' to ' . date($this->dateFormat, $endtime) . '


' . implode('
', $overviewList), 1, 1, 0); + $this->content.= $this->doc->section( + $GLOBALS['LANG']->getLL('overview'), + sprintf($GLOBALS['LANG']->getLL('timeInfo'), + date($this->dateFormat, $starttime), + date($this->dateFormat, $endtime)) . + '


' . implode('
', $overviewList), + 1, 1, 0 + ); + $this->content.=$this->doc->spacer(30); } else $logPids[] = '_SINGLE'; @@ -396,16 +410,23 @@ $insertMsg = ''; break; case '-1': - $insertMsg = ' for NON-PAGE related actions '; + $insertMsg = ' ' . $GLOBALS['LANG']->getLL('forNonPageRelatedActions') . ' '; break; case '0': - $insertMsg = ' for ROOT LEVEL '; + $insertMsg = ' ' . $GLOBALS['LANG']->getLL('forRootLevel') . ' '; break; default: - $insertMsg = ' for PAGE "'.t3lib_BEfunc::getRecordPath($pid,'',20).'" ('.$pid.') '; + $insertMsg = ' ' . sprintf($GLOBALS['LANG']->getLL('forPage'), t3lib_BEfunc::getRecordPath($pid, '', 20), $pid) . ' '; break; } - $this->content.=$this->doc->section('Log '.$insertMsg.'from '.date($this->dateFormat, $starttime).' to '.date($this->dateFormat, $endtime),'',1,1,0); + $this->content .= $this->doc->section( + sprintf($GLOBALS['LANG']->getLL('logForNonPageRelatedActionsOrRootLevelOrPage'), + $insertMsg, + date($this->dateFormat, $starttime), + date($this->dateFormat, $endtime) + ), + '', 1, 1, 0 + ); $log = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_log', '1=1'.$where_part.($pid!='_SINGLE'?' AND event_pid='.intval($pid):''), '', 'uid DESC', intval($this->MOD_SETTINGS['max'])); @@ -441,7 +462,7 @@ $markers['CONTENT'] = $this->content; // Build the for the module - $this->content = $this->doc->startPage('Administration log'); + $this->content = $this->doc->startPage($GLOBALS['LANG']->getLL('adminLog')); $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers); $this->content.= $this->doc->endPage(); $this->content = $this->doc->insertStylesAndJS($this->content);