--- pdf_expedition_merou.modules.php 2008-10-21 18:41:05.363552200 +0200 +++ pdf_expedition_merou.modules.php_new 2008-10-21 18:40:43.488552200 +0200 @@ -289,11 +289,11 @@ { $pdf->SetFont('Arial','',8); $pdf->SetY(-23); - $pdf->MultiCell(100, 3, "Déclare avoir reçu les marchandises ci-dessus en bon état,", 0, 'L'); + $pdf->MultiCell(100, 3, $outputlangs->transnoentities("GoodStatusDeclaration") , 0, 'L'); $pdf->SetY(-13); - $pdf->MultiCell(100, 3, "A___________________________________ le ____/_____/__________" , 0, 'C'); + $pdf->MultiCell(100, 3, $outputlangs->transnoentities("ToAndDate") , 0, 'C'); $pdf->SetXY(120,-23); - $pdf->MultiCell(100, 3, "Nom et Signature : " , 0, 'C'); + $pdf->MultiCell(100, 3, $outputlangs->transnoentities("NameAndSignature") , 0, 'C'); $pdf->SetXY(-10,-10); $pdf->MultiCell(10, 3, $pdf->PageNo().'/{nb}', 0, 'R'); } @@ -403,19 +403,19 @@ if (defined("MAIN_INFO_SIRET")){ $pdf->SetFont('Arial','',7); $pdf->SetXY($blSocX2,$blSocY+10); - $pdf->MultiCell($blSocW, 3, "SIRET : " . MAIN_INFO_SIRET, '' , 'L'); + $pdf->MultiCell($blSocW, 3, $outputlangs->transnoentities("SIRET") . MAIN_INFO_SIRET, '' , 'L'); } if (defined("MAIN_INFO_APE")){ $pdf->SetFont('Arial','',7); $pdf->SetXY($blSocX2,$blSocY+13); - $pdf->MultiCell($blSocW, 3, "APE : " . MAIN_INFO_APE, '' , 'L'); + $pdf->MultiCell($blSocW, 3, $outputlangs->transnoentities("APE") . MAIN_INFO_APE, '' , 'L'); } if (defined("MAIN_INFO_TVAINTRA")){ $pdf->SetFont('Arial','',7); $pdf->SetXY($blSocX2,$blSocY+16); - $pdf->MultiCell($blSocW, 3, "ICOMM : " . MAIN_INFO_TVAINTRA, '' , 'L'); + $pdf->MultiCell($blSocW, 3, $outputlangs->transnoentities("ICOMM") . MAIN_INFO_TVAINTRA, '' , 'L'); } //Date Expedition @@ -428,7 +428,7 @@ $pdf->SetXY($blSocX2,$blSocY+20); $pdf->SetFont('Arial','B',8); $pdf->SetTextColor(0,0,0); - $pdf->MultiCell(50, 8, "Livreur(s) : ".$livreur->fullname, '' , 'L'); + $pdf->MultiCell(50, 8, $outputlangs->transnoentities("Deliverer").$livreur->fullname, '' , 'L'); /**********************************/ //Emplacement Informations Expediteur (Client) @@ -442,7 +442,7 @@ //Titre $pdf->SetXY($blExpX,$Yoff-3); $pdf->SetFont('Arial','B',7); - $pdf->MultiCell($blW,3, 'Expéditeur', 0, 'L'); + $pdf->MultiCell($blW,3, $outputlangs->transnoentities("Sender"), 0, 'L'); $pdf->Rect($blExpX, $Yoff, $blW, 20); //Nom Client $pdf->SetXY($blExpX,$Yoff+$blSocY); @@ -476,7 +476,7 @@ //Titre $pdf->SetXY($blDestX,$Yoff-3); $pdf->SetFont('Arial','B',7); - $pdf->MultiCell($blW,3, 'Destinataire', 0, 'L'); + $pdf->MultiCell($blW,3, $outputlangs->transnoentities("Recipient"), 0, 'L'); $pdf->Rect($blDestX, $Yoff, $blW, 20); //Nom Client $pdf->SetXY($blDestX,$Yoff+$blSocY);