diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index da37a2a4836..a53304068d1 100755 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -161,14 +161,14 @@ if ($_GET["action"] == 'create') print "Charge"; - print 'Numéro :'; + print ''.$langs->trans("Ref").':'; print ''.$chid.''; - print "Type charge :$charge->type_libelle\n"; + print ''.$langs->trans("Type").":$charge->type_libelle\n"; print "Période :$charge->periode\n"; print ''.$langs->trans("Label").' :'.$charge->lib."\n"; print "Date échéance :".dolibarr_print_date($charge->date_ech)."\n"; - print "Montant TTC:".price($charge->amount)." euros"; + print ''.$langs->trans("AmountTTC").":".price($charge->amount)." euros"; $sql = "SELECT sum(p.amount) FROM ".MAIN_DB_PREFIX."paiementcharge as p WHERE p.fk_charge = $chid;"; $result = $db->query($sql); @@ -176,18 +176,18 @@ if ($_GET["action"] == 'create') $sumpayed = $db->result(0,0); $db->free(); } - print 'Déjà payé TTC'.price($sumpayed).' euros'; + print ''.$langs->trans("AlreadyPayed").''.price($sumpayed).' euros'; - print "Paiement"; + print "".$langs->trans("Payment").''; print ""; - print "Date :"; + print ''.$langs->trans("Date").' :'; print_date_select(); print ""; print ''.$langs->trans("Comments").''; - print "Type du paiement :\n"; $sql = "SELECT id, libelle FROM ".MAIN_DB_PREFIX."c_paiement ORDER BY id"; diff --git a/htdocs/includes/modules/facture/pdf_adytek.modules.php b/htdocs/includes/modules/facture/pdf_adytek.modules.php index d0b11f51d76..6c2ae0b8fc6 100644 --- a/htdocs/includes/modules/facture/pdf_adytek.modules.php +++ b/htdocs/includes/modules/facture/pdf_adytek.modules.php @@ -315,7 +315,7 @@ class pdf_adytek extends ModelePDFFactures { // $pdf->line(132, $tab2_top + $tab2_height - 7, 200, $tab2_top + $tab2_height - 7 ); $pdf->SetXY (132, $tab2_top + 0); - $pdf->MultiCell(42, $tab2_hl, "Total HT", 0, 'R', 0); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalHT"), 0, 'R', 0); $pdf->SetXY (174, $tab2_top + 0); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ht + $fac->remise), 0, 'R', 0); @@ -323,7 +323,7 @@ class pdf_adytek extends ModelePDFFactures { if ($fac->remise > 0) { $pdf->SetXY (132, $tab2_top + $tab2_hl); - $pdf->MultiCell(42, $tab2_hl, "Remise", 0, 'R', 0); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("GlobalDiscount"), 0, 'R', 0); $pdf->SetXY (174, $tab2_top + $tab2_hl); $pdf->MultiCell(26, $tab2_hl, price($fac->remise), 0, 'R', 0); @@ -342,13 +342,13 @@ class pdf_adytek extends ModelePDFFactures { } $pdf->SetXY (132, $tab2_top + $tab2_hl * $index); - $pdf->MultiCell(42, $tab2_hl, "Total TVA", 0, 'R', 0); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalVAT"), 0, 'R', 0); $pdf->SetXY (174, $tab2_top + $tab2_hl * $index); $pdf->MultiCell(26, $tab2_hl, price($fac->total_tva), 0, 'R', 0); $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+1)); - $pdf->MultiCell(42, $tab2_hl, "Total TTC", 0, 'R', 1); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalTTC"), 0, 'R', 1); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+1)); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc), 0, 'R', 1); @@ -358,7 +358,7 @@ class pdf_adytek extends ModelePDFFactures { if ($deja_regle > 0) { $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+2)); - $pdf->MultiCell(42, $tab2_hl, "Déjà réglé", 0, 'R', 0); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("AlreadyPayed"), 0, 'R', 0); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+2)); $pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0); diff --git a/htdocs/includes/modules/facture/pdf_bulot.modules.php b/htdocs/includes/modules/facture/pdf_bulot.modules.php index 8bb1496de4c..2b8bd25a0c4 100644 --- a/htdocs/includes/modules/facture/pdf_bulot.modules.php +++ b/htdocs/includes/modules/facture/pdf_bulot.modules.php @@ -246,7 +246,7 @@ class pdf_bulot extends ModelePDFFactures { // $pdf->line(132, $tab2_top + $tab2_height - 7, 200, $tab2_top + $tab2_height - 7 ); $pdf->SetXY (132, $tab2_top + 0); - $pdf->MultiCell(42, $tab2_hl, "Total HT", 0, 'R', 0); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalHT"), 0, 'R', 0); $pdf->SetXY (174, $tab2_top + 0); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ht + $fac->remise), 0, 'R', 0); @@ -254,7 +254,7 @@ class pdf_bulot extends ModelePDFFactures { if ($fac->remise > 0) { $pdf->SetXY (132, $tab2_top + $tab2_hl); - $pdf->MultiCell(42, $tab2_hl, "Remise", 0, 'R', 0); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("GlobalDiscount"), 0, 'R', 0); $pdf->SetXY (174, $tab2_top + $tab2_hl); $pdf->MultiCell(26, $tab2_hl, price($fac->remise), 0, 'R', 0); @@ -273,13 +273,13 @@ class pdf_bulot extends ModelePDFFactures { } $pdf->SetXY (132, $tab2_top + $tab2_hl * $index); - $pdf->MultiCell(42, $tab2_hl, "Total TVA", 0, 'R', 0); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalVAT"), 0, 'R', 0); $pdf->SetXY (174, $tab2_top + $tab2_hl * $index); $pdf->MultiCell(26, $tab2_hl, price($fac->total_tva), 0, 'R', 0); $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+1)); - $pdf->MultiCell(42, $tab2_hl, "Total TTC", 0, 'R', 1); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalTTC"), 0, 'R', 1); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+1)); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc), 0, 'R', 1); @@ -289,7 +289,7 @@ class pdf_bulot extends ModelePDFFactures { if ($deja_regle > 0) { $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+2)); - $pdf->MultiCell(42, $tab2_hl, "Déjà réglé", 0, 'R', 0); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("AlreadyPayed"), 0, 'R', 0); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+2)); $pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0); diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 611de9a95d8..0d0d37ebd51 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -445,7 +445,7 @@ class pdf_crabe extends ModelePDFFactures if ($fac->remise > 0) { $pdf->SetXY ($col1x, $tab2_top + $tab2_hl); - $pdf->MultiCell($col2x-$col1x, $tab2_hl, "Remise globale", 0, 'L', 0); + $pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->trans("GlobalDiscount"), 0, 'L', 0); $pdf->SetXY ($col2x, $tab2_top + $tab2_hl); $pdf->MultiCell(26, $tab2_hl, "-".$fac->remise_percent."%", 0, 'R', 0); @@ -482,7 +482,7 @@ class pdf_crabe extends ModelePDFFactures if ($deja_regle > 0) { $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * ($index+2)); - $pdf->MultiCell($col2x-$col1x, $tab2_hl, "Déjà réglé", 0, 'L', 0); + $pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->trans("AlreadyPayed"), 0, 'L', 0); $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * ($index+2)); $pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0); diff --git a/htdocs/includes/modules/facture/pdf_oursin.modules.php b/htdocs/includes/modules/facture/pdf_oursin.modules.php index 769ebdaa90e..3713d286195 100644 --- a/htdocs/includes/modules/facture/pdf_oursin.modules.php +++ b/htdocs/includes/modules/facture/pdf_oursin.modules.php @@ -488,7 +488,7 @@ class pdf_oursin extends ModelePDFFactures if ($deja_regle > 0) { $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * ($index+2)); - $pdf->MultiCell($col2x-$col1x, $tab2_hl, "Déjà réglé", 0, 'L', 0); + $pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->trans("AlreadyPayed"), 0, 'L', 0); $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * ($index+2)); $pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0); diff --git a/htdocs/includes/modules/facture/pdf_tourteau.modules.php b/htdocs/includes/modules/facture/pdf_tourteau.modules.php index 3653fa6428d..616ac64cb37 100644 --- a/htdocs/includes/modules/facture/pdf_tourteau.modules.php +++ b/htdocs/includes/modules/facture/pdf_tourteau.modules.php @@ -165,13 +165,13 @@ class pdf_tourteau extends ModelePDFFactures { $pdf->line(174, $tab2_top, 174, $tab2_top + $tab2_height); $pdf->SetXY (132, $tab2_top + 0); - $pdf->MultiCell(42, 8, "Total HT", 0, 'R', 0); + $pdf->MultiCell(42, 8, $langs->trans("TotalHT"), 0, 'R', 0); $pdf->SetXY (132, $tab2_top + 8); - $pdf->MultiCell(42, 8, "Total TVA", 0, 'R', 0); + $pdf->MultiCell(42, 8, $langs->trans("TotalVAT"), 0, 'R', 0); $pdf->SetXY (132, $tab2_top + 16); - $pdf->MultiCell(42, 8, "Total TTC", 1, 'R', 1); + $pdf->MultiCell(42, 8, $langs->trans("TotalTTC"), 1, 'R', 1); $pdf->SetXY (174, $tab2_top + 0); $pdf->MultiCell(26, 8, price($fac->total_ht), 0, 'R', 0); @@ -189,7 +189,7 @@ class pdf_tourteau extends ModelePDFFactures { $pdf->Rect(132, $tab2_top+$tab2_height, 68, 16); $pdf->SetXY (132, $tab2_top + 24); - $pdf->MultiCell(42, 8, "Déjà réglé", 0, 'R', 0); + $pdf->MultiCell(42, 8, $langs->trans("AlreadyPayed"), 0, 'R', 0); $pdf->SetXY (132, $tab2_top + 32); $pdf->MultiCell(42, 8, $langs->trans("RemainderToPay"), 1, 'R', 1); diff --git a/htdocs/langs/fr_FR/bills.lang b/htdocs/langs/fr_FR/bills.lang index d63117e1e26..36fc0014c44 100644 --- a/htdocs/langs/fr_FR/bills.lang +++ b/htdocs/langs/fr_FR/bills.lang @@ -55,6 +55,6 @@ GlobalDiscount=Remise globale NumberOfBills=Nb de factures NumberOfBillsByMonth=Nb de factures par mois ShowBill=Afficher facture -AlreadyPayed=Déjà payé +AlreadyPayed=Déjà réglé RemainderToPay=Reste à payer RemainderToTake=Reste à encaisser \ No newline at end of file