Project

General

Profile

Bug #17894 ยป translation_proprity.patch

Administrator Admin, 2007-12-06 11:07

View differences:

t3lib/class.t3lib_div.php (working copy)
if ($langKey!='default') {
// If no entry is found for the language key, then force a value depending on meta-data setting. By default an automated filename will be used:
if (!isset($xmlContent['data'][$langKey])) {
$LOCAL_LANG[$langKey] = t3lib_div::llXmlAutoFileName($fileRef, $langKey);
} else {
$LOCAL_LANG[$langKey] = t3lib_div::llXmlAutoFileName($fileRef, $langKey);
if (!$LOCAL_LANG[$langKey] && isset($xmlContent['data'][$langKey])) {
$LOCAL_LANG[$langKey] = $xmlContent['data'][$langKey];
}
    (1-1/1)