[TYPO3-core] RFC #15741: Feature: PageRenderer should be able to include locallang-files as JS-InlineLabels

Oliver Hader oliver at typo3.org
Sun Sep 19 15:31:39 CEST 2010


Hi,

Am 19.09.10 13:44, schrieb Steffen Kamper:
> Hi,
> 
> Jigal van Hemert schrieb:
>>
>> In this case t3lib_div::readLLfile() will return either an array
>> (maybe empty) or FALSE in case of an error. So a check for FALSE would
>> be enough:
>>
>> if ($labels !== FALSE) {
>>     foreach...
>>
> 
> yes, that's the best.
> 
> +1 by reading and testing of v3

The new methode put all languages to the internal array of the
page-renderer, thus we had 'default', 'de', 'fr', etc. but not the
accordant labels we wanted to have.

I attached a new patch that solves this with test-cases. Plese read and
test this new feature again! Thanks!

olly
-- 
Oliver Hader
TYPO3 v4 Core Team Leader
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015741_v4.patch
Type: text/x-patch
Size: 4689 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100919/e1833cd0/attachment.bin>


More information about the TYPO3-team-core mailing list