diff --git a/Classes/helpers/class.tx_caretaker_LocalizationHelper.php b/Classes/helpers/class.tx_caretaker_LocalizationHelper.php index fda80ccc..e1c5cf47 100644 --- a/Classes/helpers/class.tx_caretaker_LocalizationHelper.php +++ b/Classes/helpers/class.tx_caretaker_LocalizationHelper.php @@ -73,7 +73,7 @@ public static function localizeString($locallangString) // FE if ($GLOBALS['TSFE']) { $lcObj = GeneralUtility::makeInstance('TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer'); - $result = $lcObj->TEXT(array('data' => $locallangString)); + $result = $lcObj->cObjGetSingle('TEXT', array('data' => $locallangString)); } // eID else { /** @var \TYPO3\CMS\Lang\LanguageService $LANG */ diff --git a/Classes/services/tests/class.tx_caretaker_TestServiceBase.php b/Classes/services/tests/class.tx_caretaker_TestServiceBase.php index 94b63680..4d94d6ca 100644 --- a/Classes/services/tests/class.tx_caretaker_TestServiceBase.php +++ b/Classes/services/tests/class.tx_caretaker_TestServiceBase.php @@ -272,7 +272,7 @@ protected function locallizeString($locallang_string) case 'FE': $lcObj = GeneralUtility::makeInstance('TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer'); - return $lcObj->TEXT(array('data' => $locallang_string)); + return $lcObj->cObjGetSingle('TEXT', array('data' => $locallang_string)); case 'BE': $locallang_key = array_pop($locallang_parts); diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index ff65dbb3..b5f155d3 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -1,14 +1,14 @@