mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
dont translate english to english
This commit is contained in:
parent
40a39f0ced
commit
91e7caae80
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue