Fix lang trans
This commit is contained in:
parent
ca21aef394
commit
1d22be092d
1 changed files with 3 additions and 0 deletions
|
|
@ -728,6 +728,9 @@ print '<td class="left" width="200">';
|
|||
$tooltiponprofit = $langs->trans("ProfitIsCalculatedWith")."<br>\n";
|
||||
$tooltiponprofitplus = $tooltiponprofitminus = '';
|
||||
foreach ($listofreferent as $key => $value) {
|
||||
if (!empty($value['lang'])) {
|
||||
$langs->load($value['lang']);
|
||||
}
|
||||
$name = $langs->trans($value['name']);
|
||||
$qualified = $value['test'];
|
||||
$margin = empty($value['margin']) ? 0 : $value['margin'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue