[TYPO3-core] REMINDER #1: RFC #8270: Bugfix: Hardcoded labels in title-attributes in backends right upper corner icons
Stefano Kowalke
blueduck at gmx.net
Mon May 19 12:37:34 CEST 2008
Hi,
could someone from coreteam check the patch and if it ok comitt it to the
core, or tell me what i make better.
Saludos,
Stefano
Stefano Kowalke wrote:
> Hi,
>
> this is an improvement for class.clearcachemenu.php.
>
> Description:
> *Loads the whole locallang_core.xml
> *Using $GLOBALS['LANG']->getLL instead $GLOBAL['LANG']->sL()
>
>
> Stefano
>
> Stefano Kowalke wrote:
>
>> Hi,
>>
>> This is an SVN patch request.
>>
>> Type: Bugfix
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=8270
>>
>> Branches:
>> 4.2, Trunk
>>
>> Problem:
>> Title attributes from three icons (Shortcut, Clear Cache, Search) in
>> backends upper right corner are hardcoded and not be able to translate.
>>
>> Solution:
>> Solution for "Search":
>> Replace the hardcoded label in
>> typo3_src-4.2.0/typo3/classes/class.backendsearchmenu.php
>> with
>> $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.search');
>>
>> Solution for "Clear Cache":
>> Replace the hardcoded label in
>> typo3_src-4.2.0/typo3/classes/class.clearcachemenu.php
>> with
>>
>
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCache_clearCache');
>>
>> Solution for "Shortcut":
>> Add a new line to
>> typo3_src-4.2.0/typo3/sysext/lang/locallang_core.xml like
>> <label index="labels.shortcut">Shortcut</label>
>>
>> Replace the hardcoded label in
>> typo3_src-4.2.0/typo3/classes/class.shortcutmenu.php
>> with
>> $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.shortcut');
>>
>>
>> Saludos
>> 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
More information about the TYPO3-team-core
mailing list