Fix translation
This commit is contained in:
parent
2dd55301de
commit
a495d5e982
@ -336,6 +336,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
),
|
||||
'supplier_proposal' =>
|
||||
array(
|
||||
'lang' => 'supplier_proposal',
|
||||
'groupName' => 'SupplierProposals',
|
||||
'globalStatsKey' => 'askprice',
|
||||
'stats' =>
|
||||
@ -485,6 +486,9 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
}
|
||||
|
||||
if (!empty($boards)) {
|
||||
if (!empty($groupElement['lang'])) {
|
||||
$langs->load($groupElement['lang']);
|
||||
}
|
||||
$groupName = $langs->trans($groupElement['groupName']);
|
||||
$groupKeyLowerCase = strtolower($groupKey);
|
||||
$nbTotalForGroup = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user