dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-dev] [patchs] patchs permettant la traduction


From: Fabrice Delliaux
Subject: [Dolibarr-dev] [patchs] patchs permettant la traduction
Date: Wed, 10 May 2006 13:51:27 +0200
User-agent: Mozilla Thunderbird 1.0.8 (X11/20060427)

Bonjour,

Ci-joint, 2 patchs permettant la traduction du répertoire
htdocs/includes/modules/facture : j'ai transféré toutes les chaines de
caractères dans le fichier fr_FR/bills.lang.

Je n'ai pas testé tous les modèles de factures, ni tous les modèles de
numérotation de factures, mais normalement, il ne devrait pas y avoir de
souci.
--- dolibarr-old/htdocs/langs/fr_FR/bills.lang  2006-05-09 14:19:32.000000000 
+0200
+++ dolibarr/htdocs/langs/fr_FR/bills.lang      2006-05-10 12:58:57.000000000 
+0200
@@ -142,3 +142,107 @@
 PaymentCondition60D=Réglement à 60 jours
 PaymentConditionShort60DENDMONTH=60 jours fin de mois
 PaymentCondition60DENDMONTH=Réglement à 60 jours fin de mois
+
+BankDetails=Coordonnées bancaires
+BankCode=Code banque
+DeskCode=Code guichet
+BankAccountNumber=Numéro compte
+BankAccountNumberKey=Clé RIB
+Residence=Domiciliation
+IbanPrefix=Prefix IBAN
+BIC=BIC
+ExtraInfos=Informations complémentaires
+RegulatedOn=Réglé le
+ChequeNumber=Chèque N°
+ChequeOrTransferNumber=Chèque/Virement N°
+PaymentConditions=Conditions de réglement
+WithDiscountTotalHT=Total HT aprés remise
+PhoneNumber=Tél
+FullPhoneNumber=Téléphone
+TeleFax=Télécopie
+PrettyLittleSentence=Accepte le réglement des sommes dues par chèques libellés 
à mon nom en ma qualité de Membre d'une Association de Gestion agréée par 
l'Administration Fiscale.
+IntracommunityVATNumber=Numéro de TVA intracommunautaire
+PaymentByChequeOrderedTo=Règlement par chèque à l'ordre de
+SendTo=envoyé à
+PaymentByTransferOnThisBankAccount=Règlement par virement sur le compte 
bancaire suivant
+VATIsNotUsed=* TVA non applicable art-293B du CGI
+LawApplicationPart1=Par application de la loi 80.335 du 12/05/80
+LawApplicationPart2=les marchandises demeurent la propriété du
+LawApplicationPart3=vendeur jusqu'à complet encaissement de 
+LawApplicationPart4=leurs prix.
+VATDischarged=TVA acquittée sur les débits.
+LimitedLiabilityCompanyCapital=SARL au Capital de
+# (pdf oursin)
+Of=du
+
+# bernique PDF model
+PDFBerniqueDescription=Modèle pour les factures avec plusieurs taux de tva, 
inclus aussi le numéro de TVA Intracommunautaire
+
+# bigorneau PDF Model
+PDFBigorneauDescription=Modèle de facture sans boite info réglement
+
+# bulot PDF Model
+PDFBulotDescription=Modèle de facture avec remise et infos réglement
+
+# crabe PDF Model
+PDFCrabeDescription=Modèle de facture complet (Gère l'option fiscale de 
facturation TVA, le choix du mode de règlement à afficher, logo...)
+
+# huitre PDF Model
+PDFHuitreDescription=Modèle de facture avec remise et infos réglement
+
+# oursin PDF Model
+PDFOursinDescription=Modèle de facture complet (basé sur crabe, gère l'option 
fiscale de facturation TVA, le choix du mode de règlement à afficher, les 
remises, le nom du projet, la reference propal, logo...)
+
+# tourteau PDF Model
+PDFTourteauDescription=Modèle de facture sans remise
+
+
+
+
+# NumRef Modules
+DefinedAndHasThisValue=Définie et vaut
+IsNotDefined=N'est pas définie
+
+# deneb
+DenebNumRefModelDesc1=Renvoie le numéro de facture sous la forme, 
PREF-31-12-2004-01, où PREF est le préfixe commercial de la société, et est 
suivi de la date (ici le 31 décembre 2004) et d'un compteur.
+DenebNumRefModelDesc2=Si la constante FACTURE_DENEB_DELTA est définie, un 
offset est appliqué sur le compteur
+
+# janus
+JanusNumRefModelDesc1=Renvoie le numéro de facture sous une forme spéciale 
F50201 pour la 1ere facture de février 2005
+
+# jupiter
+JupiterNumRefModelDesc1=Système de numérotation mensuel sous la forme 
F20030715, qui correspond à la 15ème facture du mois de Juillet 2003
+
+# lune
+LuneNumRefModelDesc1=Système de numérotation mensuel sous la forme F0501015, 
qui correspond à la 15ème facture du mois de Janvier 2005
+
+# mars
+MarsNumRefModelDesc1=Numéro de facture sous la forme, PREF-10-2004-005, qui 
correspond à la 5ème facture d'octobre 2004 et où PREF est le préfix de la 
société.
+MarsNumRefModelDesc2=Le nombre final est formaté sur 3 chiffres ou plus.
+MarsNumRefModelDesc3=Si la constante FACTURE_MARS_DELTA est définie, un offset 
est appliqué sur le compteur
+
+# mercure
+MercureNumRefModelDesc1=Renvoie le numéro de facture sous une forme numérique 
simple, la première facture porte le numéro 1, la quinzième facture ayant le 
numéro 15, le numéro est préfixé par la lettre F, ce module peut être utilisé 
avec dans le cas d'une numérotaion double.
+
+# neptune
+NeptuneNumRefModelDesc1=Renvoie le numéro de facture sous une forme du préfix 
FA suivi de l'année sur 2 chiffres et d'un compteur simple sur 4 chiffres.
+NeptuneNumRefModelDesc2=Si la constante FACTURE_NEPTUNE_DELTA est définie, un 
offset est appliqué sur le compteur
+
+# terre
+TerreNumRefModelDesc1=Renvoie le numéro sous la forme %syymm-nnnn où yy est 
l'année, mm le mois et nnnn un compteur séquentiel sans rupture et sans remise 
à 0
+TerreNumRefModelError=Une facture commençant par $fayymm existe en base et est 
incompatible avec cette numérotation. Supprimer la ou renommer la pour activer 
ce module.
+
+# titan
+TitanNumRefModelDesc1=Renvoie le numéro sous la forme FAYYNNNNN où YY est 
l'année et NNNNN le numéro d'incrément qui commence à 1.
+TitanNumRefModelDesc2=L'année s'incrémente de 1 et le numéro d'incrément se 
remet à zero en début d'année d'exercice.
+TitanNumRefModelDesc3=Définir la variable SOCIETE_FISCAL_MONTH_START avec le 
mois du début d'exercice, ex: 9 pour septembre.
+TitanNumRefModelDesc4=Dans cette exemple nous aurons au 1er septembre 2006 une 
facture nommée FA0700001.
+
+# uranus
+UranusNumRefModelDesc1=Renvoie le numéro de facture sous une forme numérique 
simple, préfixé par l'année sur un seul chiffre
+
+# venus
+VenusNumRefModelDesc1=Renvoie le numéro de facture sous la forme, 
FA-PREF-030202, où PREF est le préfixe commercial de la société, et est suivi 
de la date sur un format de 6 digits avec Année, Mois et Jour
+
+
+
diff -Nru dolibarr-old/htdocs/includes/modules/facture/deneb/deneb.modules.php 
dolibarr/htdocs/includes/modules/facture/deneb/deneb.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/deneb/deneb.modules.php        
2006-04-29 13:08:19.000000000 +0200
+++ dolibarr/htdocs/includes/modules/facture/deneb/deneb.modules.php    
2006-05-10 12:31:14.000000000 +0200
@@ -44,16 +44,19 @@
      */
     function info()
     {
-    
-      $texte = "Renvoie le numéro de facture sous la forme, 
PREF-31-12-2004-01, où PREF est le préfixe commercial de la société, et est 
suivi de la date (ici le 31 décembre 2004) et d'un compteur.<br>";
-      $texte.= "Si la constante FACTURE_DENEB_DELTA est définie, un offset est 
appliqué sur le compteur";
+      global $langs;
+
+               $langs->load("bills");
+        
+      $texte = $langs->trans('DenebNumRefModelDesc1')."<br>";
+      $texte.= $langs->trans('DenebNumRefModelDesc2');
       if (defined("FACTURE_DENEB_DELTA"))
         {
-          $texte .= " (Définie et vaut : ".FACTURE_DENEB_DELTA.")";
+          $texte .= ' ('.$langs->trans('DefinedAndHasThisValue').' : 
'.FACTURE_DENEB_DELTA.')';
         }
       else
         {
-          $texte .= " (N'est pas définie)";
+          $texte .= ' ('.$langs->trans('IsNotDefined').')';
         }
       return $texte;
     
diff -Nru dolibarr-old/htdocs/includes/modules/facture/janus/janus.modules.php 
dolibarr/htdocs/includes/modules/facture/janus/janus.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/janus/janus.modules.php        
2005-11-14 19:00:00.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/janus/janus.modules.php    
2006-05-10 12:21:04.000000000 +0200
@@ -45,8 +45,12 @@
      */
     function info()
     {
-      return "
-    Renvoie le numéro de facture sous une forme spéciale F50201 pour la 1ere 
facture de février 2005";
+          global $langs;
+
+               $langs->load("bills");
+
+      return '
+    '.$langs->trans('JanusNumRefModelDesc1');
     }
 
     /*!     \brief      Renvoi un exemple de numérotation
diff -Nru 
dolibarr-old/htdocs/includes/modules/facture/jupiter/jupiter.modules.php 
dolibarr/htdocs/includes/modules/facture/jupiter/jupiter.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/jupiter/jupiter.modules.php    
2005-11-14 19:00:00.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/jupiter/jupiter.modules.php        
2006-05-10 12:22:41.000000000 +0200
@@ -42,8 +42,12 @@
      */
     function info()
     {
+               global $langs;
+
+               $langs->load("bills");
+               
       return '
-    Système de numérotation mensuel sous la forme F20030715, qui correspond à 
la 15ème facture du mois de Juillet 2003';
+    '.$langs->trans('JupiterNumRefModelDesc1');
     }
 
     /*!     \brief      Renvoi un exemple de numérotation
diff -Nru dolibarr-old/htdocs/includes/modules/facture/lune/lune.modules.php 
dolibarr/htdocs/includes/modules/facture/lune/lune.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/lune/lune.modules.php  
2005-11-14 19:00:01.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/lune/lune.modules.php      
2006-05-10 12:25:20.000000000 +0200
@@ -44,8 +44,12 @@
      */
     function info()
     {
+               global $langs;
+
+               $langs->load("bills");
+
       return '
-    Système de numérotation mensuel sous la forme F0501015, qui correspond à 
la 15ème facture du mois de Janvier 2005';
+    '.$langs->trans('LuneNumRefModelDesc1');
     }
 
     /**     \brief      Renvoi un exemple de numérotation
diff -Nru dolibarr-old/htdocs/includes/modules/facture/mars/mars.modules.php 
dolibarr/htdocs/includes/modules/facture/mars/mars.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/mars/mars.modules.php  
2005-11-14 19:00:01.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/mars/mars.modules.php      
2006-05-10 12:30:43.000000000 +0200
@@ -44,17 +44,20 @@
      */
     function info()
     {
-    
-      $texte = "Numéro de facture sous la forme, PREF-10-2004-005, qui 
correspond à la 5ème facture d'octobre 2004 et où PREF est le préfix de la 
société.";
-      $texte.= "Le nombre final est formaté sur 3 chiffres ou plus.<br>";
-      $texte.= "Si la constante FACTURE_MARS_DELTA est définie, un offset est 
appliqué sur le compteur";
+      global $langs;
+
+               $langs->load("bills");
+
+      $texte = $langs->trans('MarsNumRefModelDesc1');
+      $texte.= $langs->trans('MarsNumRefModelDesc2').'<br>';
+      $texte.= $langs->trans('MarsNumRefModelDesc3');
       if (defined("FACTURE_MARS_DELTA"))
         {
-          $texte .= " (Définie et vaut : ".FACTURE_MARS_DELTA.")";
+          $texte .= ' ('.$langs->trans('DefinedAndHasThisValue').' : 
'.FACTURE_MARS_DELTA.')';
         }
       else
         {
-          $texte .= " (N'est pas définie)";
+          $texte .= ' ('.$langs->trans('IsNotDefined').')';
         }
       return $texte;
     
diff -Nru 
dolibarr-old/htdocs/includes/modules/facture/mercure/mercure.modules.php 
dolibarr/htdocs/includes/modules/facture/mercure/mercure.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/mercure/mercure.modules.php    
2005-11-14 19:00:01.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/mercure/mercure.modules.php        
2006-05-10 12:35:47.000000000 +0200
@@ -42,8 +42,12 @@
      */
     function info()
     {
+      global $langs;
+
+               $langs->load("bills");
+
       return '
-    Renvoie le numéro de facture sous une forme numérique simple, la première 
facture porte le numéro 1, la quinzième facture ayant le numéro 15, le numéro 
est préfixé par la lettre F, ce module peut être utilisé avec dans le cas 
d\'une numérotaion double.';
+    '.$langs->trans('MercureNumRefModelDesc1');
     }
 
     /*!     \brief      Renvoi un exemple de numérotation
diff -Nru 
dolibarr-old/htdocs/includes/modules/facture/neptune/neptune.modules.php 
dolibarr/htdocs/includes/modules/facture/neptune/neptune.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/neptune/neptune.modules.php    
2006-04-29 13:03:59.000000000 +0200
+++ dolibarr/htdocs/includes/modules/facture/neptune/neptune.modules.php        
2006-05-10 12:40:56.000000000 +0200
@@ -44,15 +44,19 @@
      */
     function info()
     {
-      $texte = "Renvoie le numéro de facture sous une forme du préfix FA suivi 
de l'année sur 2 chiffres et d'un compteur simple sur 4 chiffres.<br>\n";
-      $texte.= "Si la constante FACTURE_NEPTUNE_DELTA est définie, un offset 
est appliqué sur le compteur";
+          global $langs;
+
+               $langs->load("bills");
+               
+      $texte = $langs->trans('NeptuneNumRefModelDesc1')."<br>\n";
+      $texte.= $langs->trans('NeptuneNumRefModelDesc2');
       if (defined("FACTURE_NEPTUNE_DELTA"))
         {
-          $texte .= " (Définie et vaut: ".FACTURE_NEPTUNE_DELTA.")";
+          $texte .= ' ('.$langs->trans('DefinedAndHasThisValue').' : 
'.FACTURE_NEPTUNE_DELTA.')';
         }
       else
         {
-          $texte .= " (N'est pas définie)";
+          $texte .= ' ('.$langs->trans('IsNotDefined').')';
         }
       return $texte;
     }
diff -Nru dolibarr-old/htdocs/includes/modules/facture/pdf_bernique.modules.php 
dolibarr/htdocs/includes/modules/facture/pdf_bernique.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/pdf_bernique.modules.php       
2005-11-11 21:11:58.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/pdf_bernique.modules.php   
2006-05-10 01:37:58.000000000 +0200
@@ -41,8 +41,14 @@
 
   function pdf_bernique($db=0)
     { 
-        $this->db = $db;
-        $this->description = "Modèle pour les factures avec plusieurs taux de 
tva, inclus aussi le numéro de TVA Intracommunautaire";
+        global $langs;
+                 
+                 $langs->load("main");
+                 $langs->load("bills");
+                 $langs->load("products");
+                 
+                 $this->db = $db;
+        $this->description = $langs->trans('PDFBerniqueDescription');
 
         // Dimension page pour format A4
         $this->page_largeur = 210;
@@ -54,10 +60,6 @@
     {
       global $user,$langs,$conf;
       
-      $langs->load("main");
-      $langs->load("bills");
-      $langs->load("products");
-      
       $fac = new Facture($this->db,"",$facid);
       $fac->fetch($facid);  
         if ($conf->facture->dir_output)
@@ -159,15 +161,15 @@
                      
                      $pdf->SetXY (10, 49);  
                      $pdf->SetFont('Arial','U',8);
-                     $pdf->MultiCell(40, 4, "Coordonnées bancaires", 0, 'L', 
0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankDetails"), 0, 
'L', 0);
                      $pdf->SetFont('Arial','',8);
-                     $pdf->MultiCell(40, 4, "Code banque : " . 
$account->code_banque, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Code guichet : " . 
$account->code_guichet, 0, 'L', 0);
-                     $pdf->MultiCell(50, 4, "Numéro compte : " . 
$account->number, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Clé RIB : " . $account->cle_rib, 
0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Domiciliation : " . 
$account->domiciliation, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Prefix IBAN : " . 
$account->iban_prefix, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "BIC : " . $account->bic, 0, 'L', 
0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankCode").' : ' . 
$account->code_banque, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("DeskCode").' : ' . 
$account->code_guichet, 0, 'L', 0);
+                     $pdf->MultiCell(50, 4, 
$langs->trans("BankAccountNumber").' : ' . $account->number, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, 
$langs->trans("BankAccountNumberKey").' : ' . $account->cle_rib, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("Residence").' : ' . 
$account->domiciliation, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("IbanPrefix").' : ' 
. $account->iban_prefix, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BIC").' : ' . 
$account->bic, 0, 'L', 0);
                    }
                }
              
@@ -178,8 +180,8 @@
                      
              $pdf->SetFont('Arial','',9);
              $pdf->SetXY(10, 260);
-             $pdf->MultiCell(190, 5, "Numéro de TVA intracommunautaire : 
".MAIN_INFO_TVAINTRA, 0, 'J');
-             $pdf->MultiCell(190, 5, "Accepte le réglement des sommes dues par 
chèques libellés à mon nom en ma qualité de Membre d'une Association de Gestion 
agréée par l'Administration Fiscale.", 0, 'J');
+             $pdf->MultiCell(190, 5, 
$langs->trans("IntracommunityVATNumber").' : '.MAIN_INFO_TVAINTRA, 0, 'J');
+             $pdf->MultiCell(190, 5, $langs->trans("PrettyLittleSentence"), 0, 
'J');
 
              $pdf->Close();
              
@@ -189,13 +191,13 @@
            }
          else
            {
-                $this->error="Erreur: Le répertoire '$dir' n'existe pas et 
Dolibarr n'a pu le créer.";
+                $this->error=$langs->trans("ErrorCanNotCreateDir",$dir);
                 return 0;
            }
        }
       else
        {
-            $this->error="Erreur: FAC_OUTPUTDIR non défini !";
+            
$this->error=$langs->trans("ErrorConstantNotDefined","FAC_OUTPUTDIR");
             return 0;
        }
     }
@@ -219,16 +221,16 @@
       
       $pdf->SetFont('Arial','',8);
       $pdf->SetXY (10, $tab3_top - 6);
-      $pdf->MultiCell(60, 6, "Informations complémentaires", 0, 'L', 0);
+      $pdf->MultiCell(60, 6, $langs->trans("ExtraInfos"), 0, 'L', 0);
       $pdf->SetXY (10, $tab3_top );
-      $pdf->MultiCell(20, 6, "Réglé le", 0, 'L', 0);
+      $pdf->MultiCell(20, 6, $langs->trans("RegulatedOn"), 0, 'L', 0);
       $pdf->SetXY (10, $tab3_top + 6);
-      $pdf->MultiCell(20, 6, "Chèque N°", 0, 'L', 0);
+      $pdf->MultiCell(20, 6, $langs->trans("ChequeNumber"), 0, 'L', 0);
       $pdf->SetXY (10, $tab3_top + 12);
-      $pdf->MultiCell(20, 6, "Banque", 0, 'L', 0);
+      $pdf->MultiCell(20, 6, $langs->trans("Bank"), 0, 'L', 0);
 
       $pdf->SetFont('Arial','U',12);
-      $titre = "Conditions de réglement : ".$fac->cond_reglement_facture;
+      $titre = $langs->trans("PaymentConditions").' : 
'.$fac->cond_reglement_facture;
       $pdf->SetXY(200 - $pdf->GetStringWidth($titre), $tab3_top + 10);
       $pdf->MultiCell(120, 5, $titre, 0, 'J');
     }
@@ -276,7 +278,7 @@
       $pdf->MultiCell(42, $tab2_hl, $langs->trans("Discount")." ". 
$fac->remise_percent . " %", 0, 'L', 0);
       
       $pdf->SetXY (132, $tab2_top + $tab2_hl * 2);
-      $pdf->MultiCell(42, $tab2_hl, "Total HT aprés remise", 0, 'R', 0);
+      $pdf->MultiCell(42, $tab2_hl, $langs->trans("WithDiscountTotalHT"), 0, 
'R', 0);
       
       $pdf->SetXY (132, $tab2_top + $tab2_hl * 3);
       $pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalVAT"), 0, 'R', 0);
@@ -356,7 +358,7 @@
       if (defined("FAC_PDF_TEL"))
        {
          $pdf->SetFont('Arial','',10);
-         $pdf->MultiCell(40, 5, "Tél : ".FAC_PDF_TEL);
+         $pdf->MultiCell(40, 5, $langs->trans('PhoneNumber').' : 
'.FAC_PDF_TEL);
        }  
       if (defined("MAIN_INFO_SIREN"))
        {
@@ -387,8 +389,8 @@
       
       $pdf->SetTextColor(200,0,0);
       $pdf->SetFont('Arial','B',14);
-      $pdf->Text(11, 88, "Date : " . strftime("%d %b %Y", $fac->date));
-      $pdf->Text(11, 94, "Facture : ".$fac->ref);
+      $pdf->Text(11, 88, $langs->trans('Date').' : ' . strftime("%d %b %Y", 
$fac->date));
+      $pdf->Text(11, 94, $langs->trans('Invoice').' : '.$fac->ref);
       
       /*
        */
diff -Nru 
dolibarr-old/htdocs/includes/modules/facture/pdf_bigorneau.modules.php 
dolibarr/htdocs/includes/modules/facture/pdf_bigorneau.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/pdf_bigorneau.modules.php      
2005-11-11 21:11:58.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/pdf_bigorneau.modules.php  
2006-05-10 01:38:11.000000000 +0200
@@ -39,8 +39,14 @@
 
   function pdf_bigorneau($db=0)
     { 
-        $this->db = $db;
-        $this->description = "Modèle de facture sans boite info réglement";
+        global $langs;
+                 
+        $langs->load("main");
+        $langs->load("bills");
+        $langs->load("products");
+                 
+                 $this->db = $db;
+        $this->description = $langs->trans('PDFBigorneauDescription');
 
         // Dimension page pour format A4
         $this->page_largeur = 210;
@@ -52,10 +58,6 @@
     {
       global $user,$langs,$conf;
       
-        $langs->load("main");
-        $langs->load("bills");
-        $langs->load("products");
-
       $fac = new Facture($this->db,"",$facid);
       $fac->fetch($facid);  
         if ($conf->facture->dir_output)
@@ -158,13 +160,13 @@
              $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);
@@ -191,15 +193,15 @@
                      
                      $pdf->SetXY (10, 40);               
                      $pdf->SetFont('Arial','U',8);
-                     $pdf->MultiCell(40, 4, "Coordonnées bancaire", 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankDetails"), 0, 
'L', 0);
                      $pdf->SetFont('Arial','',8);
-                     $pdf->MultiCell(40, 4, "Code banque : " . 
$account->code_banque, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Code guichet : " . 
$account->code_guichet, 0, 'L', 0);
-                     $pdf->MultiCell(50, 4, "Numéro compte : " . 
$account->number, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Clé RIB : " . $account->cle_rib, 
0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Domiciliation : " . 
$account->domiciliation, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Prefix IBAN : " . 
$account->iban_prefix, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "BIC : " . $account->bic, 0, 'L', 
0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankCode").' : ' . 
$account->code_banque, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("DeskCode").' : ' . 
$account->code_guichet, 0, 'L', 0);
+                     $pdf->MultiCell(50, 4, 
$langs->trans("BankAccountNumber").' : ' . $account->number, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, 
$langs->trans("BankAccountNumberKey").' : ' . $account->cle_rib, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("Residence").' : ' . 
$account->domiciliation, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("IbanPrefix").' : ' 
. $account->iban_prefix, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BIC").' : ' . 
$account->bic, 0, 'L', 0);
                    }
                }
              
@@ -210,12 +212,12 @@
              
              $pdf->SetFont('Arial','U',12);
              $pdf->SetXY(10, 220);
-             $titre = "Conditions de réglement : 
".$fac->cond_reglement_facture;
+             $titre = $langs->trans("PaymentConditions").' : 
'.$fac->cond_reglement_facture;
              $pdf->MultiCell(190, 5, $titre, 0, 'J');
              
              $pdf->SetFont('Arial','',9);
              $pdf->SetXY(10, 265);
-             $pdf->MultiCell(190, 5, "Accepte le réglement des sommes dues par 
chèques libellés à mon nom en ma qualité de Membre d'une Association de Gestion 
agréée par l'Administration Fiscale.", 0, 'J');
+             $pdf->MultiCell(190, 5, $langs->trans("PrettyLittleSentence"), 0, 
'J');
 
              $pdf->Close();
              
@@ -224,13 +226,13 @@
            }
          else
            {
-                    $this->error="Erreur: Le répertoire '$dir' n'existe pas et 
Dolibarr n'a pu le créer.";
+                    $this->error=$langs->trans("ErrorCanNotCreateDir",$dir);
                     return 0;
            }
        }
       else
        {
-            $this->error="Erreur: FAC_OUTPUTDIR non défini !";
+            
$this->error=$langs->trans("ErrorConstantNotDefined","FAC_OUTPUTDIR");
             return 0;
        }
     }
@@ -293,7 +295,7 @@
       if (defined("FAC_PDF_TEL"))
        {
          $pdf->SetFont('Arial','',10);
-         $pdf->MultiCell(40, 5, "Tél : ".FAC_PDF_TEL);
+         $pdf->MultiCell(40, 5, $langs->trans('PhoneNumber').' : 
'.FAC_PDF_TEL);
        }  
       if (defined("MAIN_INFO_SIREN"))
        {
@@ -324,8 +326,8 @@
       
       $pdf->SetTextColor(200,0,0);
       $pdf->SetFont('Arial','B',14);
-      $pdf->Text(11, 88, "Date : " . strftime("%d %b %Y", $fac->date));
-      $pdf->Text(11, 94, "Facture : ".$fac->ref);
+      $pdf->Text(11, 88, $langs->trans('Date').' : ' . strftime("%d %b %Y", 
$fac->date));
+      $pdf->Text(11, 94, $langs->trans('Invoice').' : '.$fac->ref);
       
       /*
        */
diff -Nru dolibarr-old/htdocs/includes/modules/facture/pdf_bulot.modules.php 
dolibarr/htdocs/includes/modules/facture/pdf_bulot.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/pdf_bulot.modules.php  
2005-11-11 21:11:58.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/pdf_bulot.modules.php      
2006-05-10 01:37:46.000000000 +0200
@@ -42,8 +42,14 @@
     */
   function pdf_bulot($db)
     { 
-        $this->db = $db;
-        $this->description = "Modèle de facture avec remise et infos 
réglement";
+        global $langs;
+                 
+                 $langs->load("main");
+        $langs->load("bills");
+        $langs->load("products");
+                 
+                 $this->db = $db;
+        $this->description = $langs->trans('PDFBulotDescription');
 
         // Dimension page pour format A4
         $this->page_largeur = 210;
@@ -56,10 +62,6 @@
     {
       global $user,$langs,$conf;
       
-        $langs->load("main");
-        $langs->load("bills");
-        $langs->load("products");
-
         if ($conf->facture->dir_output)
        {
                        $fac = new Facture($this->db,"",$facid);
@@ -161,15 +163,15 @@
                      
                      $pdf->SetXY (10, 40);               
                      $pdf->SetFont('Arial','U',8);
-                     $pdf->MultiCell(40, 4, "Coordonnées bancaire", 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankDetails"), 0, 
'L', 0);
                      $pdf->SetFont('Arial','',8);
-                     $pdf->MultiCell(40, 4, "Code banque : " . 
$account->code_banque, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Code guichet : " . 
$account->code_guichet, 0, 'L', 0);
-                     $pdf->MultiCell(50, 4, "Numéro compte : " . 
$account->number, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Clé RIB : " . $account->cle_rib, 
0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Domiciliation : " . 
$account->domiciliation, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Prefix IBAN : " . 
$account->iban_prefix, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "BIC : " . $account->bic, 0, 'L', 
0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankCode").' : '. 
$account->code_banque, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("DeskCode").' : ' . 
$account->code_guichet, 0, 'L', 0);
+                     $pdf->MultiCell(50, 4, 
$langs->trans("BankAccountNumber").' : ' . $account->number, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, 
$langs->trans("BankAccountNumberKey").' : ' . $account->cle_rib, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("Residence").' : ' . 
$account->domiciliation, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("IbanPrefix").' : ' 
. $account->iban_prefix, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BIC").' : ' . 
$account->bic, 0, 'L', 0);
                    }
                }
              
@@ -180,12 +182,12 @@
              
              $pdf->SetFont('Arial','U',12);
              $pdf->SetXY(10, 220);
-             $titre = "Conditions de réglement : 
".$fac->cond_reglement_facture;
+             $titre = $langs->trans("PaymentConditions").' : 
'.$fac->cond_reglement_facture;
              $pdf->MultiCell(190, 5, $titre, 0, 'J');
              
              $pdf->SetFont('Arial','',9);
              $pdf->SetXY(10, 265);
-             $pdf->MultiCell(190, 5, "Accepte le réglement des sommes dues par 
chèques libellés à mon nom en ma qualité de Membre d'une Association de Gestion 
agréée par l'Administration Fiscale.", 0, 'J');
+             $pdf->MultiCell(190, 5, $langs->trans("PrettyLittleSentence"), 0, 
'J');
 
              $pdf->Close();
              
@@ -227,13 +229,13 @@
       
       $pdf->SetFont('Arial','',8);
       $pdf->SetXY (10, $tab3_top - 6);
-      $pdf->MultiCell(60, 6, "Informations complémentaires", 0, 'L', 0);
+      $pdf->MultiCell(60, 6, $langs->trans("ExtraInfos"), 0, 'L', 0);
       $pdf->SetXY (10, $tab3_top );
-      $pdf->MultiCell(20, 6, "Réglé le", 0, 'L', 0);
+      $pdf->MultiCell(20, 6, $langs->trans("RegulatedOn"), 0, 'L', 0);
       $pdf->SetXY (10, $tab3_top + 6);
-      $pdf->MultiCell(20, 6, "Chèque N°", 0, 'L', 0);
+      $pdf->MultiCell(20, 6, $langs->trans("ChequeNumber"), 0, 'L', 0);
       $pdf->SetXY (10, $tab3_top + 12);
-      $pdf->MultiCell(20, 6, "Banque", 0, 'L', 0);
+      $pdf->MultiCell(20, 6, $langs->trans("Bank"), 0, 'L', 0);
     }
 
     /*
@@ -275,7 +277,7 @@
          $pdf->MultiCell(26, $tab2_hl, price($fac->remise), 0, 'R', 0);
          
          $pdf->SetXY (132, $tab2_top + $tab2_hl * 2);
-         $pdf->MultiCell(42, $tab2_hl, "Total HT aprés remise", 0, 'R', 0);
+         $pdf->MultiCell(42, $tab2_hl, $langs->trans("WithDiscountTotalHT"), 
0, 'R', 0);
       
          $pdf->SetXY (174, $tab2_top + $tab2_hl * 2);
          $pdf->MultiCell(26, $tab2_hl, price($fac->total_ht), 0, 'R', 0);
@@ -373,7 +375,7 @@
       if (defined("FAC_PDF_TEL"))
        {
          $pdf->SetFont('Arial','',10);
-         $pdf->MultiCell(40, 5, "Tél : ".FAC_PDF_TEL);
+         $pdf->MultiCell(40, 5, $langs->trans('PhoneNumber').' : 
'.FAC_PDF_TEL);
        }  
       if (defined("MAIN_INFO_SIREN"))
        {
@@ -404,8 +406,8 @@
       
       $pdf->SetTextColor(200,0,0);
       $pdf->SetFont('Arial','B',14);
-      $pdf->Text(11, 88, "Date : " . strftime("%d %b %Y", $fac->date));
-      $pdf->Text(11, 94, "Facture : ".$fac->ref);
+      $pdf->Text(11, 88, $langs->trans('Date').' : ' . strftime("%d %b %Y", 
$fac->date));
+      $pdf->Text(11, 94, $langs->trans('Invoice').' : '.$fac->ref);
       
       /*
        */
diff -Nru dolibarr-old/htdocs/includes/modules/facture/pdf_crabe.modules.php 
dolibarr/htdocs/includes/modules/facture/pdf_crabe.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/pdf_crabe.modules.php  
2006-05-08 19:22:53.000000000 +0200
+++ dolibarr/htdocs/includes/modules/facture/pdf_crabe.modules.php      
2006-05-10 02:06:04.000000000 +0200
@@ -48,9 +48,13 @@
     {
         global $conf,$langs;
         
+                 $langs->load("main");
+        $langs->load("bills");
+        $langs->load("products");
+                 
         $this->db = $db;
         $this->name = "crabe";
-               $this->description = "Modèle de facture complet (Gère l'option 
fiscale de facturation TVA, le choix du mode de règlement à afficher, logo...)";
+               $this->description = $langs->trans('PDFCrabeDescription');
 
         // Dimension page pour format A4
         $this->type = 'pdf';
@@ -124,10 +128,6 @@
     {
         global $user,$langs,$conf,$mysoc;
 
-        $langs->load("main");
-        $langs->load("bills");
-        $langs->load("products");
-
         if ($conf->facture->dir_output)
         {
             $fac = new Facture($this->db,"",$id);
@@ -351,7 +351,7 @@
 
                         $pdf->SetXY($this->marge_gauche, 227);
                         $pdf->SetFont('Arial','B',8);
-                        $pdf->MultiCell(90, 3, "Règlement par chèque à l'ordre 
de ".$account->proprio." envoyé à:",0,'L',0);
+                        $pdf->MultiCell(90, 3, 
$langs->trans('PaymentByChequeOrderedTo').' '.$account->proprio.' 
'.$langs->trans('SendTo').':',0,'L',0);
                         $pdf->SetXY($this->marge_gauche, 231);
                         $pdf->SetFont('Arial','',8);
                         $pdf->MultiCell(80, 3, $account->adresse_proprio, 0, 
'L', 0);
@@ -360,7 +360,7 @@
                     {
                         $pdf->SetXY($this->marge_gauche, 227);
                         $pdf->SetFont('Arial','B',8);
-                        $pdf->MultiCell(90, 3, "Règlement par chèque à l'ordre 
de ".$mysoc->nom." envoyé à:",0,'L',0);
+                        $pdf->MultiCell(90, 3, 
$langs->trans('PaymentByChequeOrderedTo').' '.$mysoc->nom.' 
'.$langs->trans('SendTo').':',0,'L',0);
                         $pdf->SetXY($this->marge_gauche, 231);
                         $pdf->SetFont('Arial','',8);
                         $pdf->MultiCell(80, 3, $mysoc->adresse_full, 0, 'L', 
0);
@@ -382,21 +382,21 @@
                         $cury=242;
                         $pdf->SetXY ($this->marges['g'], $cury);
                         $pdf->SetFont('Arial','B',8);
-                        $pdf->MultiCell(90, 3, "Règlement par virement sur le 
compte bancaire suivant:", 0, 'L', 0);
+                        $pdf->MultiCell(90, 3, 
$langs->trans('PaymentByTransferOnThisBankAccount').':', 0, 'L', 0);
                         $cury+=4;
                         $pdf->SetFont('Arial','B',6);
                         $pdf->line($this->marges['g']+1, $cury, 
$this->marges['g']+1, $cury+10 );
                         $pdf->SetXY ($this->marges['g'], $cury);
-                        $pdf->MultiCell(18, 3, "Code banque", 0, 'C', 0);
+                        $pdf->MultiCell(18, 3, $langs->trans("BankCode"), 0, 
'C', 0);
                         $pdf->line($this->marges['g']+18, $cury, 
$this->marges['g']+18, $cury+10 );
                         $pdf->SetXY ($this->marges['g']+18, $cury);
-                        $pdf->MultiCell(18, 3, "Code guichet", 0, 'C', 0);
+                        $pdf->MultiCell(18, 3, $langs->trans("DeskCode"), 0, 
'C', 0);
                         $pdf->line($this->marges['g']+36, $cury, 
$this->marges['g']+36, $cury+10 );
                         $pdf->SetXY ($this->marges['g']+36, $cury);
-                        $pdf->MultiCell(24, 3, "Numéro compte", 0, 'C', 0);
+                        $pdf->MultiCell(24, 3, 
$langs->trans("BankAccountNumber"), 0, 'C', 0);
                         $pdf->line($this->marges['g']+60, $cury, 
$this->marges['g']+60, $cury+10 );
                         $pdf->SetXY ($this->marges['g']+60, $cury);
-                        $pdf->MultiCell(13, 3, "Clé RIB", 0, 'C', 0);
+                        $pdf->MultiCell(13, 3, 
$langs->trans("BankAccountNumberKey"), 0, 'C', 0);
                         $pdf->line($this->marges['g']+73, $cury, 
$this->marges['g']+73, $cury+10 );
                         
                         $pdf->SetFont('Arial','',8);
@@ -410,11 +410,11 @@
                         $pdf->MultiCell(13, 3, $account->cle_rib, 0, 'C', 0);
          
                         $pdf->SetXY ($this->marges['g'], $cury+12);
-                        $pdf->MultiCell(90, 3, "Domiciliation : " . 
$account->domiciliation, 0, 'L', 0);
+                        $pdf->MultiCell(90, 3, $langs->trans("Residence").' : 
' . $account->domiciliation, 0, 'L', 0);
                         $pdf->SetXY ($this->marges['g'], $cury+22);
-                        $pdf->MultiCell(90, 3, "Prefix IBAN : " . 
$account->iban_prefix, 0, 'L', 0);
+                        $pdf->MultiCell(90, 3, $langs->trans("IbanPrefix").' : 
' . $account->iban_prefix, 0, 'L', 0);
                         $pdf->SetXY ($this->marges['g'], $cury+25);
-                        $pdf->MultiCell(90, 3, "BIC : " . $account->bic, 0, 
'L', 0);
+                        $pdf->MultiCell(90, 3, $langs->trans("BIC").' : ' . 
$account->bic, 0, 'L', 0);
 
                     }
                 }
@@ -574,7 +574,7 @@
         $pdf->SetXY($this->marge_gauche, $tab2_top + 0);
        if ($this->franchise==1)
        {
-            $pdf->MultiCell(100, $tab2_hl, "* TVA non applicable art-293B du 
CGI", 0, 'L', 0);
+            $pdf->MultiCell(100, $tab2_hl, $langs->trans("VATIsNotUsed"), 0, 
'L', 0);
         }
 
         // Tableau total
@@ -598,7 +598,7 @@
             $pdf->MultiCell($largcol2, $tab2_hl, "-".$fac->remise_percent."%", 
0, 'R', 1);
 
             $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * 2);
-            $pdf->MultiCell($col2x-$col1x, $tab2_hl, "Total HT après remise", 
0, 'L', 1);
+            $pdf->MultiCell($col2x-$col1x, $tab2_hl, 
$langs->trans("WithDiscountTotalHT"), 0, 'L', 1);
 
             $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * 2);
             $pdf->MultiCell($largcol2, $tab2_hl, price($fac->total_ht), 0, 
'R', 1);
diff -Nru dolibarr-old/htdocs/includes/modules/facture/pdf_huitre.modules.php 
dolibarr/htdocs/includes/modules/facture/pdf_huitre.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/pdf_huitre.modules.php 
2006-05-08 19:22:53.000000000 +0200
+++ dolibarr/htdocs/includes/modules/facture/pdf_huitre.modules.php     
2006-05-10 11:16:27.000000000 +0200
@@ -44,6 +44,13 @@
     */
     function pdf_huitre($db)
     {
+            global $langs;
+
+        $langs->load("main");
+        $langs->load("bills");
+        $langs->load("products");
+
+                 
         $this->db = $db;
         $this->description = "Modèle de facture avec remise et infos 
réglement";
 
@@ -57,10 +64,6 @@
     {
       global $user,$langs,$conf;
       
-        $langs->load("main");
-        $langs->load("bills");
-        $langs->load("products");
-
         if ($conf->facture->dir_output)
         {
       $fac = new Facture($this->db,"",$facid);
@@ -160,15 +163,15 @@
 
                      $pdf->SetXY (10, 40);
                      $pdf->SetFont('Arial','U',8);
-                     $pdf->MultiCell(40, 4, "Coordonnées bancaire", 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankDetails"), 0, 
'L', 0);
                      $pdf->SetFont('Arial','',8);
-                     $pdf->MultiCell(40, 4, "Code banque : " . 
$account->code_banque, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Code guichet : " . 
$account->code_guichet, 0, 'L', 0);
-                     $pdf->MultiCell(50, 4, "Numéro compte : " . 
$account->number, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Clé RIB : " . $account->cle_rib, 
0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Domiciliation : " . 
$account->domiciliation, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Prefix IBAN : " . 
$account->iban_prefix, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "BIC : " . $account->bic, 0, 'L', 
0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankCode").' : ' . 
$account->code_banque, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("DeskCode").' : ' . 
$account->code_guichet, 0, 'L', 0);
+                     $pdf->MultiCell(50, 4, 
$langs->trans("BankAccountNumber").' : ' . $account->number, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, 
$langs->trans("BankAccountNumberKey").' : ' . $account->cle_rib, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("Residence").' : ' . 
$account->domiciliation, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("IbanPrefix").' : ' 
. $account->iban_prefix, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BIC").' : ' . 
$account->bic, 0, 'L', 0);
                    }
                }
 
@@ -187,22 +190,22 @@
 
              $pdf->SetFont('Arial','U',11);
              $pdf->SetXY(10, 225);
-             $titre = "Conditions de réglement : 
".$fac->cond_reglement_facture;
+             $titre = $langs->trans("PaymentConditions").' : 
'.$fac->cond_reglement_facture;
              $pdf->MultiCell(190, 5, $titre, 0, 'J');
 
              $pdf->SetFont('Arial','',6);
              $pdf->SetXY(10, 265);
-             $pdf->MultiCell(90, 2, "Par application de la loi 80.335 du 
12/05/80", 0, 'J');
+             $pdf->MultiCell(90, 2, $langs->trans('LawApplicationPart1'), 0, 
'J');
              $pdf->SetXY(10, 267);
-             $pdf->MultiCell(90, 2, "les marchandises demeurent la propriété 
du", 0, 'J');
+             $pdf->MultiCell(90, 2, $langs->trans('LawApplicationPart2'), 0, 
'J');
              $pdf->SetXY(10, 269);
-             $pdf->MultiCell(90, 2, "vendeur jusqu'à complet encaissement de 
", 0, 'J');
+             $pdf->MultiCell(90, 2, $langs->trans('LawApplicationPart3'), 0, 
'J');
              $pdf->SetXY(10, 271);
-             $pdf->MultiCell(90, 2, "leurs prix.", 0, 'J');
+             $pdf->MultiCell(90, 2, $langs->trans('LawApplicationPart4'), 0, 
'J');
 
              $pdf->SetFont('Arial','',7);
              $pdf->SetXY(85, 271);
-             $pdf->MultiCell(90, 3, "TVA acquittée sur les débits.", 0, 'J');
+             $pdf->MultiCell(90, 3, $langs->trans('VATDischarged'), 0, 'J');
 
               $this->_pagefoot($pdf, $fac);
               $pdf->AliasNbPages();
@@ -295,13 +298,13 @@
       
       $pdf->SetFont('Arial','',8);
       $pdf->SetXY (10, $tab3_top - 6);
-      $pdf->MultiCell(60, 6, "Informations complémentaires", 0, 'L', 0);
+      $pdf->MultiCell(60, 6, $langs->trans("ExtraInfos"), 0, 'L', 0);
       $pdf->SetXY (10, $tab3_top );
-      $pdf->MultiCell(20, 6, "Réglé le", 0, 'L', 0);
+      $pdf->MultiCell(20, 6, $langs->trans("RegulatedOn"), 0, 'L', 0);
       $pdf->SetXY (10, $tab3_top + 6);
-      $pdf->MultiCell(60, 6, "Chèque/Virement N°", 0, 'L', 0);
+      $pdf->MultiCell(60, 6, $langs->trans("ChequeOrTransferNumber"), 0, 'L', 
0);
       $pdf->SetXY (10, $tab3_top + 12);
-      $pdf->MultiCell(20, 6, "Banque", 0, 'L', 0);
+      $pdf->MultiCell(20, 6, $langs->trans("Bank"), 0, 'L', 0);
     }
 
     /*
@@ -342,7 +345,7 @@
          $pdf->MultiCell(26, $tab2_hl, price($fac->remise), 0, 'R', 0);
 
          $pdf->SetXY (132, $tab2_top + $tab2_hl * 2);
-         $pdf->MultiCell(42, $tab2_hl, "Total HT aprés remise", 0, 'R', 0);
+         $pdf->MultiCell(42, $tab2_hl, $langs->trans("WithDiscountTotalHT"), 
0, 'R', 0);
 
          $pdf->SetXY (174, $tab2_top + $tab2_hl * 2);
          $pdf->MultiCell(26, $tab2_hl, price($fac->total_ht), 0, 'R', 0);
@@ -467,22 +470,22 @@
       if (defined("FAC_PDF_TEL"))
       {
        $pdf->SetXY( $tab4_top , $tab4_hl + 2*$tab4_sl );
-        $pdf->MultiCell(80, 3, "Téléphone : " . FAC_PDF_TEL, '' , 'L');
+        $pdf->MultiCell(80, 3, $langs->trans('FullPhoneNumber').' : ' . 
FAC_PDF_TEL, '' , 'L');
       }
       if (defined("FAC_PDF_FAX"))
       {
        $pdf->SetXY( $tab4_top , $tab4_hl + 3*$tab4_sl );
-        $pdf->MultiCell(80, 3, "Télécopie : " . FAC_PDF_FAX, '' , 'L');
+        $pdf->MultiCell(80, 3, $langs->trans('TeleFax').' : ' . FAC_PDF_FAX, 
'' , 'L');
       }
       if (defined("FAC_PDF_MEL"))
       {
        $pdf->SetXY( $tab4_top , $tab4_hl + 4*$tab4_sl );
-        $pdf->MultiCell(80, 3, "E-mail : " . FAC_PDF_MEL, '' , 'L');
+        $pdf->MultiCell(80, 3, $langs->trans('Email').' : ' . FAC_PDF_MEL, '' 
, 'L');
       }
       if (defined("FAC_PDF_WWW"))
       {
        $pdf->SetXY( $tab4_top , $tab4_hl + 5*$tab4_sl );
-        $pdf->MultiCell(80, 3, "Internet : " . FAC_PDF_WWW, '' , 'L');
+        $pdf->MultiCell(80, 3, $langs->trans('Web').' : ' . FAC_PDF_WWW, '' , 
'L');
       }
       $pdf->SetTextColor(70,70,170);
 
@@ -515,9 +518,9 @@
 
       $pdf->SetTextColor(200,0,0);
       $pdf->SetFont('Arial','B',14);
-      $pdf->Text(11, 88, "Date");
+      $pdf->Text(11, 88, $langs->trans('Date'));
       $pdf->Text(35, 88, ": " . strftime("%d %b %Y", $fac->date));
-      $pdf->Text(11, 94, "Numéro");
+      $pdf->Text(11, 94, $langs->trans('Invoice'));
       $pdf->Text(35, 94, ": ".$fac->ref);
       /*
        */
@@ -548,7 +551,7 @@
 
         $ligne="";
         if (defined('MAIN_INFO_CAPITAL') && MAIN_INFO_CAPITAL) {
-            $ligne="SARL au Capital de " . MAIN_INFO_CAPITAL." 
".$langs->trans("Currency".$conf->monnaie);
+            $ligne=$langs->trans('LimitedLiabilityCompanyCapital').' '. 
MAIN_INFO_CAPITAL." ".$langs->trans("Currency".$conf->monnaie);
         }
         if (defined('MAIN_INFO_SIREN') && MAIN_INFO_SIREN) {
             $ligne.=($ligne?" - 
":"").$langs->transcountry("ProfId1",$this->code_pays).": ".MAIN_INFO_SIREN;
@@ -576,7 +579,7 @@
         }
         elseif (MAIN_INFO_TVAINTRA != '') {
             $pdf->SetY(-$footy);
-            $pdf->MultiCell(190, 3,  $langs->trans("TVAIntra")." : 
".MAIN_INFO_TVAINTRA, 0, 'C');
+            $pdf->MultiCell(190, 3,  
$langs->trans("IntracommunityVATNumber")." : ".MAIN_INFO_TVAINTRA, 0, 'C');
         }
 
     $pdf->SetXY(-10,-10);
diff -Nru dolibarr-old/htdocs/includes/modules/facture/pdf_oursin.modules.php 
dolibarr/htdocs/includes/modules/facture/pdf_oursin.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/pdf_oursin.modules.php 
2006-05-08 19:22:53.000000000 +0200
+++ dolibarr/htdocs/includes/modules/facture/pdf_oursin.modules.php     
2006-05-10 11:37:17.000000000 +0200
@@ -49,8 +49,14 @@
     */
     function pdf_oursin($db)
     {
+        global $langs;
+                 
+                 $langs->load("main");
+                 $langs->load("bills");
+                 $langs->load("products");
+
         $this->db = $db;
-        $this->description = "Modèle de facture complet (basé sur crabe, gère 
l'option fiscale de facturation TVA, le choix du mode de règlement à afficher, 
les remises, le nom du projet, la reference propal, logo...)";
+        $this->description = $langs->trans('PDFOursinDescription');
 
         // Dimension page pour format A4
         $this->page_largeur = 210;
@@ -253,7 +259,7 @@
 
                    $pdf->SetXY ($this->marges['g'], 225);
                    $pdf->SetFont('Arial','B',8);
-                   $pdf->MultiCell(90, 3, "Règlement par chèque à l'ordre de 
".$account->proprio." envoyé à:",0,'L',0);
+                   $pdf->MultiCell(90, 3, 
$langs->trans('PaymentByChequeOrderedTo').' '.$account->proprio.' 
'.$langs->trans('SendTo').':',0,'L',0);
                    $pdf->SetXY ($this->marges['g'], 230);
                    $pdf->SetFont('Arial','',8);
                    $pdf->MultiCell(80, 3, $account->adresse_proprio, 0, 'L', 
0);
@@ -273,21 +279,21 @@
                    $cury=240;
                    $pdf->SetXY ($this->marges['g'], $cury);
                    $pdf->SetFont('Arial','B',8);
-                   $pdf->MultiCell(90, 3, "Règlement par virement sur le 
compte ci-dessous:", 0, 'L', 0);
+                   $pdf->MultiCell(90, 3, 
$langs->trans('PaymentByTransferOnThisBankAccount').':', 0, 'L', 0);
                    $cury=245;
                    $pdf->SetFont('Arial','B',6);
                    $pdf->line($this->marges['g'], $cury, $this->marges['g'], 
$cury+10 );
                    $pdf->SetXY ($this->marges['g'], $cury);
-                   $pdf->MultiCell(18, 3, "Code banque", 0, 'C', 0);
+                   $pdf->MultiCell(18, 3, $langs->trans("BankCode"), 0, 'C', 
0);
                    $pdf->line($this->marges['g']+18, $cury, 
$this->marges['g']+18, $cury+10 );
                    $pdf->SetXY ($this->marges['g']+18, $cury);
-                   $pdf->MultiCell(18, 3, "Code guichet", 0, 'C', 0);
+                   $pdf->MultiCell(18, 3, $langs->trans("DeskCode"), 0, 'C', 
0);
                    $pdf->line($this->marges['g']+36, $cury, 
$this->marges['g']+36, $cury+10 );
                    $pdf->SetXY ($this->marges['g']+36, $cury);
-                   $pdf->MultiCell(24, 3, "Numéro compte", 0, 'C', 0);
+                   $pdf->MultiCell(24, 3, $langs->trans("BankAccountNumber"), 
0, 'C', 0);
                    $pdf->line($this->marges['g']+60, $cury, 
$this->marges['g']+60, $cury+10 );
                    $pdf->SetXY ($this->marges['g']+60, $cury);
-                   $pdf->MultiCell(13, 3, "Clé RIB", 0, 'C', 0);
+                   $pdf->MultiCell(13, 3, 
$langs->trans("BankAccountNumberKey"), 0, 'C', 0);
                    $pdf->line($this->marges['g']+73, $cury, 
$this->marges['g']+73, $cury+10 );
 
                    $pdf->SetFont('Arial','',8);
@@ -301,11 +307,11 @@
                    $pdf->MultiCell(13, 3, $account->cle_rib, 0, 'C', 0);
          
                    $pdf->SetXY ($this->marges['g'], $cury+15);
-                   $pdf->MultiCell(90, 3, "Domiciliation : " . 
$account->domiciliation, 0, 'L', 0);
+                   $pdf->MultiCell(90, 3, $langs->trans("Residence").' : ' . 
$account->domiciliation, 0, 'L', 0);
                    $pdf->SetXY ($this->marges['g'], $cury+25);
-                   $pdf->MultiCell(90, 3, "Prefix IBAN : " . 
$account->iban_prefix, 0, 'L', 0);
+                   $pdf->MultiCell(90, 3, $langs->trans("IbanPrefix").' : ' . 
$account->iban_prefix, 0, 'L', 0);
                    $pdf->SetXY ($this->marges['g'], $cury+30);
-                   $pdf->MultiCell(90, 3, "BIC : " . $account->bic, 0, 'L', 0);
+                   $pdf->MultiCell(90, 3, $langs->trans("BIC").' : ' . 
$account->bic, 0, 'L', 0);
                  }
              }
 
@@ -314,7 +320,7 @@
             */
            $pdf->SetFont('Arial','B',10);
            $pdf->SetXY($this->marges['g'], 217);
-           $titre = "Conditions de réglement:";
+           $titre = $langs->trans("PaymentConditions").':';
            $pdf->MultiCell(80, 5, $titre, 0, 'L');
            $pdf->SetFont('Arial','',10);
            $pdf->SetXY($this->marges['g']+44, 217);
@@ -367,7 +373,7 @@
 
     $pdf->SetFont('Arial','',8);
     $pdf->SetXY ($tab3_posx, $tab3_top - 5);
-    $pdf->MultiCell(60, 5, "Versements déjà effectués", 0, 'L', 0);
+    $pdf->MultiCell(60, 5, $langs->trans("PaymentsAlreadyDone"), 0, 'L', 0);
 
     $pdf->Rect($tab3_posx, $tab3_top-1, $tab3_width, $tab3_height);
 
@@ -460,7 +466,7 @@
     $pdf->SetXY ($this->marges['g'], $tab2_top + 0);
     if ($this->franchise==1)
       {
-       $pdf->MultiCell(100, $tab2_hl, "* TVA non applicable art-293B du CGI", 
0, 'L', 0);
+       $pdf->MultiCell(100, $tab2_hl, $langs->trans("VATIsNotUsed"), 0, 'L', 
0);
       }
 
     // Tableau total
@@ -480,7 +486,7 @@
        $pdf->MultiCell(26, $tab2_hl, "-".$fac->remise_percent."%", 0, 'R', 0);
 
        $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * 2);
-       $pdf->MultiCell($col2x-$col1x, $tab2_hl, "Total HT après remise", 0, 
'L', 0);
+       $pdf->MultiCell($col2x-$col1x, $tab2_hl, 
$langs->trans("WithDiscountTotalHT"), 0, 'L', 0);
 
        $pdf->SetXY ($col2x, $tab2_top + $tab2_hl * 2);
        $pdf->MultiCell(26, $tab2_hl, price($fac->total_ht), 0, 'R', 0);
@@ -682,7 +688,7 @@
     $pdf->SetFont('Arial','B',13);
     $pdf->SetXY($this->marges['g'],$posy);
     $pdf->SetTextColor(0,0,0);
-    $pdf->MultiCell(100, 10, $langs->trans("Bill")." du 
".dolibarr_print_date($fac->date,"%d %B %Y"), '' , 'L');
+    $pdf->MultiCell(100, 10, $langs->trans("Bill").' '.$langs->trans("Of").' 
'.dolibarr_print_date($fac->date,"%d %B %Y"), '' , 'L');
     $pdf->SetFont('Arial','B',11);
     $pdf->SetXY($this->marges['g'],$posy+6);
     $pdf->SetTextColor(22,137,210);
@@ -742,7 +748,7 @@
 
         $ligne="";
         if (defined('MAIN_INFO_CAPITAL') && MAIN_INFO_CAPITAL) {
-            $ligne="SARL au Capital de " . MAIN_INFO_CAPITAL." 
".$langs->trans("Currency".$conf->monnaie);
+            $ligne=$langs->trans('LimitedLiabilityCompanyCapital').' '. 
MAIN_INFO_CAPITAL." ".$langs->trans("Currency".$conf->monnaie);
         }
         if (defined('MAIN_INFO_SIREN') && MAIN_INFO_SIREN) {
             $ligne.=($ligne?" - 
":"").$langs->transcountry("ProfId1",$this->code_pays).": ".MAIN_INFO_SIREN;
@@ -770,7 +776,7 @@
     }
     elseif (MAIN_INFO_TVAINTRA != '') {
       $pdf->SetY(-$footy);
-      $pdf->MultiCell(190, 3,  $langs->trans("TVAIntra")." : 
".MAIN_INFO_TVAINTRA, 0, 'C');
+      $pdf->MultiCell(190, 3,  $langs->trans("IntracommunityVATNumber")." : 
".MAIN_INFO_TVAINTRA, 0, 'C');
     }
 
     $pdf->SetXY(-15,-15);
diff -Nru dolibarr-old/htdocs/includes/modules/facture/pdf_tourteau.modules.php 
dolibarr/htdocs/includes/modules/facture/pdf_tourteau.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/pdf_tourteau.modules.php       
2005-11-11 21:11:58.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/pdf_tourteau.modules.php   
2006-05-10 11:48:24.000000000 +0200
@@ -39,8 +39,14 @@
 
   function pdf_tourteau($db=0)
     { 
+        global $langs;
+                 
+                 $langs->load("main");
+                 $langs->load("bills");
+                 $langs->load("products");
+
         $this->db = $db;
-        $this->description = "Modèle de facture sans remise";
+        $this->description = $langs->trans('PDFTourteauDescription');
 
         // Dimension page pour format A4
         $this->page_largeur = 210;
@@ -212,13 +218,13 @@
              
              $pdf->SetFont('Arial','',8);
              $pdf->SetXY (10, $tab3_top - 6);
-             $pdf->MultiCell(60, 6, "Informations complémentaires", 0, 'L', 0);
+             $pdf->MultiCell(60, 6, $langs->trans("ExtraInfos"), 0, 'L', 0);
              $pdf->SetXY (10, $tab3_top );
-             $pdf->MultiCell(20, 6, "Réglé le", 0, 'L', 0);
+             $pdf->MultiCell(20, 6, $langs->trans("RegulatedOn"), 0, 'L', 0);
              $pdf->SetXY (10, $tab3_top + 6);
-             $pdf->MultiCell(20, 6, "Chèque N°", 0, 'L', 0);
+             $pdf->MultiCell(20, 6, $langs->trans("ChequeNumber"), 0, 'L', 0);
              $pdf->SetXY (10, $tab3_top + 12);
-             $pdf->MultiCell(20, 6, "Banque", 0, 'L', 0);
+             $pdf->MultiCell(20, 6, $langs->trans("Bank"), 0, 'L', 0);
              /*
               *
               */
@@ -231,15 +237,15 @@
                      
                      $pdf->SetXY (10, 40);               
                      $pdf->SetFont('Arial','U',8);
-                     $pdf->MultiCell(40, 4, "Coordonnées bancaire", 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankDetails"), 0, 
'L', 0);
                      $pdf->SetFont('Arial','',8);
-                     $pdf->MultiCell(40, 4, "Code banque : " . 
$account->code_banque, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Code guichet : " . 
$account->code_guichet, 0, 'L', 0);
-                     $pdf->MultiCell(50, 4, "Numéro compte : " . 
$account->number, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Clé RIB : " . $account->cle_rib, 
0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Domiciliation : " . 
$account->domiciliation, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "Prefix IBAN : " . 
$account->iban_prefix, 0, 'L', 0);
-                     $pdf->MultiCell(40, 4, "BIC : " . $account->bic, 0, 'L', 
0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BankCode").' : ' . 
$account->code_banque, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("DeskCode").' : ' . 
$account->code_guichet, 0, 'L', 0);
+                     $pdf->MultiCell(50, 4, 
$langs->trans("BankAccountNumber").' : ' . $account->number, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, 
$langs->trans("BankAccountNumberKey").' : ' . $account->cle_rib, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("Residence").' : ' . 
$account->domiciliation, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("IbanPrefix").' : ' 
. $account->iban_prefix, 0, 'L', 0);
+                     $pdf->MultiCell(40, 4, $langs->trans("BIC").' : ' . 
$account->bic, 0, 'L', 0);
                    }
                }
              
@@ -250,14 +256,14 @@
              
              $pdf->SetFont('Arial','U',12);
              $pdf->SetXY(10, 220);
-             $titre = "Conditions de réglement : 
".$fac->cond_reglement_facture;
+             $titre = $langs->trans("PaymentConditions").' : 
'.$fac->cond_reglement_facture;
              $pdf->MultiCell(190, 5, $titre, 0, 'J');
              
              $pdf->SetFont('Arial','',9);
              $pdf->SetXY(10, 260);
-             $pdf->MultiCell(190, 5, "Numéro de TVA intracommunautaire : 
".MAIN_INFO_TVAINTRA, 0, 'J');
+             $pdf->MultiCell(190, 5, 
$langs->trans("IntracommunityVATNumber").' : '.MAIN_INFO_TVAINTRA, 0, 'J');
 
-             $pdf->MultiCell(190, 5, "Accepte le réglement des sommes dues par 
chèques libellés à mon nom en ma qualité de Membre d'une Association de Gestion 
agréée par l'Administration Fiscale.", 0, 'J');
+             $pdf->MultiCell(190, 5, $langs->trans("PrettyLittleSentence"), 0, 
'J');
 
              $pdf->Close();
              
@@ -266,13 +272,13 @@
            }
          else
            {
-                    $this->error="Erreur: Le répertoire '$dir' n'existe pas et 
Dolibarr n'a pu le créer.";
+                    $this->error=$langs->trans("ErrorCanNotCreateDir",$dir);
                     return 0;
            }
        }
       else
        {
-            $this->error="Erreur: FAC_OUTPUTDIR non défini !";
+            
$this->error=$langs->trans("ErrorConstantNotDefined","FAC_OUTPUTDIR");
             return 0;
        }
     }
@@ -335,7 +341,7 @@
       if (defined("FAC_PDF_TEL"))
        {
          $pdf->SetFont('Arial','',10);
-         $pdf->MultiCell(76, 5, "Tél : ".FAC_PDF_TEL);
+         $pdf->MultiCell(76, 5, $langs->trans('PhoneNumber').' : 
'.FAC_PDF_TEL);
        }  
       if (defined("MAIN_INFO_SIREN"))
        {
@@ -366,8 +372,8 @@
       
       $pdf->SetTextColor(200,0,0);
       $pdf->SetFont('Arial','B',14);
-      $pdf->Text(11, 88, "Date : " . strftime("%d %b %Y", $fac->date));
-      $pdf->Text(11, 94, "Facture : ".$fac->ref);
+      $pdf->Text(11, 88, $langs->trans('Date').' : ' . strftime("%d %b %Y", 
$fac->date));
+      $pdf->Text(11, 94, $langs->trans('Invoice').' : '.$fac->ref);
       
       /*
        */
diff -Nru dolibarr-old/htdocs/includes/modules/facture/terre/terre.modules.php 
dolibarr/htdocs/includes/modules/facture/terre/terre.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/terre/terre.modules.php        
2006-05-08 22:20:23.000000000 +0200
+++ dolibarr/htdocs/includes/modules/facture/terre/terre.modules.php    
2006-05-10 12:46:16.000000000 +0200
@@ -44,7 +44,11 @@
      */
     function info()
     {
-      return "Renvoie le numéro sous la forme ".$this->prefix."yymm-nnnn où yy 
est l'année, mm le mois et nnnn un compteur séquentiel sans rupture et sans 
remise à 0";
+               global $langs;
+
+               $langs->load("bills");
+               
+      return $langs->trans('TerreNumRefModelDesc1',$this->prefix);
     }
 
     /**     \brief      Renvoi un exemple de numérotation
@@ -61,7 +65,11 @@
      */
     function canBeActivated()
     {
-        $fayymm='';
+        global $langs;
+
+                 $langs->load("bills");
+                 
+                 $fayymm='';
         
         $sql = "SELECT MAX(facnumber)";
         $sql.= " FROM ".MAIN_DB_PREFIX."facture";
@@ -77,7 +85,7 @@
         }
         else
         {
-            $this->error='Une facture commençant par $fayymm existe en base et 
est incompatible avec cette numérotation. Supprimer la ou renommer la pour 
activer ce module.';
+            $this->error=$langs->trans('TerreNumRefModelError');
             return false;    
         }
     }
diff -Nru dolibarr-old/htdocs/includes/modules/facture/titan/titan.modules.php 
dolibarr/htdocs/includes/modules/facture/titan/titan.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/titan/titan.modules.php        
2006-05-03 14:40:46.000000000 +0200
+++ dolibarr/htdocs/includes/modules/facture/titan/titan.modules.php    
2006-05-10 12:53:37.000000000 +0200
@@ -44,20 +44,22 @@
      */
 function info()
     {
-       global $conf;
+       global $conf,$langs;
+
+               $langs->load("bills");
        
-      $texte = "Renvoie le numéro sous la forme FAYYNNNNN où YY est l'année et 
NNNNN le numéro d'incrément qui commence à 1.<br>\n";
-      $texte.= "L'année s'incrémente de 1 et le numéro d'incrément se remet à 
zero en début d'année d'exercice.<br>\n";
-      $texte.= "Définir la variable SOCIETE_FISCAL_MONTH_START avec le mois du 
début d'exercice, ex: 9 pour septembre.<br>\n";
-      $texte.= "Dans cette exemple nous aurons au 1er septembre 2006 une 
facture nommée FA0700001.<br>\n";
+      $texte = $langs->trans('TitanNumRefModelDesc1')."<br>\n";
+      $texte.= $langs->trans('TitanNumRefModelDesc2')."<br>\n";
+      $texte.= $langs->trans('TitanNumRefModelDesc3')."<br>\n";
+      $texte.= $langs->trans('TitanNumRefModelDesc4')."<br>\n";
       
       if ($conf->global->SOCIETE_FISCAL_MONTH_START)
       {
-       $texte.= "SOCIETE_FISCAL_MONTH_START est définie et vaut: 
".$conf->global->SOCIETE_FISCAL_MONTH_START."";
+       $texte.= ' ('.$langs->trans('DefinedAndHasThisValue').' : 
'.$conf->global->SOCIETE_FISCAL_MONTH_START;
       }
       else
       {
-       $texte.= "SOCIETE_FISCAL_MONTH_START n'est pas définie.";
+       $texte.= ' ('.$langs->trans('IsNotDefined').')';
       }
       return $texte;
     }
diff -Nru 
dolibarr-old/htdocs/includes/modules/facture/uranus/uranus.modules.php 
dolibarr/htdocs/includes/modules/facture/uranus/uranus.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/uranus/uranus.modules.php      
2005-11-14 19:00:01.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/uranus/uranus.modules.php  
2006-05-10 12:54:55.000000000 +0200
@@ -44,8 +44,12 @@
      */
     function info()
     {
-      return "
-    Renvoie le numéro de facture sous une forme numérique simple, préfixé par 
l'année sur un seul chiffre";
+               global $langs;
+
+               $langs->load("bills");
+
+      return '
+    '.$langs->trans('UranusNumRefModelDesc1');
     }
 
     /*!     \brief      Renvoi un exemple de numérotation
diff -Nru dolibarr-old/htdocs/includes/modules/facture/venus/venus.modules.php 
dolibarr/htdocs/includes/modules/facture/venus/venus.modules.php
--- dolibarr-old/htdocs/includes/modules/facture/venus/venus.modules.php        
2005-11-14 19:00:01.000000000 +0100
+++ dolibarr/htdocs/includes/modules/facture/venus/venus.modules.php    
2006-05-10 12:56:44.000000000 +0200
@@ -42,10 +42,13 @@
      */
     function info()
     {
+          global $langs;
+
+               $langs->load("bills");
 
       return '
-    Renvoie le numéro de facture sous la forme, FA-PREF-030202, où PREF est le 
préfixe commercial de la société, et est suivi de la date sur un format de 6 
digits avec Année, Mois et Jour';
-    
+    '.$langs->trans('VenusNumRefModelDesc1');
+          
     }
 
     /*!     \brief      Renvoi un exemple de numérotation

reply via email to

[Prev in Thread] Current Thread [Next in Thread]