[TYPO3-core] RFC #8590: Fileadmins folderoverview don`t show 'B' (for byte) after filesize

Stefano Kowalke blueduck at gmx.net
Tue Jun 3 13:30:07 CEST 2008


Hi,

>> I don't think so, but Dmitry will be able to tell us more. Anyway, if we
>> translate the B, we must also translate the K, M and G. Otherwiese it
>> makes no sense at all.

t3lib_div::formatSize() have a second parameter for custom labels. 

* Change the value of 'bytes' label from 'B' to 'B| KB| MB| GB'
* Give this as second parameter to t3lib_div::formatSize() 

Now, both Letters can be translate.

Stefano
-- 
Seit dem 1.1.2008 werden Daten zu jeder E-Mail verdachtsunabhängig gespeichert! 
Weitere Informationen: www.vorratsdatenspeicherung.de
GPG-ID: 0x2B08936D
Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: #2_8590_class.file_list.inc.diff
Type: text/x-diff
Size: 845 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080603/2af87f21/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: #2_8590_locallang_mod_file_list.xml.diff
Type: text/x-diff
Size: 800 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080603/2af87f21/attachment-0001.diff 


More information about the TYPO3-team-core mailing list