[BUGFIX] Assure language override without original file 94/42694/5
authorStefan Galinski <stefan@sgalinski.de>
Wed, 4 Mar 2015 14:50:20 +0000 (15:50 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 17 Aug 2015 23:06:33 +0000 (01:06 +0200)
commit971e19372d6fe668cbcb01f33a1e7bc583ef2cb0
tree5a7c213d1a52d9f2c56a4a31922ad8ba65563862
parent67535f37d48bf82921befa592a357dcc6e7bee2c
[BUGFIX] Assure language override without original file

The language override of language files is currently broken,
because it only works if a localized language file already
exists inside the extension or l10n directory. This patch assures
that the language override takes place even if no file could
be found in the first place.

Resolves: #65513
Releases: master, 6.2
Change-Id: I9269e60c5788c435b06b820c459fd4f077d066ea
Reviewed-on: http://review.typo3.org/42694
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Localization/LocalizationFactory.php
typo3/sysext/core/Tests/Unit/Localization/LocalizationFactoryTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php