[BUGFIX] Fix Translation in Typo3 11.5
This commit is contained in:
parent
b33989a340
commit
e53cca6393
@ -65,12 +65,8 @@ class TranslationUtility
|
||||
if (!$extensionKey) {
|
||||
$extensionKey = 'site_templates';
|
||||
}
|
||||
return implode([
|
||||
'LLL:EXT:',
|
||||
$extensionKey,
|
||||
'/Resources/Private/Language/locallang_db.xlf:',
|
||||
$key
|
||||
]);
|
||||
$translation = LocalizationUtility::translate('LLL:EXT:'.$extensionKey.'/Resources/Private/Language/locallang_db.xlf:'.$key);
|
||||
return $translation;
|
||||
} else {
|
||||
if ($extensionKey) {
|
||||
$translation = LocalizationUtility::translate(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user