Fix trans

This commit is contained in:
Laurent Destailleur 2018-08-27 23:42:47 +02:00
parent 90c3f8afce
commit 0300991389
2 changed files with 2 additions and 2 deletions

View File

@ -71,6 +71,8 @@ class box_graph_propales_permonth extends ModeleBoxes
//include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
//$propalstatic=new Propal($db);
$langs->load("propal");
$text = $langs->trans("BoxProposalsPerMonth",$max);
$this->info_box_head = array(
'text' => $text,

View File

@ -76,8 +76,6 @@ class box_propales extends ModeleBoxes
$propalstatic=new Propal($db);
$societestatic = new Societe($db);
$langs->load("propal");
$this->info_box_head = array('text' => $langs->trans("BoxTitleLast".($conf->global->MAIN_LASTBOX_ON_OBJECT_DATE?"":"Modified")."Propals",$max));
if ($user->rights->propale->lire)