2008-10-22 Jeff Segars <jeff@webempoweredchurch.org>
* Fixed bug #8636: Hardcoded labels in Configuration module (thanks to Christopher Stelmaszyk)
+ * Fixed bug #8505: String "File/Files" in Fileadmin are hardcoded (thanks to Stefano Kowalke)
2008-10-22 Stanislas Rolland <typo3@sjbr.ca>
if (!$GLOBALS['TYPO3_CONF_VARS']['GFX']['thumbnails']) {
$this->thumbScript='gfx/notfound_thumb.gif';
}
+ $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_common.xml');
}
/**
**/
function getFolderInfo() {
if($this->counter == 1) {
- $fileLabel = 'File';
+ $fileLabel = $GLOBALS['LANG']->getLL('file', true);
} else {
- $fileLabel = 'Files';
+ $fileLabel = $GLOBALS['LANG']->getLL('files', true);
}
- return $this->counter.' '.$fileLabel.', '.t3lib_div::formatSize($this->totalbytes).'bytes';
+ return $this->counter . ' ' . $fileLabel . ', ' . t3lib_div::formatSize($this->totalbytes, $GLOBALS['LANG']->getLL('byteSizeUnits', true));
}
/**
<label index="about">About</label>
<label index="ascending">Ascending</label>
<label index="back">Back</label>
+ <label index="byteSizeUnits"> B| KB| MB| GB</label>
<label index="cancel">Cancel</label>
<label index="category">Category</label>
<label index="close">Close</label>