[TYPO3-core] RFC #8271: Bugfix: OpenDocs Icons: Hardcoded labels in title and alt-attributes
Stefano Kowalke
blueduck at gmx.net
Tue Apr 29 20:57:44 CEST 2008
Oliver Hader wrote:
> Hi Stefano,
>
> Stefano Kowalke schrieb:
>> 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');
>
> Please use this:
> $title =
>
$GLOBALS['LANG']->sL('LLL:EXT:opendocs/locallang_opendocs.xml:toolbaritem',
> true);
> -> $title instead of $altTitle
> -> hsc directly with sL() call
> -> xml extension instead php
> -> key 'toolbaritem' which has 'Open and Recently Used Documents'
>
> +1 on reading if the above things were taken into account
>
> olly
Thank you for your hints.
Please have a look at attachment.
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: bug_8271_class.tx_opendocs.php.diff
Type: text/x-diff
Size: 1267 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080429/0557db98/attachment.diff
More information about the TYPO3-team-core
mailing list