[TYPO3-core] RFC #8505: String "File/Files" in Fileadmin are hardcoded

Stefano Kowalke blueduck at gmx.net
Wed Oct 22 20:06:09 CEST 2008


Martin Kutschker wrote:

> Stefano Kowalke schrieb:
>> 
>> I add a new label for the units to locallang_mod_file_list.xml and pass
>> this to formatSize(). Now the units was displayed with B, KB, MB, GB.
> 
> Looks like a candidate for the common language file. Maybe called
> "byteSizeUnits" as it isn't a format string as such.
> 
> Masi


Yes, there was more labels which need this units, so i add this to the
common file and modified the function for fetching the labels to getLL();

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: #6_8505.diff
Type: text/x-diff
Size: 1573 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081022/6c980f86/attachment.diff 


More information about the TYPO3-team-core mailing list