[+BUGFIX] Extbase (Utility): Make _LOCAL_LANG override work with dots
authorSebastian Kurfürst <sebastian@typo3.org>
Tue, 18 Jan 2011 18:00:19 +0000 (18:00 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Tue, 18 Jan 2011 18:00:19 +0000 (18:00 +0000)
commitd4250fd79e5a30c10b70b6d8fb9188d6154d712f
tree3efdd6032ffd864528ebe33c0cabd3cc073e638a
parent8aebbfbfe254a10c20eed22cb526378084f61c17
[+BUGFIX] Extbase (Utility): Make _LOCAL_LANG override work with dots

When dealing with Locallang files, it is a common approach to
write locallang keys with dots, as example tx_foo.bar.
You can overwrite these keys easily by Typoscript _LOCAL_LANG,
and with this patch this also works with keys containing dots.

Thanks to Thomas Maroschik for the initial implementation!

Resolves: #12121
typo3/sysext/extbase/Classes/Utility/Localization.php
typo3/sysext/extbase/Tests/Unit/Utility/LocalizationTest.php [new file with mode: 0644]