Skip to content

Commit

Permalink
Merge pull request #32635 from sonikf/sonikf-patch-box_graph
Browse files Browse the repository at this point in the history
fix translation
  • Loading branch information
eldy authored Jan 13, 2025
2 parents 8a7fdd0 + 56efa67 commit 9471f06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/boxes/box_graph_product_distribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function loadBox($max = 5)
if (empty($data2)) {
$showpointvalue = 0;
$nocolor = 1;
$data2 = array(array(0=>$langs->trans("None"), 1=>1));
$data2 = array(array(0=>$langs->transnoentitiesnoconv("None"), 1=>1));
}

$filenamenb = $dir."/prodserforpropal-".$year.".png";
Expand Down Expand Up @@ -228,7 +228,7 @@ public function loadBox($max = 5)
if (empty($data3)) {
$showpointvalue = 0;
$nocolor = 1;
$data3 = array(array(0=>$langs->trans("None"), 1=>1));
$data3 = array(array(0=>$langs->transnoentitiesnoconv("None"), 1=>1));
}

$filenamenb = $dir."/prodserfororder-".$year.".png";
Expand Down Expand Up @@ -293,7 +293,7 @@ public function loadBox($max = 5)
if (empty($data1)) {
$showpointvalue = 0;
$nocolor = 1;
$data1 = array(array(0=>$langs->trans("None"), 1=>1));
$data1 = array(array(0=>$langs->transnoentitiesnoconv("None"), 1=>1));
}
$filenamenb = $dir."/prodserforinvoice-".$year.".png";
$fileurlnb = DOL_URL_ROOT.'/viewimage.php?modulepart=productstats&file=prodserforinvoice-'.$year.'.png';
Expand Down

0 comments on commit 9471f06

Please sign in to comment.