Feature #20777 » typo3-20777-dot_in_ll-v3.diff
typo3/sysext/cms/tslib/class.tslib_pibase.php (Arbeitskopie) | ||
---|---|---|
// For labels coming from the TypoScript (database) the charset is assumed to be "forceCharset" and if that is not set, assumed to be that of the individual system languages
|
||
$this->LOCAL_LANG_charset[$k][$llK] = $GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset'] ? $GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset'] : $GLOBALS['TSFE']->csConvObj->charSetArray[$k];
|
||
}
|
||
else {
|
||
|
||
// handle language keys with dots
|
||
if ($llK === 'keys-with-dots.') {
|
||
|
||
t3lib_div::deprecationLog('Using language keys with dots is highly discuraged and will not be supported in future versions.');
|
||
|
||
foreach($llV as $llDefinitionWithDots) {
|
||
|
||
$llDefinitionWithDots = explode('|', $llDefinitionWithDots, 2);
|
||
$llKWithDots = $llDefinitionWithDots[0];
|
||
$llVWithDots = $llDefinitionWithDots[1];
|
||
|
||
$this->LOCAL_LANG[$k][$llKWithDots] = $llVWithDots;
|
||
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
- « Previous
- 1
- 2
- 3
- 4
- Next »