Fix: translation error

This commit is contained in:
Regis Houssin 2017-07-24 09:10:59 +02:00
parent 9043cf759b
commit 88968aae22

View File

@ -1576,7 +1576,7 @@ class pdf_crabe extends ModelePDFFactures
if ($object->statut == Facture::STATUS_DRAFT) if ($object->statut == Facture::STATUS_DRAFT)
{ {
$pdf->SetTextColor(128,0,0); $pdf->SetTextColor(128,0,0);
$textref.=' - '.$outputlangs->trans("NotValidated"); $textref.=' - '.$outputlangs->transnoentities("NotValidated");
} }
$pdf->MultiCell($w, 4, $textref, '', 'R'); $pdf->MultiCell($w, 4, $textref, '', 'R');
@ -1663,7 +1663,7 @@ class pdf_crabe extends ModelePDFFactures
$posy+=4; $posy+=4;
$pdf->SetXY($posx,$posy); $pdf->SetXY($posx,$posy);
$pdf->SetTextColor(0,0,60); $pdf->SetTextColor(0,0,60);
$pdf->MultiCell($w, 3, $langs->trans("SalesRepresentative")." : ".$usertmp->getFullName($langs), '', 'R'); $pdf->MultiCell($w, 3, $langs->transnoentities("SalesRepresentative")." : ".$usertmp->getFullName($langs), '', 'R');
} }
} }