Fixed Bug 8564: Result of t3lib_BEfunc::getProcessedValue is hardcoded and therefore...
authorIngo Renner <ingo.renner@typo3.org>
Sun, 19 Oct 2008 16:45:24 +0000 (16:45 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sun, 19 Oct 2008 16:45:24 +0000 (16:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4330 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_befunc.php

index 0cafd2c..aa6e5f1 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-19  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed Bug 8564: Result of t3lib_BEfunc::getProcessedValue is hardcoded and therefore cannot be translated, credits Christopher Stelmaszyk
+
 2008-10-19  Michael Stucki  <michael@typo3.org>
 
        * Fixed bug #9535: Folder icons in filelist file tree don't get skinned anymore (patch by Francois Suter)
index f284136..3d28a4d 100755 (executable)
@@ -2151,7 +2151,7 @@ final class t3lib_BEfunc {
                                break;
                                case 'check':
                                        if (!is_array($theColConf['items']) || count($theColConf['items'])==1) {
-                                               $l = $value ? 'Yes' : '';
+                                               $l = $value ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:yes') : '';
                                        } else {
                                                reset($theColConf['items']);
                                                $lA = Array();
@@ -4095,4 +4095,4 @@ final class t3lib_BEfunc {
                return $script;
        }
 }
-?>
+?>
\ No newline at end of file