From 498ab5b1f0bcda00c416162239147b0d69bda93e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 6 Feb 2005 16:50:40 +0000 Subject: [PATCH] =?UTF-8?q?Trad:=20Traduction=20du=20"Reste=20=E0=20payer"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 4 ++-- htdocs/compta/index.php | 4 ++-- htdocs/compta/paiement.php | 4 ++-- htdocs/compta/paiement_charge.php | 10 +++++----- htdocs/compta/sociales/charges.php | 2 +- htdocs/fourn/facture/fiche.php | 2 +- htdocs/fourn/facture/paiement.php | 2 +- htdocs/includes/modules/facture/pdf_adytek.modules.php | 6 +++++- htdocs/includes/modules/facture/pdf_bulot.modules.php | 6 +++++- htdocs/includes/modules/facture/pdf_crabe.modules.php | 2 +- htdocs/includes/modules/facture/pdf_oursin.modules.php | 2 +- .../includes/modules/facture/pdf_tourteau.modules.php | 2 +- htdocs/langs/en_US/bills.lang | 3 +++ htdocs/langs/fr_FR/bills.lang | 5 ++++- htdocs/telephonie/index.php | 2 +- 15 files changed, 35 insertions(+), 21 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 53b9de84588..b196f8bb63b 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -953,12 +953,12 @@ else if ($fac->paye == 0) { - print "Total déjà payé:".price($totalpaye)."".$conf->monnaie."\n"; + print "".$langs->trans("AlreadyPayed")." :".price($totalpaye)."".$conf->monnaie."\n"; print "Facturé :".price($fac->total_ttc)."".MAIN_MONNAIE."\n"; $resteapayer = $fac->total_ttc - $totalpaye; - print "Reste à payer :"; + print "".$langs->trans("RemainderToPay")." :"; print "".price($resteapayer)."".$conf->monnaie."\n"; } print ""; diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index ddefad60a3e..db9db600f78 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -307,7 +307,7 @@ if ($conf->facture->enabled) $i++; } $var=!$var; - print ''.$langs->trans("Total").'   (Reste à encaisser: '.price($total_ttc-$totalam).')'.price($total)."".price($total_ttc)."".price($totalam).""; + print ''.$langs->trans("Total").'   ('.$langs->trans("RemainderToTake").': '.price($total_ttc-$totalam).')'.price($total)."".price($total_ttc)."".price($totalam).""; print "
"; } $db->free(); @@ -384,7 +384,7 @@ if ($conf->facture->enabled) { $i++; } $var=!$var; - print ''.$langs->trans("Total").'   (Reste à payer : '.price($total_ttc-$totalam).')'.price($total).''.price($total_ttc).''; + print ''.$langs->trans("Total").'   ('.$langs->trans("RemainderToPay").': '.price($total_ttc-$totalam).')'.price($total).''.price($total_ttc).''; print '
'; } } diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index b11e70b3582..29dfae7a340 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -253,8 +253,8 @@ if ($_GET["action"] == 'create') print ''; print 'Facture'.$langs->trans("Date").''; print ''.$langs->trans("AmountTTC").''; - print 'Reçu'; - print 'Reste à payer'; + print ''.$langs->trans("Received").''; + print ''.$langs->trans("RemainderToPay").''; print ''.$langs->trans("Amount").''; print "\n"; diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index cc459b6a902..da37a2a4836 100755 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -234,7 +234,7 @@ if ($_GET["action"] == 'create') print ""; print "\n"; - print "Reste à payer :".price($total - $sumpayed)." euros TTC\n"; + print "".$langs->trans("RemainderToPay").":".price($total - $sumpayed)." euros TTC\n"; // print "Montant :\n"; /* @@ -261,10 +261,10 @@ if ($_GET["action"] == 'create') print ''; print ''; print ''; - print ''; - print ''; - print ''; - print ''; + print ''; + print ''; + print ''; + print ''; print "\n"; $var=True; diff --git a/htdocs/compta/sociales/charges.php b/htdocs/compta/sociales/charges.php index 5ad88400744..7adf3157a69 100644 --- a/htdocs/compta/sociales/charges.php +++ b/htdocs/compta/sociales/charges.php @@ -140,7 +140,7 @@ if ($chid > 0) $resteapayer = $cha->amount - $totalpaye; - print ""; + print ""; print "\n"; } print "
ChargeDate échéanceMontant TTCDéjà payé TTCReste à payer TTCMontant'.$langs->trans("AmountTTC").''.$langs->trans("AlreadyPayed").''.$langs->trans("RemainderToPay").''.$langs->trans("Amount").'
Reste à payer :
".$langs->trans("RemainderToPay")." :".price($resteapayer)."".$conf->monnaie."
"; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 7acec1b1b40..a2805f03c3b 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -501,7 +501,7 @@ else if ($fac->statut > 0) { $resteapayer = abs($fac->total_ttc - $total); - print "Reste à payer :"; + print "".$langs->trans("RemainderToPay")." :"; print ''.price($resteapayer)."".$conf->monnaie.""; print "\n"; } diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index 8a4eeac4353..8980eb4f983 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -184,7 +184,7 @@ if ($action == 'create') print ""; print "\n"; - print "Reste à payer :".price($total - $sumpayed)." euros\n"; + print "".$langs->trans("RemainderToPay")." :".price($total - $sumpayed)." euros\n"; print "".$langs->trans("AmountTTC")." :\n"; print ''; print "\n"; diff --git a/htdocs/includes/modules/facture/pdf_adytek.modules.php b/htdocs/includes/modules/facture/pdf_adytek.modules.php index 15b5d58a236..d0b11f51d76 100644 --- a/htdocs/includes/modules/facture/pdf_adytek.modules.php +++ b/htdocs/includes/modules/facture/pdf_adytek.modules.php @@ -298,6 +298,10 @@ class pdf_adytek extends ModelePDFFactures { function _tableau_tot(&$pdf, $fac) { + global $langs; + $langs->load("main"); + $langs->load("bills"); + $tab2_top = 212; $tab2_hl = 5; $tab2_height = $tab2_hl * 4; @@ -360,7 +364,7 @@ class pdf_adytek extends ModelePDFFactures { $pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0); $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+3)); - $pdf->MultiCell(42, $tab2_hl, "Reste à payer", 0, 'R', 1); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("RemainderToPay"), 0, 'R', 1); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+3)); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc - $deja_regle), 0, 'R', 1); diff --git a/htdocs/includes/modules/facture/pdf_bulot.modules.php b/htdocs/includes/modules/facture/pdf_bulot.modules.php index e5bec1362e2..8bb1496de4c 100644 --- a/htdocs/includes/modules/facture/pdf_bulot.modules.php +++ b/htdocs/includes/modules/facture/pdf_bulot.modules.php @@ -229,6 +229,10 @@ class pdf_bulot extends ModelePDFFactures { function _tableau_tot(&$pdf, $fac) { + global $langs; + $langs->load("main"); + $langs->load("bills"); + $tab2_top = 212; $tab2_hl = 5; $tab2_height = $tab2_hl * 4; @@ -291,7 +295,7 @@ class pdf_bulot extends ModelePDFFactures { $pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0); $pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+3)); - $pdf->MultiCell(42, $tab2_hl, "Reste à payer", 0, 'R', 1); + $pdf->MultiCell(42, $tab2_hl, $langs->trans("RemainderToPay"), 0, 'R', 1); $pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+3)); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc - $deja_regle), 0, 'R', 1); diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 1e8596993ab..611de9a95d8 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -490,7 +490,7 @@ class pdf_crabe extends ModelePDFFactures $pdf->SetTextColor(0,0,60); $pdf->SetFont('Arial','B', 9); $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * ($index+3)); - $pdf->MultiCell($col2x-$col1x, $tab2_hl, "Reste à payer", 0, 'L', 1); + $pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->trans("RemainderToPay"), 0, 'L', 1); $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * ($index+3)); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc - $deja_regle), 0, 'R', 1); diff --git a/htdocs/includes/modules/facture/pdf_oursin.modules.php b/htdocs/includes/modules/facture/pdf_oursin.modules.php index 85ee7963ffd..769ebdaa90e 100644 --- a/htdocs/includes/modules/facture/pdf_oursin.modules.php +++ b/htdocs/includes/modules/facture/pdf_oursin.modules.php @@ -496,7 +496,7 @@ class pdf_oursin extends ModelePDFFactures $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * ($index+3)); $pdf->SetTextColor(22,137,210); $pdf->SetFont('Arial','B', 11); - $pdf->MultiCell($col2x-$col1x, $tab2_hl, "Reste à payer", 0, 'L', 0); + $pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->trans("RemainderToPay"), 0, 'L', 0); $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * ($index+3)); $pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc - $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 24b0e1c3a2a..3653fa6428d 100644 --- a/htdocs/includes/modules/facture/pdf_tourteau.modules.php +++ b/htdocs/includes/modules/facture/pdf_tourteau.modules.php @@ -192,7 +192,7 @@ class pdf_tourteau extends ModelePDFFactures { $pdf->MultiCell(42, 8, "Déjà réglé", 0, 'R', 0); $pdf->SetXY (132, $tab2_top + 32); - $pdf->MultiCell(42, 8, "Reste à payer", 1, 'R', 1); + $pdf->MultiCell(42, 8, $langs->trans("RemainderToPay"), 1, 'R', 1); $pdf->SetXY (174, $tab2_top + 24); $pdf->MultiCell(26, 8, price($deja_regle), 0, 'R', 0); diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang index 543e1a397dd..066149861fa 100644 --- a/htdocs/langs/en_US/bills.lang +++ b/htdocs/langs/en_US/bills.lang @@ -55,4 +55,7 @@ GlobalDiscount=Global discount NumberOfBills=Nb of bills NumberOfBillsByMonth=Nb of bills by month ShowBill=Show bill +AlreadyPayed=Already payed +RemainderToPay=Remainder to pay +RemainderToTake=Remainder to take diff --git a/htdocs/langs/fr_FR/bills.lang b/htdocs/langs/fr_FR/bills.lang index ff1ce33cf62..d63117e1e26 100644 --- a/htdocs/langs/fr_FR/bills.lang +++ b/htdocs/langs/fr_FR/bills.lang @@ -54,4 +54,7 @@ ConfirmDeleteBill=Etes-vous sur de vouloir supprimer cette facture ? GlobalDiscount=Remise globale NumberOfBills=Nb de factures NumberOfBillsByMonth=Nb de factures par mois -ShowBill=Afficher facture \ No newline at end of file +ShowBill=Afficher facture +AlreadyPayed=Déjà payé +RemainderToPay=Reste à payer +RemainderToTake=Reste à encaisser \ No newline at end of file diff --git a/htdocs/telephonie/index.php b/htdocs/telephonie/index.php index df9530e9816..9ac86c50881 100644 --- a/htdocs/telephonie/index.php +++ b/htdocs/telephonie/index.php @@ -183,7 +183,7 @@ if ( $db->query($sql) ) $i++; } $var=!$var; - print 'Reste à encaisser : '.price($total-$totalam).''.price($total).''.price($totalam).''; + print ''.$langs->trans("RemainderToTake").' : '.price($total-$totalam).''.price($total).''.price($totalam).''; print "
"; } $db->free();