[TYPO3-core] RFC #8271: Bugfix: OpenDocs Icons: Hardcoded labels in title and alt-attributes

Steffen Kamper steffen at sk-typo3.de
Wed Apr 30 17:52:19 CEST 2008


"Stefano Kowalke" <blueduck at gmx.net> schrieb im Newsbeitrag 
news:mailman.1.1209563064.30464.typo3-team-core at lists.netfielders.de...
> Stefano Kowalke wrote:
>
>> Hey,
>>
>> This is an SVN patch request.
>>
>> Type: Bugfix
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=8271
>>
>> Branches:
>> 4.2, Trunk
>>
>> Problem:
>> Title and alt attributes from OpenDocs icon in
>> backends upper right corner are hardcoded and not be able to translate.
>>
>> Solution:
>> Replace the hardcoded label in
>> typo3_src-4.2.0/typo3/sysext/opendocs/class.tx_opendocs.php
>> with
>> $GLOBALS['LANG']->sL('LLL:EXT:opendocs/locallang_opendocs.php:open_docs');
>>
>> Saludos
>> Stefano
>>
>
> I just read in doc_core_inside [1] that sL() is deprecated. Its better 
> make
> use of
>

i don't see any hint on deprecated, the sL method has advantage when you 
only need one or two labels out of this file, so why reading complete array 
in memory?

vg Steffen 




More information about the TYPO3-team-core mailing list