#9850: Strings 'TEMP' and 'RECYCLER' are hardcoded in the filetree
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Tue, 2 Dec 2008 21:01:19 +0000 (21:01 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Tue, 2 Dec 2008 21:01:19 +0000 (21:01 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4523 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.filelistfoldertree.php

index 223e40b..5746024 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-12-02  Martin Kutschker  <masi@typo3.org>
 
        * Fixed bug #6131: 'last login' of BE and FE users not shown in the BE (thanks to Christian Kuhn)
+       * Fixed bug #9850: Strings 'TEMP' and 'RECYCLER' are hardcoded in the filetree (thanks to Stefano Kowalke)
 
 2008-12-02  Dmitry Dulepov  <dmitry@typo3.org>
 
index 42d790e..29ea45d 100755 (executable)
@@ -409,13 +409,13 @@ class filelistFolderTree extends t3lib_folderTree {
                                $icon = 'gfx/i/_icon_' .$webpath . 'folders' . ($type == 'readonly' ? '_ro' : '') . '.gif';
                                if ($val == '_temp_')   {
                                        $icon = 'gfx/i/sysf.gif';
-                                       $row['title']='TEMP';
-                                       $row['_title']='<b>TEMP</b>';
+                                       $row['title'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:temp', true); 
+                                       $row['_title'] = '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:temp', true) . '</strong>';
                                }
                                if ($val == '_recycler_')       {
                                        $icon = 'gfx/i/recycler.gif';
-                                       $row['title']='RECYCLER';
-                                       $row['_title']='<b>RECYCLER</b>';
+                                       $row['title'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:recycler', true);
+                                       $row['_title'] = '<strong>' .$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:recycler', true) . '</strong>';
                                }
                                $HTML .= $this->wrapIcon('<img'.t3lib_iconWorks::skinImg($this->backPath, $icon, 'width="18" height="16"').' alt="" />',$row);
                        }