From a269d459887278c1c59aec583dd0a19bb98dafb9 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 27 Jul 2019 19:59:25 +0200 Subject: [PATCH] translation --- include/class/pdfbalance_simple.class.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/class/pdfbalance_simple.class.php b/include/class/pdfbalance_simple.class.php index d1da93504..aa9c39f00 100644 --- a/include/class/pdfbalance_simple.class.php +++ b/include/class/pdfbalance_simple.class.php @@ -32,7 +32,7 @@ class PDFBalance_simple extends PDF */ function set_info($p_from_poste,$to_poste,$p_from,$p_to) { - $this->dossier='Balance simple '.dossier::name(); + $this->dossier=sprintf(_('Balance simple %s'),dossier::name()); $this->from_poste=$p_from_poste; $this->to_poste=$to_poste; $this->from=$p_from; @@ -42,7 +42,7 @@ class PDFBalance_simple extends PDF { parent::Header(); $this->SetFont('DejaVu','B',8); - $titre=sprintf("Balance simple poste %s %s date %s %s", + $titre=sprintf(_("Balance simple poste %s %s date %s %s"), $this->from_poste, $this->to_poste, $this->from, @@ -52,11 +52,11 @@ class PDFBalance_simple extends PDF $this->Ln(); $this->SetFont('DejaVu','',6); - $this->Cell(110,7,'Poste Comptable','B'); - $this->Cell(20,7,'Débit','B',0,'L'); - $this->Cell(20,7,'Crédit','B',0,'L'); - $this->Cell(20,7,'Solde','B',0,'L'); - $this->Cell(20,7,'D/C','B',0,'L'); + $this->Cell(110,7,_('Poste Comptable'),'B'); + $this->Cell(20,7,_('Débit'),'B',0,'L'); + $this->Cell(20,7,_('Crédit'),'B',0,'L'); + $this->Cell(20,7,_('Solde'),'B',0,'L'); + $this->Cell(20,7,_('D/C'),'B',0,'L'); $this->Ln(); }