+2009-07-30 Steffen Kamper <info@sk-typo3.de>
+
+ * Fixed bug #11603: BE-Log: "Changes in fields" and "Show history" are not translatable (Thanx to Christopher Stelmaszyk)
+
2009-07-27 Oliver Hader <oliver@typo3.org>
* Cleanup: Updated t3lib/core_autoload.php
2009-07-27 Oliver Hader <oliver@typo3.org>
* Cleanup: Updated t3lib/core_autoload.php
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid,fieldlist', 'sys_history', 'sys_log_uid='.intval($sys_log_uid));
$newRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
if (is_array($newRow)) {
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid,fieldlist', 'sys_history', 'sys_log_uid='.intval($sys_log_uid));
$newRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
if (is_array($newRow)) {
- $text.=' Changes in fields: <em>'.$newRow['fieldlist'].'</em>.';
- $text.=' <a href="'.htmlspecialchars($GLOBALS['BACK_PATH'].'show_rechis.php?sh_uid='.$newRow['uid'].'&returnUrl='.rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'))).'">'.
- '<img'.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/history2.gif','width="13" height="12"').' title="Show History" alt="" />'.
+ $text .= ' ' . sprintf($GLOBALS['LANG']->getLL('changesInFields'), '<em>' . $newRow['fieldlist'] . '</em>');
+ $text .= ' <a href="' . htmlspecialchars($GLOBALS['BACK_PATH'] . 'show_rechis.php?sh_uid=' . $newRow['uid'] .
+ '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'))) . '">' .
+ '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/history2.gif', 'width="13" height="12"') .
+ ' title="' . $GLOBALS['LANG']->getLL('showHistory') . '" alt="" />' .
<label index="users">Users:</label>
<label index="time">Time:</label>
<label index="max">Max:</label>
<label index="users">Users:</label>
<label index="time">Time:</label>
<label index="max">Max:</label>
+ <label index="changesInFields">Changes in fields: %s.</label>
+ <label index="showHistory">Show History</label>
<label index="action">Action:</label>
<label index="type_1">DB</label>
<label index="action_1_1">Insert</label>
<label index="action">Action:</label>
<label index="type_1">DB</label>
<label index="action_1_1">Insert</label>