dont translate english to english
This commit is contained in:
parent
40a39f0ced
commit
91e7caae80
@ -24,10 +24,10 @@ class Lang
|
||||
return $_L[$key];
|
||||
} else {
|
||||
$iso = Lang::getIsoLang()[$config['language']];
|
||||
if (empty($iso) || $iso == 'en') {
|
||||
if (empty($iso)) {
|
||||
return $val;
|
||||
}
|
||||
if (!empty($iso) && !empty($val)) {
|
||||
if (!empty($iso) && !empty($val) && $iso != 'en') {
|
||||
$temp = Lang::translate($val, $iso);
|
||||
if (!empty($temp)) {
|
||||
$val = $temp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user