Skip to content

Commit

Permalink
* bugfix to the function loadLocalLang from TranslationBase: No xlf f…
Browse files Browse the repository at this point in the history
…ile extension check. LocalizationFactory must always be used for TYPO3 7 and 8.
  • Loading branch information
franzholz committed Feb 8, 2019
1 parent be1431f commit 2f66c33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

2019-02-08 Franz Holzinger <franz@ttproducts.de>
* bugfix to the function loadLocalLang from TranslationBase: No xlf file extension check. LocalizationFactory must always be used for TYPO3 7 and 8.

2019-02-06 Franz Holzinger <franz@ttproducts.de>
* improvement to the function loadLocalLang from TranslationBase: add the last slash to the pathname if necessary.

Expand Down
1 change: 0 additions & 1 deletion Classes/Base/TranslationBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ public function loadLocalLang (
$ext = pathinfo($basePath, PATHINFO_EXTENSION);

if (
$ext == 'xlf' &&
version_compare(TYPO3_version, '7.4.0', '>=')
) {
$callingClassName = '\\TYPO3\\CMS\\Core\\Localization\\LocalizationFactory';
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'title' => 'Static Methods since 2007',
'description' => 'This library offers classes and functions to other TYPO3 extensions. It provides a modified t3lib_div of TYPO3 4.7.10. Replacement for tslib_pibase methods and t3skin images.',
'category' => 'misc',
'version' => '1.10.15',
'version' => '1.10.16',
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => '',
Expand Down

0 comments on commit 2f66c33

Please sign in to comment.