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' =>
|
'supplier_proposal' =>
|
||||||
array(
|
array(
|
||||||
|
'lang' => 'supplier_proposal',
|
||||||
'groupName' => 'SupplierProposals',
|
'groupName' => 'SupplierProposals',
|
||||||
'globalStatsKey' => 'askprice',
|
'globalStatsKey' => 'askprice',
|
||||||
'stats' =>
|
'stats' =>
|
||||||
@ -485,6 +486,9 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($boards)) {
|
if (!empty($boards)) {
|
||||||
|
if (!empty($groupElement['lang'])) {
|
||||||
|
$langs->load($groupElement['lang']);
|
||||||
|
}
|
||||||
$groupName = $langs->trans($groupElement['groupName']);
|
$groupName = $langs->trans($groupElement['groupName']);
|
||||||
$groupKeyLowerCase = strtolower($groupKey);
|
$groupKeyLowerCase = strtolower($groupKey);
|
||||||
$nbTotalForGroup = 0;
|
$nbTotalForGroup = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user