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:
+3
-2
@@ -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 .']]';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user