From c0e5c9f7639f48d2587bce0a3516e4a5b8f0227a Mon Sep 17 00:00:00 2001 From: Steffen Kamper Date: Thu, 30 Jul 2009 16:45:04 +0000 Subject: [PATCH] Fixed bug #11603: BE-Log: "Changes in fields" and "Show history" are not translatable (Thanx to Christopher Stelmaszyk) git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5736 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 4 ++++ t3lib/class.t3lib_bedisplaylog.php | 8 +++++--- typo3/sysext/belog/mod/locallang.xml | 2 ++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f5db040dee6..75979019d72e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-07-30 Steffen Kamper + + * Fixed bug #11603: BE-Log: "Changes in fields" and "Show history" are not translatable (Thanx to Christopher Stelmaszyk) + 2009-07-27 Oliver Hader * Cleanup: Updated t3lib/core_autoload.php diff --git a/t3lib/class.t3lib_bedisplaylog.php b/t3lib/class.t3lib_bedisplaylog.php index f199ec3fbf3f..eadd833d4801 100644 --- a/t3lib/class.t3lib_bedisplaylog.php +++ b/t3lib/class.t3lib_bedisplaylog.php @@ -209,9 +209,11 @@ class t3lib_BEDisplayLog { $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: '.$newRow['fieldlist'].'.'; - $text.=' '. - ''. + $text .= ' ' . sprintf($GLOBALS['LANG']->getLL('changesInFields'), '' . $newRow['fieldlist'] . ''); + $text .= ' ' . + '' . ''; } diff --git a/typo3/sysext/belog/mod/locallang.xml b/typo3/sysext/belog/mod/locallang.xml index c2041b555ef6..eacc09a08e13 100755 --- a/typo3/sysext/belog/mod/locallang.xml +++ b/typo3/sysext/belog/mod/locallang.xml @@ -35,6 +35,8 @@ + + -- 2.20.1