From d1e4d393ce37f89bada76cafdc053bcea4edfdce Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Tue, 9 Sep 2025 01:47:16 +0200 Subject: [PATCH] Fix trans --- htdocs/product/stats/card.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/product/stats/card.php b/htdocs/product/stats/card.php index f86740e9ee4..cb30aa7af4e 100644 --- a/htdocs/product/stats/card.php +++ b/htdocs/product/stats/card.php @@ -356,6 +356,7 @@ if ($result || !($id > 0)) { $arrayforlabel = array('byunit' => 'NumberOfUnits', 'bynumber' => 'NumberOf', 'byamount' => 'AmountIn'); if (isModEnabled('propal')) { + $langs->load("propal"); $graphfiles['propal'] = array('modulepart' => 'productstats_proposals', 'file' => $object->id.'/propal12m'.((string) $type != '' ? '_type'.$type : '').'_'.$mode.($search_year > 0 ? '_year'.$search_year : '').'.png', 'label' => $langs->transnoentitiesnoconv($arrayforlabel[$mode], $langs->transnoentitiesnoconv("Proposals")));