Now "en" lang has "en_utf8" as parent so we must allow

it to look for parent strings... Only "en_utf8" remains
as root language to save us from some checks (because
it cannot have parentlaguage defined).
This commit is contained in:
stronk7
2006-02-06 13:45:00 +00:00
parent e973824c94
commit 8859e0b6ca
+3 -2
View File
@@ -4728,8 +4728,9 @@ function get_string($identifier, $module='', $a=NULL) {
}
}
/// If the preferred language was English we can abort now
if ($lang == $defaultlang) {
/// If the preferred language was English (utf8) we can abort now
/// saving some checks beacuse it's the only "root" lang
if ($lang == 'en_utf8') {
return '[['. $identifier .']]';
}